diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..6bfef7b --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,32 @@ +cmake_minimum_required(VERSION 3.16) +LIST( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/submodules/cmake ) +include(projectheader) +project_header(datamodels) + +find_package(Qt5 "5.15.0" COMPONENTS Core CONFIG REQUIRED ) + +include_directories( SYSTEM + ${Qt5Core_INCLUDE_DIRS} +} + +include(compiler) + +set( SRC_LIST +) + +include(qtmoc) +create_mocs( SRC_LIST MOC_LIST +) + +link_directories( + ${CMAKE_BINARY_DIR}/lib +) + +include(library) +add_libraries( + ${Qt5Core_LIBRARIES} +) + + +include(installation) +install_component()