diff options
| author | “pengxuanzheng” <[email protected]> | 2022-05-26 06:47:18 +0000 |
|---|---|---|
| committer | “pengxuanzheng” <[email protected]> | 2022-05-26 06:55:55 +0000 |
| commit | ee309eda8ad5068aa1abe84a194c5906069d4160 (patch) | |
| tree | e4505edce42eb1bcd8650019b95298e1331ffb3e /CMakeLists.txt | |
| parent | 74ab7f976087c3f99735e602fff9c497e7223400 (diff) | |
✨ feat: 生成代码覆盖率feature-gcov
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 75dba50..8f5c7a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,8 +8,7 @@ include(Version) set(CMAKE_MACOSX_RPATH 0) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -fprofile-arcs -ftest-coverage") set(CMAKE_INSTALL_PREFIX /opt/MESA) set(LUAJIT_INSTALL_PREFIX /usr/local) |
