mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
13 lines
370 B
CMake
13 lines
370 B
CMake
|
|
||
|
set(cmake_generated ${CMAKE_BINARY_DIR}/CMakeCache.txt
|
||
|
${CMAKE_BINARY_DIR}/cmake_install.cmake
|
||
|
${CMAKE_BINARY_DIR}/Makefile
|
||
|
${CMAKE_BINARY_DIR}/CMakeFiles
|
||
|
)
|
||
|
|
||
|
foreach(file ${cmake_generated})
|
||
|
if (EXISTS ${file})
|
||
|
MESSAGE("Removing: ${file}")
|
||
|
file(REMOVE_RECURSE ${file})
|
||
|
endif()
|
||
|
endforeach(file)
|