2023-04-28 22:25:29 +02:00
|
|
|
cmake_minimum_required(VERSION 3.24)
|
|
|
|
|
project(prodejna-root)
|
|
|
|
|
|
2026-10-12 16:29:23 +02:00
|
|
|
include(CTest)
|
|
|
|
|
option(ENABLE_ZINT "Enable LimeReport barcode support" ON)
|
|
|
|
|
|
|
|
|
|
find_package(Qt6 6.11.2 REQUIRED COMPONENTS Core Core5Compat Test Gui Widgets PrintSupport Sql Qml Network Xml Svg)
|
|
|
|
|
|
|
|
|
|
set(CMAKE_POLICY_VERSION_MINIMUM 3.10)
|
|
|
|
|
|
2023-04-28 22:25:29 +02:00
|
|
|
add_subdirectory(3rdparty/qdecimal)
|
|
|
|
|
add_subdirectory(3rdparty/QxOrm)
|
|
|
|
|
add_subdirectory(3rdparty/LimeReport)
|
|
|
|
|
|
|
|
|
|
add_subdirectory(core)
|
|
|
|
|
add_subdirectory(application)
|
|
|
|
|
add_subdirectory(countryregister)
|
|
|
|
|
add_subdirectory(addressbook)
|
|
|
|
|
add_subdirectory(postregister)
|
|
|
|
|
add_subdirectory(services)
|
|
|
|
|
add_subdirectory(shop)
|
|
|
|
|
add_subdirectory(commodity)
|
|
|
|
|
add_subdirectory(camp)
|
|
|
|
|
|
2026-10-12 16:29:23 +02:00
|
|
|
if(BUILD_TESTING)
|
|
|
|
|
add_subdirectory(tests)
|
|
|
|
|
endif()
|
|
|
|
|
|