mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CMAKE] CMakeLists.txt: Print CMAKE_CONFIGURATION_TYPES
Follow-up to d10728a
.
This commit is contained in:
parent
9f3ed60ea4
commit
b62f0d0fa3
1 changed files with 8 additions and 2 deletions
|
@ -132,8 +132,14 @@ else()
|
|||
# We don't need CMake importlib handling.
|
||||
unset(CMAKE_IMPORT_LIBRARY_SUFFIX)
|
||||
|
||||
# Print build type
|
||||
message("-- Build Type: ${CMAKE_BUILD_TYPE}")
|
||||
# Print build type(s)
|
||||
if(CMAKE_CONFIGURATION_TYPES)
|
||||
# Multi-config generators, like Visual Studio (MSBuild).
|
||||
message("-- Configuration types: ${CMAKE_CONFIGURATION_TYPES}")
|
||||
else()
|
||||
# Single-configuration generators, like Ninja.
|
||||
message("-- Build type: ${CMAKE_BUILD_TYPE}")
|
||||
endif()
|
||||
|
||||
# Always add /MT in VS CMAKE_GENERATOR and define _SBCS otherwise VS thinks it's a multi-byte or whatever project
|
||||
if (MSVC_IDE)
|
||||
|
|
Loading…
Reference in a new issue