You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
CMake
40 lines
1.1 KiB
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
if(NOT packet_export_name)
|
|
set(packet_export_name "LowKBase")
|
|
endif()
|
|
|
|
#find_package(gem200)
|
|
find_package(Qt5 COMPONENTS Gui Widgets REQUIRED)
|
|
set(library_name "ctrls_common")
|
|
|
|
set(linked_library LowKBase::common_base system_external logic_interface Qt5::Gui Qt5::Widgets)
|
|
|
|
set(CMAKE_AUTOUIC ON)
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(PROJECT_VERSION_MAJOR 2)
|
|
set(PROJECT_VERSION_MINOR 1)
|
|
set(PROJECT_VERSION_PATCH 1)
|
|
set(version_info ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
|
|
|
set(config_utils_path ${CMAKE_CURRENT_SOURCE_DIR}/../utils)
|
|
|
|
include(files.cmake)
|
|
#qt5_wrap_ui(gen_ui_src ${ui_files})
|
|
#set(src_files ${src_files} ${gen_ui_src})
|
|
if (DEFINED Copy_Solution)
|
|
include(${config_utils_path}/base.cmake)
|
|
else()
|
|
include(base.cmake)
|
|
endif()
|
|
|
|
|
|
|
|
#set_property(SOURCE def_logic.h.cpp PROPERTY COMPILE_FLAGS "-Yudef_logic.h")
|
|
#target_precompile_headers(${library_name} PUBLIC D:/Projects/Lowk-New/LowK/lasercut-common/src/logic/def_logic.h)
|
|
#set_target_properties(${library_name} PROPERTIES COMPILE_FLAGS "-Yudef_logic.h")
|
|
|
|
|