Skip to content

Commit

Permalink
improve devmode build options
Browse files Browse the repository at this point in the history
  • Loading branch information
vgough committed Aug 17, 2016
1 parent cd89e60 commit 2dc286b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devmode
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Script which sets up the CMake build for Debug mode.
# After running, chdir to the build subdir ane run "make"
mkdir build
cd build && cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-fsanitize=address" $@
cd build && cmake .. -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_CXX_FLAGS="-O1 -fsanitize=address -fno-omit-frame-pointer" $@

0 comments on commit 2dc286b

Please sign in to comment.