2011-04-08 01:09:05 +04:00
|
|
|
include(Compiler/XL)
|
|
|
|
__compiler_xl(CXX)
|
|
|
|
set(CMAKE_CXX_FLAGS_RELEASE_INIT "${CMAKE_CXX_FLAGS_RELEASE_INIT} -DNDEBUG")
|
|
|
|
set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "${CMAKE_CXX_FLAGS_MINSIZEREL_INIT} -DNDEBUG")
|
2009-09-30 17:37:35 +04:00
|
|
|
|
2011-04-08 01:07:23 +04:00
|
|
|
# -qthreaded = Ensures that all optimizations will be thread-safe
|
|
|
|
# -qhalt=e = Halt on error messages (rather than just severe errors)
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_FLAGS_INIT "-qthreaded -qhalt=e")
|
2011-04-08 01:07:23 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_CXX_COMPILE_OBJECT
|
2009-09-30 17:37:35 +04:00
|
|
|
"<CMAKE_CXX_COMPILER> -+ <DEFINES> <FLAGS> -o <OBJECT> -c <SOURCE>")
|