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 999B

3 years ago
123456789101112131415161718192021222324252627282930
  1. PROJECT(openvibe-plugins-designer-examples)
  2. FILE(GLOB_RECURSE SRC_FILES src/*.cpp src/*.h src/*.hpp src/*.inl)
  3. ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRC_FILES})
  4. SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES
  5. VERSION ${PROJECT_VERSION}
  6. SOVERSION ${PROJECT_VERSION_MAJOR}
  7. FOLDER ${PLUGINS_FOLDER}
  8. COMPILE_FLAGS "-DOVP_Exports -DOVP_Shared")
  9. SET(INCLUDED_OV_SDK_COMPONENTS MAIN COMMON TOOLKIT EBML SYSTEM XML)
  10. INCLUDE("AddOpenViBESDKComponents")
  11. INCLUDE("FindOpenViBEVisualizationToolkit")
  12. INCLUDE("FindThirdPartyGTK")
  13. # ---------------------------------
  14. # Target macros
  15. # Defines target operating system, architecture and compiler
  16. # ---------------------------------
  17. SET_BUILD_PLATFORM()
  18. # -----------------------------
  19. # Install files
  20. # -----------------------------
  21. INSTALL(TARGETS ${PROJECT_NAME}
  22. RUNTIME DESTINATION ${DIST_BINDIR}
  23. LIBRARY DESTINATION ${DIST_LIBDIR}
  24. ARCHIVE DESTINATION ${DIST_LIBDIR})
  25. INSTALL(DIRECTORY box-tutorials DESTINATION ${DIST_DATADIR}/openvibe/scenarios/)