ESGRAF48/source/CMakeLists.txt

58 lines
922 B
CMake
Raw Normal View History

2018-05-10 16:41:14 +00:00
cmake_minimum_required(VERSION 3.6)
project(LogoTest LANGUAGES CXX)
find_package(Qt5Widgets REQUIRED)
set(CMAKE_AUTOMOC ON)
2018-05-18 18:12:48 +00:00
set(CMAKE_AUTORCC ON)
2018-05-10 16:41:14 +00:00
2018-05-23 16:52:13 +00:00
qt5_wrap_ui(LOGO_TEST_UI
2018-05-10 16:41:14 +00:00
mainwindow.ui
)
2018-05-18 18:36:48 +00:00
2018-05-23 16:52:13 +00:00
qt5_add_resources(LOGO_TEST_QRC
2018-05-18 18:36:48 +00:00
mainwindow.qrc
2018-05-18 18:12:48 +00:00
)
2018-05-10 16:41:14 +00:00
add_executable(${PROJECT_NAME}
LogoTest.cpp
2018-05-16 05:02:12 +00:00
DataModel.cpp
2018-05-10 16:41:14 +00:00
mainwindow.cpp
2018-06-09 11:13:00 +00:00
Age.cpp
2018-05-23 16:52:13 +00:00
${LOGO_TEST_UI}
${LOGO_TEST_QRC}
2018-05-10 16:41:14 +00:00
)
set_target_properties(${PROJECT_NAME}
PROPERTIES CXX_STANDARD 14
)
2018-05-10 16:41:14 +00:00
target_include_directories(${PROJECT_NAME}
PRIVATE
2018-05-17 18:04:42 +00:00
${CMAKE_CURRENT_LIST_DIR}
2018-05-10 16:41:14 +00:00
${CMAKE_CURRENT_BINARY_DIR}
)
target_link_libraries(${PROJECT_NAME}
PRIVATE
CheckableItem
CheckableTest
CheckableTestModel
2018-05-18 18:36:48 +00:00
MetaData
2018-05-23 16:43:57 +00:00
VerbEnd
2018-06-04 16:48:58 +00:00
Plural
2018-05-20 17:13:18 +00:00
Genus
ResultWidget
2018-05-10 16:41:14 +00:00
Qt5::Widgets
)
2018-05-18 18:36:48 +00:00
2018-05-24 06:16:04 +00:00
add_subdirectory(CheckableItem)
add_subdirectory(CheckableTest)
add_subdirectory(CheckableTestModel)
2018-05-24 06:16:04 +00:00
2018-05-18 18:36:48 +00:00
add_subdirectory(MetaData)
2018-06-04 16:23:51 +00:00
add_subdirectory(SubTests)
add_subdirectory(ResultWidget)