Added make clobber target, imported in from the VSG project.
This commit is contained in:
parent
1eedae844e
commit
c5d00bc223
@ -1365,6 +1365,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")
|
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()
|
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
|
### uninstall target
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user