2018-05-24 18:35:16 +00:00
|
|
|
cmake_minimum_required(VERSION 3.6)
|
|
|
|
|
|
|
|
project(CheckableTestModel LANGUAGES CXX)
|
|
|
|
|
|
|
|
find_package(Qt5Core 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}
|
2019-02-03 18:53:51 +00:00
|
|
|
PUBLIC
|
2018-05-24 18:35:16 +00:00
|
|
|
CheckableItem
|
|
|
|
CheckableTest
|
2019-02-03 18:53:51 +00:00
|
|
|
PRIVATE
|
2018-05-24 18:35:16 +00:00
|
|
|
Qt5::Core
|
|
|
|
)
|