Now almost the same CXX flags as Makefile and Makefile.gpu: CXXFLAGS=-O3 -Wall -g -std=c++11
This commit is contained in:
parent
cff31fc577
commit
7688f9804f
|
@ -122,7 +122,8 @@ endif()
|
|||
|
||||
#--------------------------------------- build parameters for all targets
|
||||
#set (CMAKE_CXX_FLAGS "-g -O3 -Wall -Wextra -std=c++11 -W -pedantic -ansi -fPIC -fpermissive -fno-omit-frame-pointer -fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls")
|
||||
set (CMAKE_CXX_FLAGS "-std=c++11 -g -O3 -Wall -Wextra -W -pedantic -ansi -fPIC -fpermissive")
|
||||
# set (CMAKE_CXX_FLAGS "-std=c++0x -g -O3 -Wall -Wextra -W -pedantic -ansi -fPIC -fpermissive")
|
||||
set (CMAKE_CXX_FLAGS "-std=c++0x -g -O3 -Wall")
|
||||
# FIXME: add debug build option
|
||||
#set (CMAKE_CXX_FLAGS_DEBUG "-g -pg -pedantic -Wall -DNDEBUG -Wextra -Wcast-align -Wpointer-arith -Woverloaded-virtual -Wwrite-strings -Wcast-qual -Wctor-dtor-privacy -Wno-long-long-Wdisabled-optimization -Wformat=2 -Winit-self -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wnoexcept -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-null-sentinel -Wstrict-overflow=5 -Wswitch-default -Wundef -Werror -Wno-unused")
|
||||
|
||||
|
|
Loading…
Reference in New Issue