@@ -3,9 +3,8 @@ cmake_minimum_required(VERSION 3.25...3.31)
33# Configure CMake behavior.
44include (cmake/CMakeDefaults.cmake)
55
6- message (STATUS "-----------------------------" )
76message (STATUS "Initializing PHP build system" )
8- message (STATUS "----------------------------- \n " )
7+ message (STATUS "============================= " )
98
109message (STATUS "CMake version: ${CMAKE_VERSION} " )
1110message (STATUS "CMake generator: ${CMAKE_GENERATOR} " )
@@ -31,31 +30,33 @@ add_subdirectory(sapi)
3130add_subdirectory (ext )
3231add_subdirectory (Zend)
3332
34- message (STATUS "---------------" )
33+ message (STATUS "" )
34+ message (STATUS "" )
3535message (STATUS "Configuring PHP" )
36- message (STATUS "---------------\n " )
36+ message (STATUS "===============" )
37+ message (STATUS "" )
3738
3839add_subdirectory (pear)
3940add_subdirectory (win32 )
4041add_subdirectory (main)
4142add_subdirectory (scripts)
4243
43- # Check thread safety.
44- include (PHP/ThreadSafety)
45-
4644# Generate *_arginfo.h headers from *.stub.php sources.
4745include (PHP/Stubs)
4846
47+ # Check thread safety.
48+ include (PHP/ThreadSafety)
49+
4950# Execute all deferred calls. Calls are additionally sorted with natural
5051# comparison method by their IDs. If call hasn't set any ID number, CMake
5152# assigns it a default value of __<number>.
5253block()
5354 cmake_language(DEFER GET_CALL_IDS ids)
5455 list (SORT ids COMPARE NATURAL)
55- foreach (id ${ ids} )
56+ foreach (id IN LISTS ids)
5657 cmake_language(DEFER GET_CALL ${id} call)
5758 list (POP_FRONT call command )
58- message (STATUS "Executing deferred call: ${command} " )
59+ message (VERBOSE "Executing deferred call: ${command} " )
5960 cmake_language(CALL ${command} ${call} )
6061 cmake_language(DEFER CANCEL_CALL ${id} )
6162 endforeach ()
@@ -73,6 +74,7 @@ include(cmake/Testing.cmake)
7374include (cmake/CPack.cmake)
7475
7576include (PHP/FeatureSummary)
77+ php_feature_summary()
7678
7779message (
7880 STATUS
0 commit comments