This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
ESGRAF48/source/CMakeLists.txt

63 lines
1011 B
CMake
Raw Normal View History

2018-05-10 16:41:14 +00:00
cmake_minimum_required(VERSION 3.6)
2018-06-26 12:12:07 +00:00
project(ESGRAF48 LANGUAGES CXX)
2018-05-10 16:41:14 +00:00
find_package(Qt5Widgets REQUIRED)
find_package(Qt5PrintSupport REQUIRED)
2018-05-10 16:41:14 +00:00
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} WIN32
2018-05-10 16:41:14 +00:00
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
2018-06-16 15:54:27 +00:00
AkkusativDativ
2018-06-25 21:04:32 +00:00
V2Svk
LateSkills
2018-06-16 15:54:27 +00:00
ResultWidget
2018-05-10 16:41:14 +00:00
Qt5::Widgets
Qt5::PrintSupport
2018-05-10 16:41:14 +00:00
)
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)