Buildsystem: Make options load BEFORE platformchecks, so they are preloaded correctly
+ add some more output to make it easier to find possible issues with the new layout --HG-- branch : trunk
This commit is contained in:
1 parent
a6d681b41c
commit
3fa20f4cf3
4 files changed
+19
-11
No files matched your search
@@ -2,14 +2,18 @@ add_definitions(-fno-delete-null-pointer-checks)
|
||||
|
||||
if( USE_SFMT)
|
||||
add_definitions(-msse2)
|
||||
message(STATUS "- GCC: SFMT enabled, SSE2 flag forced")
|
||||
endif()
|
||||
|
||||
if( WITH_WARNINGS )
|
||||
add_definitions(-Wall -Wfatal-errors -Wextra)
|
||||
message(STATUS "- GCC: All warnings enabled")
|
||||
else()
|
||||
add_definitions(--no-warnings)
|
||||
message(STATUS "- GCC: All warnings disabled")
|
||||
endif()
|
||||
|
||||
if( WITH_COREDEBUG )
|
||||
add_definitions(-ggdb3)
|
||||
message(STATUS "- GCC: Debug-flags set (-ggdb3)")
|
||||
endif()
|
||||
Reference in new issue
Block a user