3 Star 0 Fork 0

mirrors_sisong/msufsort

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 643 Bytes
一键复制 编辑 原始数据 按行查看 历史
michael 提交于 2020-11-15 21:09 . update cmake
cmake_minimum_required(VERSION 3.16.3)
project(msufsort)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
message("*** Build type not set. defaulting to Release")
endif()
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
add_compile_options(
-g
-O0
-march=native
)
else()
add_compile_options(
-O3
-march=native
)
endif()
option(MSUFSORT_BUILD_DEMO "Build the CLI demo" OFF)
add_subdirectory(src)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_sisong/msufsort.git
git@gitee.com:mirrors_sisong/msufsort.git
mirrors_sisong
msufsort
msufsort
master

搜索帮助