Skip to content

Commit 567d33f

Browse files
committed
update gcov code.
1 parent 5e52780 commit 567d33f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/PSS_ASIO.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ jobs:
8383
echo "[lcov]********************End"
8484
8585
# echo "gcov********************"
86-
# cd ${{github.workspace}}
87-
# pwd
88-
# gcovr --sonarqube > coverage.xml
89-
# ls -la coverage.xml
86+
cd ${{github.workspace}}
87+
pwd
88+
gcovr --sonarqube > coverage.xml
89+
ls -la coverage.xml
9090
echo "gcov********************Begin"
9191
cd ${{github.workspace}}/Build/Linux/
9292
pwd

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ project(PSS_alpha)
88
if(UNIX)
99
#linux
1010
include(CheckCXXCompilerFlag)
11-
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
12-
if(COMPILER_SUPPORTS_CXX11)
13-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
11+
CHECK_CXX_COMPILER_FLAG("-std=c++17" COMPILER_SUPPORTS_CXX17)
12+
if(COMPILER_SUPPORTS_CXX17)
13+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
1414
endif()
1515

1616
#message("[pss build]build jemalloc begin")

0 commit comments

Comments
 (0)