代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 3.5)
project(ros_qt5_gui_app VERSION 0.0.1)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake;${CMAKE_MODULE_PATH}")
get_filename_component(PROJECT_ROOT "${CMAKE_CURRENT_LIST_DIR}" ABSOLUTE)
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=return-type")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=return-type")
endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_INSTALL_PREFIX ./install)
# options
option(BUILD_WITH_CHANNEL_AUTO ON)
option(BUILD_WITH_CHANNEL_ROS1 OFF)
option(BUILD_WITH_CHANNEL_ROS2 OFF)
option(BUILD_WITH_CHANNEL_PROTOBUF OFF)
option(BUILD_WITH_TEST OFF)
set(BUILD_WITH_CHANNEL_AUTO ON)
enable_testing()
# 依赖
set(QT_VERSION_MAJOR 5)
set(VERSION_SHORT "0.0.1")
set(BUILD_STATIC TRUE)
set(BUILD_EXAMPLES OFF)
add_subdirectory(3rdpart/dockWidget)
add_subdirectory(3rdpart/JsonStruct)
add_subdirectory(3rdpart/yaml-cpp)
# modules
add_subdirectory(common)
add_subdirectory(basic)
add_subdirectory(channel)
add_subdirectory(plugin)
add_subdirectory(mainwindow)
add_subdirectory(core)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。