0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-02 03:53:19 +03:00

cmake: add options ENABLE_DIALOG_DESIGNER and HAVE_UI_LOADER

This commit is contained in:
jihadist
2024-10-13 21:41:33 +03:00
parent 731c05454d
commit fd6974ca65
6 changed files with 126 additions and 13 deletions

25
demo_r2/CMakeLists.txt Normal file
View File

@@ -0,0 +1,25 @@
project(demo_r2)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
set(PROJECT_SOURCES
main.cpp
mainwindow.cpp
mainwindow.h
mainwindow.ui
demo_r2.qrc
)
add_executable(${PROJECT_NAME} main.cpp ${PROJECT_SOURCES})
target_link_libraries(${PROJECT_NAME} PRIVATE
Qt${QT_VERSION_MAJOR}::Core
Qt${QT_VERSION_MAJOR}::Widgets
Qt${QT_VERSION_MAJOR}::PrintSupport
Qt${QT_VERSION_MAJOR}::Qml
Qt${QT_VERSION_MAJOR}::Sql
limereport-qt${QT_VERSION_MAJOR}
)