Skip to content
Permalink
Browse files

Added make clobber target, imported in from the VSG project.

  • Loading branch information...
robertosfield committed Nov 9, 2018
1 parent c424a2d commit 8636ad8394543ceec76b21cc14232e7c22aaaed8
Showing with 7 additions and 0 deletions.
  1. +7 −0 CMakeLists.txt
@@ -1316,6 +1316,13 @@ IF(NOT OSG_CONFIG_HAS_BEEN_RUN_BEFORE)
SET(OSG_CONFIG_HAS_BEEN_RUN_BEFORE 1 CACHE INTERNAL "Flag to track whether this is the first time running CMake or if CMake has been configured before")
ENDIF()

#-----------------------------------------------------------------------------
# add clobber build target to clear all the non git registered files/directories
#-----------------------------------------------------------------------------
add_custom_target(clobber
COMMAND git clean -d -f -x
)

#-----------------------------------------------------------------------------
### uninstall target
#-----------------------------------------------------------------------------

0 comments on commit 8636ad8

Please sign in to comment.
You can’t perform that action at this time.