From 39f2674fd5d3155bb6809d9801287e9d5db2aaa3 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Wed, 13 Mar 2024 11:48:15 +0800 Subject: [PATCH] change project name --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 831a443..092d608 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.5) -project(CameraLightingController VERSION 0.1 LANGUAGES CXX) +project(zmodbus_upper_computer VERSION 0.1 LANGUAGES CXX) set(CMAKE_INCLUDE_CURRENT_DIR ON) @@ -44,19 +44,19 @@ set(PROJECT_SOURCES ) -add_executable(CameraLightingController WIN32 +add_executable(zmodbus_upper_computer WIN32 ${PROJECT_SOURCES} ) -target_link_options(CameraLightingController PRIVATE -static -static-libgcc -static-libstdc++) +target_link_options(zmodbus_upper_computer PRIVATE -static -static-libgcc -static-libstdc++) -target_link_libraries(CameraLightingController 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(zmodbus_upper_computer 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(CameraLightingController PROPERTIES +set_target_properties(zmodbus_upper_computer 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(CameraLightingController) + qt_finalize_executable(zmodbus_upper_computer) endif()