Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 2.4.6)
- #set the default path for built executables to the "bin" directory
- set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
- #set the default path for built libraries to the "lib" directory
- set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
- include_directories( "include/" )
- include_directories( "eigen/" )
- #link_directories( ${PROJECT_SOURCE_DIR}/lib )
- # Make the external lwr_policy lib
- add_library(lwr_policy
- src/lwr_parameters.cpp
- src/policy.cpp
- src/lwr_policy.cpp
- src/lwr_model.cpp
- )
- FIND_PACKAGE(Boost COMPONENTS filesystem)
- FIND_PACKAGE(gtest)
- target_link_libraries(lwr_policy gtest)
- target_link_libraries(lwr_policy boost_filesystem)
- # Make the test program for the external lib
- #add_executable(lwr_test
- # test/lwr_policy_test.cpp
- #)
- #target_link_libraries(lwr_test lwr_policy)
Add Comment
Please, Sign In to add comment