diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-02-06 15:22:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-06 15:22:24 +0100 |
| commit | db0a1f4baeb928b54d328d5dfbd0ec37b0b58bd3 (patch) | |
| tree | ed53495f5dd435d7c23cd4267fb785e5ebca679c /test/Makefile | |
| parent | af4954aee3483f03ff69e990e80f4e4a18e8b7f6 (diff) | |
OpenGL implementation of all `fl_` "Drawing Fast Shapes" graphics calls (#385)
* Fix build system for unites,
* Updated unittest to check OpenGL drawing.
Making sure that OpenGL drawing is exactly the same
as native drawing to make FLTK widget rendering
look the same in GL windows.
* Make OpenGL optional.
* Implemented clipping in OpenGL
* unites drawing fast shapes
* Fixed CMake
* Updating unittest.
Added tests for fl_pi and fl_arc (int)
Renamed tab to render complex shapes.
* Improved OpenGL FLTK drawing emulation.
* Fixed GTK ROUND DOWN BOX
* Fixing Makefile for unittest
* Correctly aligning OpenGL text.
* Fixed text alignment in GL windows.
Explained the "FLTK over GL " example in Cube.
* Overlapping test.
* Better GL graphics alignment.
* Drawing the focus rect.
* Adding Alpha Channel support for GL.
* Added FLTK-on-GL documentation.
Diffstat (limited to 'test/Makefile')
| -rw-r--r-- | test/Makefile | 49 |
1 files changed, 40 insertions, 9 deletions
diff --git a/test/Makefile b/test/Makefile index c08446af8..49d56e7be 100644 --- a/test/Makefile +++ b/test/Makefile @@ -16,6 +16,36 @@ include ../makeinclude +CPPUNITTEST = \ + unittests.cxx \ + unittest_about.cxx \ + unittest_points.cxx \ + unittest_complex_shapes.cxx \ + unittest_fast_shapes.cxx \ + unittest_circles.cxx \ + unittest_text.cxx \ + unittest_symbol.cxx \ + unittest_images.cxx \ + unittest_viewport.cxx \ + unittest_scrollbarsize.cxx \ + unittest_schemes.cxx \ + unittest_simple_terminal.cxx + +OBJUNITTEST = \ + unittests.o \ + unittest_about.o \ + unittest_points.o \ + unittest_complex_shapes.o \ + unittest_fast_shapes.o \ + unittest_circles.o \ + unittest_text.o \ + unittest_symbol.o \ + unittest_images.o \ + unittest_viewport.o \ + unittest_scrollbarsize.o \ + unittest_schemes.o \ + unittest_simple_terminal.o + CPPFILES =\ adjuster.cxx \ animated.cxx \ @@ -103,13 +133,12 @@ CPPFILES =\ tiled_image.cxx \ tree.cxx \ twowin.cxx \ - unittests.cxx \ utf8.cxx \ valuators.cxx \ - windowfocus.cxx + windowfocus.cxx \ + $(CPPUNITTEST) ALL = \ - unittests$(EXEEXT) \ animated$(EXEEXT) \ adjuster$(EXEEXT) \ arc$(EXEEXT) \ @@ -200,7 +229,8 @@ GLALL = \ fullscreen$(EXEEXT) \ gl_overlay$(EXEEXT) \ glpuzzle$(EXEEXT) \ - shape$(EXEEXT) + shape$(EXEEXT) \ + unittests$(EXEEXT) all: $(ALL) $(GLDEMOS) @@ -299,11 +329,7 @@ uninstall-osx: $(ALL): $(LIBNAME) # General demos... -unittests$(EXEEXT): unittests.o - -unittests.o: unittests.cxx unittest_about.cxx unittest_points.cxx unittest_lines.cxx unittest_circles.cxx \ - unittest_rects.cxx unittest_text.cxx unittest_symbol.cxx unittest_viewport.cxx unittest_images.cxx \ - unittest_schemes.cxx unittest_scrollbarsize.cxx unittest_simple_terminal.cxx +unittests$(EXEEXT): $(OBJUNITTEST) adjuster$(EXEEXT): adjuster.o @@ -626,6 +652,11 @@ gl_overlay$(EXEEXT): gl_overlay.o $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ gl_overlay.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) $(OSX_ONLY) ../fltk-config --post $@ +unittests$(EXEEXT): $(OBJUNITTEST) + echo Linking $@... + $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJUNITTEST) $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) + $(OSX_ONLY) ../fltk-config --post $@ + shape$(EXEEXT): shape.o echo Linking $@... $(CXX) $(ARCHFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ shape.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) |
