1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00
This commit is contained in:
Barak Diker 2025-03-13 20:16:38 +08:00 committed by GitHub
commit 083af94ce2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,8 @@ project(
LANGUAGES CXX LANGUAGES CXX
) )
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# ---- Include guards ---- # ---- Include guards ----
if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR) if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)

View file

@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.14...3.22)
project(GreeterTests LANGUAGES CXX) project(GreeterTests LANGUAGES CXX)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# ---- Options ---- # ---- Options ----
option(ENABLE_TEST_COVERAGE "Enable test coverage" OFF) option(ENABLE_TEST_COVERAGE "Enable test coverage" OFF)