mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-23 16:22:58 +03:00
26 lines
546 B
CMake
26 lines
546 B
CMake
project(demo_r1)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTOUIC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(PROJECT_SOURCES
|
|
main.cpp
|
|
mainwindow.cpp
|
|
mainwindow.h
|
|
mainwindow.ui
|
|
r1.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}
|
|
)
|
|
|