mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 18:30:25 +01:00
21 lines
829 B
CMake
21 lines
829 B
CMake
# ==========================================================================
|
|
# 2015 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
|
|
# with no warranties. This code is yours to share, use and modify with no
|
|
# strings attached and no restrictions or obligations.
|
|
#
|
|
# For more information see g3log/LICENSE or refer refer to http://unlicense.org
|
|
# ============================================================================*/
|
|
|
|
|
|
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( STATUS "Removing: ${file}" )
|
|
file(REMOVE_RECURSE ${file})
|
|
endif()
|
|
endforeach(file) |