1 Star 0 Fork 2

navybluebear/JKQtPlotter

forked from xmlhh/JKQtPlotter 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
jkriege2 提交于 2020-06-28 15:53 . improvements in CMake setup:
cmake_minimum_required(VERSION 3.0)
# Project Name and Version
# starting from 2020: using semantic version number <major>.<minor>.<patch>
# - bugfixes which do not change the API/ABI lead to an increase in <patch>
# - backward-compatible API/ABI-changes mean an increasing <minor> version
# - NON backward-compatible API/ABI-changes mean an increasing <major> version
# relation to older versioning scheme:
# - v2015.10 <--> 1.0.0
# - v2018.08 <--> 2.0.0
# - v2019.11 <--> 3.x.y
# ==> sematic versioning starts with 4.0.0
project(JKQTPlotter LANGUAGES CXX VERSION 4.0.0)
# set search path for CMake files
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
# Find includes in the build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Common Includes for JKQtPlotter
include(jkqtplotter_common_include)
# Project Name and Version
include(jkqtplotter_lib_properties)
# CMake options with default values and description texts
include(jkqtplotter_cmake_options)
# compiler settings for this lib
include(jkqtplotter_common_compilersettings)
# include Qt with appropriate options to build this lib
include(jkqtplotter_common_qtsettings)
# now add subdirectories with the library code ...
add_subdirectory(lib)
# ... and optionally the examples
if(JKQtPlotter_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/navybluebear/JKQtPlotter.git
git@gitee.com:navybluebear/JKQtPlotter.git
navybluebear
JKQtPlotter
JKQtPlotter
master

搜索帮助