|
|
@ -1,6 +1,6 @@ |
|
|
|
cmake_minimum_required(VERSION 3.5) |
|
|
|
|
|
|
|
project(IflyLogic VERSION 0.1 LANGUAGES CXX) |
|
|
|
project(IflytopCom VERSION 0.1 LANGUAGES CXX) |
|
|
|
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON) |
|
|
|
|
|
|
@ -37,19 +37,19 @@ set(PROJECT_SOURCES |
|
|
|
app.rc |
|
|
|
) |
|
|
|
|
|
|
|
add_executable(IflyLogic WIN32 |
|
|
|
add_executable(IflytopCom WIN32 |
|
|
|
${PROJECT_SOURCES} |
|
|
|
) |
|
|
|
target_link_options(IflyLogic PRIVATE -static -static-libgcc -static-libstdc++) |
|
|
|
target_link_options(IflytopCom PRIVATE -static -static-libgcc -static-libstdc++) |
|
|
|
|
|
|
|
target_link_libraries(IflyLogic PRIVATE Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::SerialPort Qt${QT_VERSION_MAJOR}::Charts Qt${QT_VERSION_MAJOR}::Concurrent wsock32) |
|
|
|
target_link_libraries(IflytopCom PRIVATE Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::SerialPort Qt${QT_VERSION_MAJOR}::Charts Qt${QT_VERSION_MAJOR}::Concurrent wsock32) |
|
|
|
|
|
|
|
set_target_properties(IflyLogic PROPERTIES |
|
|
|
set_target_properties(IflytopCom PROPERTIES |
|
|
|
MACOSX_BUNDLE_GUI_IDENTIFIER my.example.com |
|
|
|
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION} |
|
|
|
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} |
|
|
|
) |
|
|
|
|
|
|
|
if(QT_VERSION_MAJOR EQUAL 6) |
|
|
|
qt_finalize_executable(IflyLogic) |
|
|
|
qt_finalize_executable(IflytopCom) |
|
|
|
endif() |