You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 825B

3 years ago
123456789101112131415161718
  1. #######################################################################
  2. # Software License Agreement : GNU Affero General Public License v3.0
  3. # https://choosealicense.com/licenses/agpl-3.0/
  4. #######################################################################
  5. PROJECT(ov-base-test)
  6. FILE(GLOB_RECURSE SRC_FILES *.cpp *.hpp)
  7. ADD_EXECUTABLE(${PROJECT_NAME} ${SRC_FILES})
  8. SET_BUILD_PLATFORM() # Default build Platform
  9. INCLUDE("FindOpenViBE") # Find OpenViBE base includes and library
  10. INCLUDE("FindOpenViBECommon") # Find OpenViBE Common includes and library
  11. SET_PROPERTY(TARGET ${PROJECT_NAME} PROPERTY FOLDER ${TESTS_FOLDER}) # Place project in folder unit-test (for some IDE)
  12. TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${GTEST_BOTH_LIBRARIES}) # Add google Test
  13. ADD_TEST(NAME base COMMAND ${PROJECT_NAME})