代码拉取完成,页面将自动刷新
同步操作将从 码蚁丶/SerialWizard 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
cmake_minimum_required(VERSION 3.16)
project(SerialWizard)
set(CMAKE_CXX_STANDARD 20)
#set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin)
set(CMAKE_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_RELEASE} -fprofile-arcs -ftest-coverage")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(QT_DIR C:/Qt/Qt5.14.2/5.14.2/mingw73_32)
set(CMAKE_PREFIX_PATH ${QT_DIR} C:/Qt/Qt5.14.2/)
find_package(Qt5Widgets)
find_package(Qt5Core)
get_target_property(QtCore_location Qt5::Core LOCATION)
set_target_properties(Qt5::Core PROPERTIES MAP_IMPORTED_CONFIG_COVERAGE "RELEASE")
link_directories(${QT_DIR}/lib C:/Qt/Qt5.14.2/Tools/mingw730_32/lib)
foreach (plugin ${Qt5Network_PLUGINS})
get_target_property(_loc ${plugin} LOCATION)
message("Plugin ${plugin} is at location ${_loc}")
endforeach ()
set(SOURCE_FILES
main.cpp
MainWindow.cpp
MainWindow.h
CalculateCheckSumDialog.cpp
CalculateCheckSumDialog.h
ConvertDataDialog.cpp
ConvertDataDialog.h
FrameInfoDialog.cpp
FrameInfoDialog.h
global.cpp
global.h
data/AbstractReadWriter.cpp
data/AbstractReadWriter.h
data/SerialReadWriter.cpp
data/SerialReadWriter.h
data/TcpServerReadWriter.cpp
data/TcpServerReadWriter.h
data/BridgeReadWriter.cpp
data/BridgeReadWriter.h
serial/SerialController.cpp
serial/SerialController.h
serial/LineSerialController.cpp
serial/LineSerialController.h
data/TcpClientReadWriter.cpp
data/TcpClientReadWriter.h
data/SerialBridgeReadWriter.cpp
data/SerialBridgeReadWriter.h
DataProcessDialog.cpp
DataProcessDialog.h
utils/FileUtil.cpp
utils/FileUtil.h
)
#add_executable(SerialWizard ${SOURCE_FILES})
add_executable(SerialWizard WIN32 ${SOURCE_FILES})
qt5_use_modules(SerialWizard Widgets Core SerialPort Network)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。