mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-09-24 15:54:12 +00:00
7 lines
307 B
CMake
7 lines
307 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()
|