mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
Utilities/Scripts: Add temporary CMAKE_BOOTSTRAP conversion script
This commit is contained in:
1 parent
1996e01578
commit
ad0e44a18b
1 file changed
+7
Executable
+7
@@ -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