From 5357ad7c611fc400ebdcb5630c3f38eeee4d5183 Mon Sep 17 00:00:00 2001 From: injae <8687lee@gmail.com> Date: Mon, 1 Jan 2024 18:05:53 +0900 Subject: [PATCH] update cppm.toml and remove gcc debug flags --- CMakeLists.txt | 1 - cppm.toml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f4aee40..d2e53ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,6 @@ cppm_cxx_standard(17) cppm_compiler_option( DEBUG CLANG "-fprofile-instr-generate -fcoverage-mapping --coverage" - GCC "--coverage -fno-inline -fno-inline-small-functions -fno-default-inline" ) find_cppkg(benchmark 1.5.2 MODULE benchmark::benchmark TYPE lib OPTIONAL OFF) diff --git a/cppm.toml b/cppm.toml index 167eca1..70ff3c4 100644 --- a/cppm.toml +++ b/cppm.toml @@ -8,7 +8,7 @@ # include=["cmake/Lua.cmake"] [profile.dev.compiler] - clang = "-fprofile-instr-generate -fcoverage-mapping" + clang = "-fprofile-instr-generate -fcoverage-mapping --coverage" [lib] name = "serdepp" @@ -93,7 +93,7 @@ source = ["tests/.*"] nameof = { version="0.10.0", link="public"} magic_enum = { version= "0.7.3", link="public"} fmt = {version="8.0.1", link="public", optional=true} - yaml-cpp = { version="0.7.0", link="public", optional=true} + yaml-cpp = { version="0.6.3", link="public", optional=true} toml11 = { version="3.7.0", link="public", optional=true} nlohmann_json = { version="3.10.5", link="public", optional=true} RapidJSON = { version="1.1.1", link="public", optional=true}