1 Star 0 Fork 0

webdevelop/Stacer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 968 Bytes
一键复制 编辑 原始数据 按行查看 历史
Oguzhan INAN 提交于 2018-03-10 23:22 . updated the release steps
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)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/webdevelop/Stacer.git
git@gitee.com:webdevelop/Stacer.git
webdevelop
Stacer
Stacer
native

搜索帮助

0d507c66 1850385 C8b1a773 1850385