mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
cmake: log when CMAKE_DEBUG_POSTFIX/CMAKE_BUILD_TYPE is changed
This commit is contained in:
parent
2112c3969a
commit
283a371f51
@ -34,6 +34,7 @@ endif()
|
|||||||
if(NOT CMAKE_BUILD_TYPE)
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE Release
|
set(CMAKE_BUILD_TYPE Release
|
||||||
CACHE STRING "Set build type to Debug or Release (default Release)" FORCE)
|
CACHE STRING "Set build type to Debug or Release (default Release)" FORCE)
|
||||||
|
message(STATUS "Set CMAKE_BUILD_TYPE to Release (default)")
|
||||||
endif()
|
endif()
|
||||||
string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)
|
string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)
|
||||||
|
|
||||||
@ -1729,5 +1730,6 @@ message(STATUS "CMAKE_C_COMPILER: ${CMAKE_C_COMPILER} (id ${CMAKE_C_COMP
|
|||||||
message(STATUS "CMAKE_AR: ${CMAKE_AR}")
|
message(STATUS "CMAKE_AR: ${CMAKE_AR}")
|
||||||
message(STATUS "CMAKE_RANLIB: ${CMAKE_RANLIB}")
|
message(STATUS "CMAKE_RANLIB: ${CMAKE_RANLIB}")
|
||||||
message(STATUS "CMAKE_INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX}")
|
message(STATUS "CMAKE_INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX}")
|
||||||
|
message(STATUS "CMAKE_DEBUG_POSTFIX: ${CMAKE_DEBUG_POSTFIX}")
|
||||||
message(STATUS "")
|
message(STATUS "")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user