-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathCMakeLists.txt
45 lines (40 loc) · 1003 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
cmake_minimum_required(VERSION 2.8)
#add_definitions(-g)
#add_definitions(-w)
include_directories(.)
include_directories(./common)
include_directories(./fluids)
#list all source files here
add_executable( fluids_v3
main.cpp
common/camera3d.cpp
common/geomx.cpp
common/gl_helper.cpp
common/image.cpp
common/matrix.cpp
common/mdebug.cpp
common/mesh.cpp
common/mtime.cpp
common/particle.cpp
common/pivotx.cpp
common/point_set.cpp
common/tinystr.cpp
common/tinyxml.cpp
common/tinyxmlerror.cpp
common/tinyxmlparser.cpp
common/utilities.cpp
common/vector.cpp
common/xml_settings.cpp
fluids/bank_checker.cpp
fluids/cmd_arg_reader.cpp
fluids/cutil.cpp
fluids/fluid.cpp
fluids/fluid_system.cpp
)
target_link_libraries(fluids_v3 GL)
target_link_libraries(fluids_v3 GLU)
target_link_libraries(fluids_v3 glut)
target_link_libraries(fluids_v3 Cg)
target_link_libraries(fluids_v3 CgGL)
target_link_libraries(fluids_v3 GLee)
target_link_libraries(fluids_v3 OpenCL)