From c17c2e3808e374e88ac0fac5f7c774ab78c3bd91 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 30 Dec 2025 18:41:33 +0100 Subject: Clean up .gitignore files Since FLTK 1.5 building FLTK in the source tree is prohibited by our CMake setup. Therefore all build artifacts are stored in the build tree and don't need to be "ignored" in the source tree. This simplifies the .gitignore files significantly. There are some exceptions though, for instance .cxx and .h files generated by fluid which might be created by a user/developer executing fluid in the source tree. --- test/.gitignore | 127 +++----------------------------------------------------- 1 file changed, 6 insertions(+), 121 deletions(-) (limited to 'test') diff --git a/test/.gitignore b/test/.gitignore index ea265dd43..8893e838a 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -1,128 +1,13 @@ # # Files to be ignored by Git (do not commit) # -# Note: *.exe will be ignored by means of ../.gitignore +# Source files and headers generated by fluid: # - -# Windows/MSVC files and maybe others - -*.bck -fltk*.dll -fltk*.exp -fltk*.lib -*.ilk - -# Linux/Unix/macOS executables - -adjuster -animated -arc -ask -bitmap -blocks -boxtype -browser -button -buttons -cairo_test -checkers -clipboard -clock -colbrowser -color_chooser -contrast -coordinates -cube -CubeView -cursor -curve -demo -device -doublebuffer -editor -fast_slow -file_chooser -flex_demo -flex_login -fltk-versions -fonts -forms -fractals -fullscreen -gl_overlay -glpuzzle -glut_test -grid_alignment -grid_buttons -grid_dialog -grid_login -handle_events -hello -help_dialog -icon -iconize -image -inactive -input -input_choice -keyboard -label -line_style -line_style_docs -list_visuals -mandelbrot -menubar -message -minimum -native-filechooser -navigation -offscreen -output -overlay -pack -pixmap -pixmap_browser -preferences -radio -resize -resizebox -resize-example1 -resize-example2 -resize-example3a -resize-example3b -resize-example3c -resize-example3d -resize-example4a -resize-example4b -resize-example5a -resize-example5b -resize-example5c -rotated_text -scroll -shape -subwindow -sudoku -symbols -table -tabs -terminal -threads -tile -tiled_image -tree -twowin -unittests -utf8 -valuators -windowfocus -wizard - -# macOS binary files - -*.app - -# fluid generated source files and headers, generated using bash: -# > for f in *.fl;do b=`basename $f .fl`;echo $b.cxx;echo $b.h;done +# Note: these files *should* not exist (since FLTK 1.5.0) unless a user +# (developer) creates them manually by running fluid in the source tree. +# +# The following list can be generated using bash or another POSIX shell: +# $ LC_ALL=C; for f in *.fl; do b=`basename $f .fl`; echo $b.cxx; echo $b.h; done CubeViewUI.cxx CubeViewUI.h -- cgit v1.2.3