Added make clobber target, imported in from the VSG project.
This commit is contained in:
parent
c424a2daaa
commit
8636ad8394
@ -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
|
||||
#-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user