瀏覽代碼

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.
pull/1146/head
Ahmad Fatoum 5 年之前
父節點
當前提交
0229f9b1a4
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      src/CMakeLists.txt

+ 5
- 0
src/CMakeLists.txt 查看文件

@ -263,6 +263,11 @@ file(COPY "raymath.h" DESTINATION ".")
file(COPY "raudio.h" DESTINATION ".")
# 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 " PLATFORM=" ${PLATFORM_CPP})
message(STATUS " GRAPHICS=" ${GRAPHICS})

Loading…
取消
儲存