2017-09-05 18:07:05 +08:00
|
|
|
##SOURCES
|
2017-09-15 12:46:07 +08:00
|
|
|
include (${CMAKE_SOURCE_DIR}/cmake/function.cmake)
|
2017-09-05 18:07:05 +08:00
|
|
|
|
|
|
|
set(SUBPROJECT_NAME qqtframe)
|
|
|
|
|
|
|
|
file(GLOB SOURCES "*.cpp")
|
|
|
|
add_executable(${SUBPROJECT_NAME} ${SOURCES})
|
|
|
|
|
2017-09-15 12:46:07 +08:00
|
|
|
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
|
2017-09-05 18:07:05 +08:00
|
|
|
${PROJECT_SOURCE_DIR}/src/frame
|
2017-09-15 12:46:07 +08:00
|
|
|
${PROJECT_SOURCE_DIR}/src/pluginwatcher
|
|
|
|
${PROJECT_SOURCE_DIR}/src/printsupport
|
2017-09-05 18:07:05 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(${SUBPROJECT_NAME} QQt)
|
|
|
|
|
|
|
|
##BUILDING
|
|
|
|
#load qt5 librariess
|
2017-09-15 12:46:07 +08:00
|
|
|
link_qt_libraries(${SUBPROJECT_NAME})
|
2017-09-05 18:07:05 +08:00
|
|
|
|
|
|
|
install( TARGETS ${SUBPROJECT_NAME}
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
LIBRARY DESTINATION lib
|
|
|
|
ARCHIVE DESTINATION lib
|
|
|
|
)
|