1 Star 2 Fork 3

六岁小少年/CHelper

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 744 Bytes
一键复制 编辑 原始数据 按行查看 历史
王文杰 提交于 2022-10-14 15:40 . 增加benchmark性能测试
# the minimum version of cmake
cmake_minimum_required(VERSION 3.1)
# set the project name
project(CHelper VERSION 1.0)
# top path
set(TOP_DIR ${CMAKE_CURRENT_LIST_DIR})
# set CHelper output path
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/output/bin)
# set cxx flags
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -std=c++14 -fPIC")
# export compile commands
set(CMAKE_EXPORT_COMPILE_COMMANDS on)
# include library config
include(cmake/glogConfig.cmake)
include(cmake/gtestConfig.cmake)
include(cmake/benchmarkConfig.cmake)
# include src CMakeLists.txt
add_subdirectory(src)
#unit test
if(ENABLE_TESTCASES)
add_subdirectory(tests)
endif()
add_subdirectory(benchmark)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/wwj448/chelper.git
git@gitee.com:wwj448/chelper.git
wwj448
chelper
CHelper
master

搜索帮助