|
|
@ -610,10 +610,10 @@ if (WIN32)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
if (BUILD_OPENMW)
|
|
|
|
if (BUILD_OPENMW)
|
|
|
|
# Release builds use the debug console
|
|
|
|
# Release builds don't use the debug console
|
|
|
|
set_target_properties(openmw PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:CONSOLE")
|
|
|
|
set_target_properties(openmw PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS")
|
|
|
|
set_target_properties(openmw PROPERTIES COMPILE_DEFINITIONS_RELEASE "_CONSOLE")
|
|
|
|
set_target_properties(openmw PROPERTIES COMPILE_DEFINITIONS_RELEASE "_WINDOWS")
|
|
|
|
set_target_properties(openmw PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:CONSOLE")
|
|
|
|
set_target_properties(openmw PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS")
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
# Play a bit with the warning levels
|
|
|
|
# Play a bit with the warning levels
|
|
|
@ -624,7 +624,8 @@ if (WIN32)
|
|
|
|
# Warnings that aren't enabled normally and don't need to be enabled
|
|
|
|
# Warnings that aren't enabled normally and don't need to be enabled
|
|
|
|
# They're unneeded and sometimes completely retarded warnings that /Wall enables
|
|
|
|
# They're unneeded and sometimes completely retarded warnings that /Wall enables
|
|
|
|
# Not going to bother commenting them as they tend to warn on every standard library file
|
|
|
|
# Not going to bother commenting them as they tend to warn on every standard library file
|
|
|
|
4061 4263 4264 4266 4350 4371 4435 4514 4548 4571 4610 4619 4623 4625 4626 4628 4640 4668 4710 4711 4820 4826 4917 4946
|
|
|
|
4061 4263 4264 4266 4350 4371 4435 4514 4548 4571 4610 4619 4623 4625
|
|
|
|
|
|
|
|
4626 4628 4640 4668 4710 4711 4768 4820 4826 4917 4946 5032 5039 5045
|
|
|
|
|
|
|
|
|
|
|
|
# Warnings that are thrown on standard libraries and not OpenMW
|
|
|
|
# Warnings that are thrown on standard libraries and not OpenMW
|
|
|
|
4347 # Non-template function with same name and parameter count as template function
|
|
|
|
4347 # Non-template function with same name and parameter count as template function
|
|
|
@ -645,6 +646,7 @@ if (WIN32)
|
|
|
|
|
|
|
|
|
|
|
|
# caused by MyGUI
|
|
|
|
# caused by MyGUI
|
|
|
|
4275 # non dll-interface class 'std::exception' used as base for dll-interface class 'MyGUI::Exception'
|
|
|
|
4275 # non dll-interface class 'std::exception' used as base for dll-interface class 'MyGUI::Exception'
|
|
|
|
|
|
|
|
4297 # function assumed not to throw an exception but does
|
|
|
|
|
|
|
|
|
|
|
|
# OpenMW specific warnings
|
|
|
|
# OpenMW specific warnings
|
|
|
|
4099 # Type mismatch, declared class or struct is defined with other type
|
|
|
|
4099 # Type mismatch, declared class or struct is defined with other type
|
|
|
|