-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
31 lines (24 loc) · 876 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
cmake_minimum_required( VERSION 3.10 )
project(blind_sandbox)
find_package(raisim CONFIG REQUIRED)
find_package(raisimOgre 0.5.0 CONFIG REQUIRED)
find_package(TensorFlow CONFIG REQUIRED)
if (raisimOgre_FOUND)
message(STATUS "Found raisimOgre!")
endif()
if (TensorFlow_FOUND)
message(STATUS "Found Tensorflow!")
list(APPEND ${PROJECT_NAME}_INCLUDE_DIRS ${TensorFlow_INCLUDE_DIRS})
list(APPEND ${PROJECT_NAME}_LIBRARIES ${TensorFlow_LIBRARIES})
endif()
include_directories(include
${PROJECT_NAME}_INCLUDE_DIRS)
add_executable(test_c100
applications/test_c100.cpp)
target_link_libraries(test_c100
${${PROJECT_NAME}_LIBRARIES} raisim::raisim raisim::raisimOgre)
add_executable(test_c010
applications/test_c010.cpp)
target_link_libraries(test_c010
${${PROJECT_NAME}_LIBRARIES} raisim::raisim raisim::raisimOgre)
# EOF