dotherside/test/CMakeLists.txt

29 lines
795 B
CMake
Raw Normal View History

project(TestDynamicQObject)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
include_directories(${CMAKE_SOURCE_DIR}/lib/include ${CMAKE_SOURCE_DIR}/lib/include/Qt)
find_package(Qt5Core REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5Test REQUIRED)
find_package(Qt5Quick REQUIRED)
2016-06-18 18:16:26 +00:00
find_package(Qt5QuickTest REQUIRED)
2016-06-19 09:46:47 +00:00
add_executable(${PROJECT_NAME} Resources.qrc
test_dotherside.cpp
2018-11-28 21:55:26 +00:00
MockQObject.h
2016-06-19 09:46:47 +00:00
MockQObject.cpp
2018-11-28 21:55:26 +00:00
MockQAbstractItemModel.h
MockQAbstractItemModel.cpp
2016-06-19 09:46:47 +00:00
Global.h
main.qml
testQObject.qml
testQAbstractItemModel.qml
2016-06-21 21:15:58 +00:00
testQDeclarative.qml
2016-06-19 09:46:47 +00:00
)
2016-06-07 20:52:29 +00:00
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14)
target_link_libraries(${PROJECT_NAME} DOtherSideStatic Qt5::Quick Qt5::Widgets Qt5::Test Qt5::Core)