代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
project(Stacer)
# Adding features(build cache + faster linkers) and reasonable defaults(Debug build by default)
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/cxxbasics/CXXBasics.cmake")
# Setting a cleaner directory structure for the generated binaries
set(CMAKE_BINARY_DIR "${CMAKE_BINARY_DIR}/output")
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/")
set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/lib")
set(PROJECT_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")
# Activating MOC and searching for the Qt5 dependencies
set(CMAKE_AUTOMOC ON)
find_package(Qt5 COMPONENTS Core Gui Widgets Charts Svg Concurrent REQUIRED)
# Setting the minimum C++ standard and passing the Qt-specific define
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_EXTENSIONS YES)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
add_definitions(-DQT_DEPRECATED_WARNINGS)
# Subprojects
add_subdirectory(stacer-core)
add_subdirectory(stacer)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。