Utilities/Scripts: Add temporary CMAKE_BOOTSTRAP conversion script

This commit is contained in:
Kyle Edwards
2019-08-07 10:32:50 -04:00
parent 1996e01578
commit ad0e44a18b

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)