CMakeLists.txt: report generated CMAKE_CONFIGURATION_TYPES
We might want to customize this in feature for multi-config builds (e.g. a Visual studio build with both Debug and Release configurations). Output the variable value for user awareness.
This commit is contained in:
parent
6bbaca118f
commit
0229f9b1a4
1 changed files with 5 additions and 0 deletions
|
@ -263,6 +263,11 @@ file(COPY "raymath.h" DESTINATION ".")
|
||||||
file(COPY "raudio.h" DESTINATION ".")
|
file(COPY "raudio.h" DESTINATION ".")
|
||||||
|
|
||||||
# Print the flags for the user
|
# Print the flags for the user
|
||||||
|
if (DEFINED CMAKE_BUILD_TYPE)
|
||||||
|
message(STATUS "Generated build type: ${CMAKE_BUILD_TYPE}")
|
||||||
|
else()
|
||||||
|
message(STATUS "Generated config types: ${CMAKE_CONFIGURATION_TYPES}")
|
||||||
|
endif()
|
||||||
message(STATUS "Compiling with the flags:")
|
message(STATUS "Compiling with the flags:")
|
||||||
message(STATUS " PLATFORM=" ${PLATFORM_CPP})
|
message(STATUS " PLATFORM=" ${PLATFORM_CPP})
|
||||||
message(STATUS " GRAPHICS=" ${GRAPHICS})
|
message(STATUS " GRAPHICS=" ${GRAPHICS})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue