|
123456789101112131415161718192021 |
- PROJECT(xml-configuration-comparison)
-
- SET(PROJECT_VERSION_MAJOR ${OV_GLOBAL_VERSION_MAJOR})
- SET(PROJECT_VERSION ${OV_GLOBAL_VERSION_STRING})
-
- FILE(GLOB_RECURSE SRC_FILES *.cpp *.hpp)
- ADD_EXECUTABLE(${PROJECT_NAME} ${SRC_FILES})
- SET_PROPERTY(TARGET ${PROJECT_NAME} PROPERTY FOLDER ${APP_FOLDER})
-
- # ----------------------
- # Generate launch script
- # ----------------------
- OV_INSTALL_LAUNCH_SCRIPT(SCRIPT_PREFIX "${PROJECT_NAME}" EXECUTABLE_NAME "${PROJECT_NAME}")
-
- # -----------------------------
- # Install files
- # -----------------------------
- INSTALL(TARGETS ${PROJECT_NAME}
- RUNTIME DESTINATION ${DIST_BINDIR}
- LIBRARY DESTINATION ${DIST_LIBDIR}
- ARCHIVE DESTINATION ${DIST_LIBDIR})
|