Added more verbose message about status in CMake
This commit is contained in:
parent
51b49e606c
commit
75874faa32
1 changed files with 10 additions and 5 deletions
|
@ -554,8 +554,7 @@ if(WIN32)
|
|||
set(stratagus_LIBS ${stratagus_LIBS} dsound dxguid winmm ws2_32)
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
# Avoid some warnings
|
||||
if (WIN32 AND MSVC)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE=1)
|
||||
endif()
|
||||
|
||||
|
@ -618,8 +617,12 @@ else()
|
|||
message("Static linking: No (Enable by param -DENABLE_STATIC=ON)")
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
message("Platform: Windows")
|
||||
if(WIN32 AND MSVC)
|
||||
message("Platform: Windows (MSVC)")
|
||||
elseif(WIN32 AND MINGW)
|
||||
message("Platform: Windows (MinGW)")
|
||||
elseif(WIN32)
|
||||
message("Platform: Windows (Other)")
|
||||
elseif(APPLE)
|
||||
message("Platform: Mac")
|
||||
elseif(BSD)
|
||||
|
@ -629,11 +632,13 @@ elseif(BEOS)
|
|||
elseif(MAEMO)
|
||||
message("Platform: Maemo")
|
||||
else()
|
||||
message("Platform: Other")
|
||||
message("Platform: Other/No platform code")
|
||||
endif()
|
||||
|
||||
if(WIN32 AND ENABLE_STDIO_REDIRECT)
|
||||
message("Redirect stdio: Yes (Disable by param -DENABLE_STDIO_REDIRECT=OFF)")
|
||||
elseif(NOT WIN32)
|
||||
message("Redirect stdio: Unsupported on this platform")
|
||||
else()
|
||||
message("Redirect stdio: No (Enable by param -DENABLE_STDIO_REDIRECT=ON)")
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue