File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
5
5
#============================================================================
6
6
project (gz-rendering7 VERSION 7.2.0)
7
7
8
+ set ( CMAKE_C_FLAGS
9
+ "${CMAKE_C_FLAGS} -fno-omit-frame-pointer -fno-optimize-sibling-calls -fsanitize=address" )
10
+ set ( CMAKE_CXX_FLAGS
11
+ "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -fno-optimize-sibling-calls -fsanitize=address" )
12
+ set ( CMAKE_LINKER_FLAGS
13
+ "${CMAKE_LINKER_FLAGS} -fsanitize=address" )
14
+
8
15
#============================================================================
9
16
# Find gz-cmake
10
17
#============================================================================
Original file line number Diff line number Diff line change
1
+ set ( CMAKE_C_FLAGS
2
+ "${CMAKE_C_FLAGS} -fno-omit-frame-pointer -fno-optimize-sibling-calls -fsanitize=address" )
3
+ set ( CMAKE_CXX_FLAGS
4
+ "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -fno-optimize-sibling-calls -fsanitize=address" )
5
+ set ( CMAKE_LINKER_FLAGS
6
+ "${CMAKE_LINKER_FLAGS} -fsanitize=address" )
7
+
1
8
# Collect source files into the "sources" variable and unit test files into the
2
9
# "gtest_sources" variable.
3
10
gz_get_libsources_and_unittests(sources gtest_sources)
You can’t perform that action at this time.
0 commit comments