mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 15:50:50 -06:00
Utilities/Scripts: Add temporary CMAKE_BOOTSTRAP conversion script
This commit is contained in:
7
Utilities/Scripts/cmake-bootstrap-def.sh
Executable file
7
Utilities/Scripts/cmake-bootstrap-def.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
sed -i -e 's/!defined(CMAKE_BUILD_WITH_CMAKE)/defined(CMAKE_BOOTSTRAP)/g' \
|
||||
-e 's/defined(CMAKE_BUILD_WITH_CMAKE)/!defined(CMAKE_BOOTSTRAP)/g' \
|
||||
-e 's/ifndef CMAKE_BUILD_WITH_CMAKE/ifdef CMAKE_BOOTSTRAP/g' \
|
||||
-e 's/ifdef CMAKE_BUILD_WITH_CMAKE/ifndef CMAKE_BOOTSTRAP/g' \
|
||||
$(git ls-files Source)
|
||||
Reference in New Issue
Block a user