Files
cpp-project-template/CMakeLists.txt

17 lines
392 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.10)
project(demo LANGUAGES C CXX)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
endif()
2025-08-19 18:59:22 +08:00
include(cmake/generic.cmake)
add_subdirectory(third_party/oatpp)
add_subdirectory(third_party/googletest)
add_subdirectory(third_party/benchmark)
enable_testing()
2025-08-19 18:59:22 +08:00
cc_test(calc_test SRCS src/calc_test.cc DEPS)
cc_benchmark(calc_benchmark SRCS src/calc_benchmark.cc DEPS)