Warning, /education/marble/examples/cpp/marbleQuick2/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 SET (TARGET marbleQuick2) 0002 PROJECT (${TARGET}) 0003 0004 include_directories( 0005 ${CMAKE_CURRENT_SOURCE_DIR} 0006 ${CMAKE_CURRENT_BINARY_DIR} 0007 ) 0008 0009 set( ${TARGET}_SRC main.cpp) 0010 0011 qt5_add_resources(marble_QRCS marbleQuick2.qrc) 0012 add_executable( ${TARGET} ${${TARGET}_SRC} ${marble_QRCS} ) 0013 0014 target_link_libraries( ${TARGET} 0015 marblewidget 0016 marbledeclarative 0017 ) 0018 0019 # TODO: marbledeclarative is a private lib currently, not a plugin, and headers are not installed 0020 # so do not install this example for now 0021 return() 0022 0023 0024 add_custom_command(TARGET ${TARGET} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different 0025 ${CMAKE_CURRENT_SOURCE_DIR}/main.qml 0026 ${CMAKE_CURRENT_BINARY_DIR} 0027 ) 0028 0029 install( TARGETS ${TARGET} RUNTIME DESTINATION ${MARBLE_EXAMPLES_INSTALL_DIR}/${TARGET} ) 0030 install( FILES ${${TARGET}_SRC} main.qml Readme.txt DESTINATION ${MARBLE_EXAMPLES_INSTALL_DIR}/${TARGET} ) 0031 install( FILES CMakeLists.txt.external DESTINATION ${MARBLE_EXAMPLES_INSTALL_DIR}/${TARGET} RENAME CMakeLists.txt )