Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou committed Sep 20, 2024
1 parent b1ff1ef commit bbc2706
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ message("cmake using: USE_CPP11=${USE_CPP11}")


set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
if(NOT WIN32)
# enable address sanitizer default
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -g")
endif()

if(DEFINED ENV{CXX})
set(CMAKE_CXX_COMPILER $ENV{CXX})
Expand Down
5 changes: 0 additions & 5 deletions cpp/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ if (${COV_ENABLED})
add_compile_options(-fprofile-arcs -ftest-coverage)
endif ()

if(NOT WIN32)
# enable address sanitizer default
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -g")
endif()

add_executable(TsFile_Test ${TEST_SRCS})
target_link_libraries(
TsFile_Test
Expand Down

0 comments on commit bbc2706

Please sign in to comment.