ESGRAF48/source/CheckableTestModel/CMakeLists.txt

28 lines
470 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.6)
project(CheckableTestModel LANGUAGES CXX)
find_package(Qt5Core REQUIRED)
2018-12-08 20:02:35 +00:00
find_package(Qt5Gui REQUIRED)
add_library(${PROJECT_NAME}
CheckableTestModel.cpp
)
set_target_properties(${PROJECT_NAME}
PROPERTIES CXX_STANDARD 14
)
target_include_directories(${PROJECT_NAME}
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
)
target_link_libraries(${PROJECT_NAME}
PRIVATE
CheckableItem
CheckableTest
Qt5::Core
2018-12-08 20:02:35 +00:00
Qt5::Gui
)