forked from dyne/frei0r
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
for better cleanup when making releases also added cmake build files in .gitignore
- Loading branch information
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ tags | |
*.so | ||
*.la | ||
*.lo | ||
*.cmake | ||
cmake_install.cmake | ||
CMakeFiles | ||
CMakeCache.txt | ||
*~ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# add custom target distclean | ||
# cleans and removes cmake generated files etc. | ||
# Jan Woetzel 04/2003 | ||
# | ||
|
||
IF (UNIX) | ||
ADD_CUSTOM_TARGET (distclean @echo cleaning for source distribution) | ||
SET(DISTCLEANED | ||
cmake.depends | ||
cmake.check_depends | ||
CMakeCache.txt | ||
cmake.check_cache | ||
*.cmake | ||
Makefile | ||
core core.* | ||
gmon.out | ||
*~ | ||
) | ||
|
||
ADD_CUSTOM_COMMAND( | ||
DEPENDS clean | ||
COMMENT "distribution clean" | ||
COMMAND rm | ||
ARGS -Rf CMakeTmp ${DISTCLEANED} | ||
TARGET distclean | ||
) | ||
ENDIF(UNIX) | ||
|