-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
29 lines (24 loc) · 878 Bytes
/
CMakeLists.txt
File metadata and controls
29 lines (24 loc) · 878 Bytes
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
request_dependency(omegaOsg)
module_version(1.9)
add_definitions(-DOSGWORKS_STATIC)
include_directories(.)
include_directories(${OSG_INCLUDES})
include_directories(${OSGBULLET_INCLUDES})
add_subdirectory(src)
if(OMEGA_BUILD_EXAMPLES)
add_subdirectory(examples/cyhello2)
if(MODULES_omegaOsgEarth)
add_subdirectory(examples/helloEarth)
endif()
endif()
#-------------------------------------------------------------------------------
# Install commands
install(DIRECTORY common DESTINATION omegalib/cyclops)
install(DIRECTORY test DESTINATION omegalib/cyclops)
install(DIRECTORY examples/python/ DESTINATION omegalib/examples)
if(WIN32)
install(FILES orun.bat DESTINATION omegalib)
install(FILES physics.bat DESTINATION omegalib)
install(FILES spincube.bat DESTINATION omegalib)
endif()
set_target_properties(cyclops PROPERTIES FOLDER modules)