Utilities/Scripts: Add temporary CMAKE_BOOTSTRAP conversion script

This commit is contained in:
Kyle Edwards committed 2019-08-09 10:40:36 -04:00
1 parent 1996e01578
commit ad0e44a18b
1 file changed
+7
+7
View 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)