Skip to content

Commit 93155fe

Browse files
committed
Remove PHP/ConfigureFile
This local utility module is redundant as CMake (although with obscure syntax) already provides some ways to generate files from templates with values that contain generator expressions and can be adjusted for the install prefix at the installation phase (although more hacks will be needed here in the future).
1 parent 6225d94 commit 93155fe

File tree

4 files changed

+223
-394
lines changed

4 files changed

+223
-394
lines changed

cmake/cmake/modules/PHP/ConfigureFile.cmake

Lines changed: 0 additions & 277 deletions
This file was deleted.

cmake/main/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ function(_php_main_configure_build_defs)
295295
CONTENT "${content}"
296296
)
297297

298-
# Regenerate file on the install step when using different installation
299-
# prefix at the 'cmake --install ... --prefix <install-prefix>' phase.
298+
# Regenerate file on the install step when using different installation prefix
299+
# at the 'cmake --install ... --prefix <install-prefix>' phase.
300300
string(CONFIGURE [[
301301
@code@
302302
configure_file(

0 commit comments

Comments
 (0)