1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/examples/qqtframe/CMakeLists.txt
2017-09-15 12:46:07 +08:00

33 lines
774 B
CMake

##SOURCES
include (${CMAKE_SOURCE_DIR}/cmake/function.cmake)
set(SUBPROJECT_NAME qqtframe)
file(GLOB SOURCES "*.cpp")
add_executable(${SUBPROJECT_NAME} ${SOURCES})
include_directories(
${PROJECT_SOURCE_DIR}/src
${PROJECT_SOURCE_DIR}/src/core
${PROJECT_SOURCE_DIR}/src/sql
${PROJECT_SOURCE_DIR}/src/network
${PROJECT_SOURCE_DIR}/src/customplot
${PROJECT_SOURCE_DIR}/src/gui
${PROJECT_SOURCE_DIR}/src/widgets
${PROJECT_SOURCE_DIR}/src/frame
${PROJECT_SOURCE_DIR}/src/pluginwatcher
${PROJECT_SOURCE_DIR}/src/printsupport
)
target_link_libraries(${SUBPROJECT_NAME} QQt)
##BUILDING
#load qt5 librariess
link_qt_libraries(${SUBPROJECT_NAME})
install( TARGETS ${SUBPROJECT_NAME}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)