Fix CMake build

* Add missing source files to the project
* Add LRDesigner to the project
* Fix qzint build
This commit is contained in:
MultiMote
2022-01-26 21:18:28 +03:00
parent 4991c5d782
commit c965d7725a
3 changed files with 77 additions and 53 deletions

18
designer/CMakeLists.txt Normal file
View File

@@ -0,0 +1,18 @@
set(CMAKE_AUTOMOC ON)
set(LRDESIGNER_FILES
designersettingmanager.h
designersettingmanager.cpp
main.cpp
mainicon.rc
)
add_executable(LRDesigner ${LRDESIGNER_FILES})
target_include_directories(LRDesigner PUBLIC ${PROJECT_SOURCE_DIR}/include)
target_link_libraries(LRDesigner PUBLIC
Qt${QT_VERSION_MAJOR}::Core
Qt${QT_VERSION_MAJOR}::Widgets
${PROJECT_NAME}
)