diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-03-15 23:34:56 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-03-16 00:10:53 +0100 |
| commit | b252e5e45cfd87da48133a3a52e3ac164759b231 (patch) | |
| tree | 16be1e15561e913e9e9c023a170bb9b062d5bfc8 /cairo | |
| parent | 2e1730d2f0f131d792c9b0561672f5252a868785 (diff) | |
Remove libfltk_cairo (fltk::cairo)
This library is no longer needed and was "empty" for backwards
compatibility since FLTK 1.4.0.
Diffstat (limited to 'cairo')
| -rw-r--r-- | cairo/CMakeLists.txt | 43 | ||||
| -rw-r--r-- | cairo/cairo_dummy.c | 28 |
2 files changed, 0 insertions, 71 deletions
diff --git a/cairo/CMakeLists.txt b/cairo/CMakeLists.txt deleted file mode 100644 index 1e1c1a02b..000000000 --- a/cairo/CMakeLists.txt +++ /dev/null @@ -1,43 +0,0 @@ -# -# CMakeLists.txt to build a dummy Cairo library for the FLTK project using CMake -# -# Copyright 1998-2023 by Bill Spitzak and others. -# -# This library is free software. Distribution and use rights are outlined in -# the file "COPYING" which should have been included with this file. If this -# file is missing or damaged, see the license at: -# -# https://www.fltk.org/COPYING.php -# -# Please see the following page on how to report bugs and issues: -# -# https://www.fltk.org/bugs.php -# - -######################################################################## -# Note: since FLTK 1.4.0 Fl_Cairo_Window support [1] is included in -# libfltk and libfltk_cairo is no longer necessary. This directory is -# used to build an "empty" dummy library for backwards compatibility, -# just in case users expect it to exist. -# ---------------------------------------------------------------------- -# The entire 'cairo' folder will be removed in a later FLTK release. -######################################################################## - -# Build dummy fltk_cairo library - -set(cairo_SRCS cairo_dummy.c) - -fl_add_library(fltk_cairo STATIC "${cairo_SRCS}") -target_link_libraries(fltk_cairo PUBLIC fltk::fltk) - -# Build shared dummy library(optional) - -if(FLTK_BUILD_SHARED_LIBS) - - fl_add_library(fltk_cairo SHARED "${cairo_SRCS}") - target_link_libraries(fltk_cairo-shared PUBLIC fltk::fltk-shared) - -endif(FLTK_BUILD_SHARED_LIBS) - -set(FLTK_LIBRARIES ${FLTK_LIBRARIES} PARENT_SCOPE) -set(FLTK_LIBRARIES_SHARED ${FLTK_LIBRARIES_SHARED} PARENT_SCOPE) diff --git a/cairo/cairo_dummy.c b/cairo/cairo_dummy.c deleted file mode 100644 index afa47504b..000000000 --- a/cairo/cairo_dummy.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - Dummy C file to build the dummy Cairo library for the FLTK project. - - Copyright 2023 by Bill Spitzak and others. - - This library is free software. Distribution and use rights are outlined in - the file "COPYING" which should have been included with this file. If this - file is missing or damaged, see the license at: - - https://www.fltk.org/COPYING.php - - Please see the following page on how to report bugs and issues: - - https://www.fltk.org/bugs.php -*/ - -/* - Note: since FLTK 1.4.0 Fl_Cairo_Window support is included in - libfltk and libfltk_cairo is no longer necessary. This directory is - used to build an "empty" dummy library for backwards compatibility, - just in case users expect it to exist. - - The entire 'cairo' folder will be removed in a later FLTK release. -*/ - -int fl_cairo_dummy() { - return 0; -} |
