mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 23:07:59 +08:00
8 lines
314 B
CMake
8 lines
314 B
CMake
|
file(GLOB_RECURSE MAKEFILES ${DIR}/*/Makefile)
|
||
|
foreach(MAKEFILE ${MAKEFILES})
|
||
|
message("removing deps from ${MAKEFILE}")
|
||
|
file(READ "${MAKEFILE}" _contents)
|
||
|
string(REGEX REPLACE "\n# DO NOT DELETE THIS LINE.*" "" _contents "${_contents}")
|
||
|
file(WRITE "${MAKEFILE}" "${_contents}")
|
||
|
endforeach()
|