diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 15:21:34 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2026-02-05 15:21:34 +0500 |
| commit | db214d1145e46d527a46d1fc2519548d2c4d23f1 (patch) | |
| tree | cf0fd9922e4d54f6beb63888f9b28c8e2a787bdf /util/CMakeLists.txt | |
| parent | 75fc94d6c71fe686f6dde5b41ad91cba2f6bdd6f (diff) | |
wip: fork
Diffstat (limited to 'util/CMakeLists.txt')
| -rw-r--r-- | util/CMakeLists.txt | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt deleted file mode 100644 index 0e140a263..000000000 --- a/util/CMakeLists.txt +++ /dev/null @@ -1,82 +0,0 @@ -# -# CMakeLists.txt to build utilities for the FLTK project using CMake (www.cmake.org) -# -# Copyright 1998-2026 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 -# - -# Build utilities for FLTK development - -# Note: utilities are only built internally during the build process -# and not installed. They are tools used to generate source files or -# assist in building documentation. - -####################################################################### -# cmap - colormap generation program -####################################################################### - -# This program produces the contents of "src/fl_cmap.h". -# It can be used to modify the built-in colormap in src/fl_cmap.h. -# This utility must be built and executed manually. See instructions -# in util/cmap.cxx . - -add_executable(cmap cmap.cxx) - -# cmap doesn't need to link against FLTK libraries - it's a standalone tool, -# but it requires libm on Unix/Linux - link against libm, but only if found. - -if(LIB_m) - target_link_libraries(cmap PRIVATE m) -endif() - -# Set properties -set_target_properties(cmap PROPERTIES - OUTPUT_NAME cmap - EXCLUDE_FROM_ALL TRUE -) - -####################################################################### -# PDF documentation tool to generate a png image from a -# Doxygen `@code` segment with international characters -####################################################################### - -if(FLTK_BUILD_PDF_DOCS) - - # PDF documentation helper tool - add_executable(code_snapshot - code_snapshot.cxx - ../fluid/widgets/Code_Viewer.cxx - ../fluid/widgets/Code_Editor.cxx - ../fluid/widgets/Style_Parser.cxx - ) - - target_link_libraries(code_snapshot PRIVATE fltk::images) - - set_target_properties(code_snapshot PROPERTIES - OUTPUT_NAME code_snapshot - EXCLUDE_FROM_ALL FALSE - ) - - target_include_directories(code_snapshot PRIVATE - ../fluid - ) - - message(STATUS "PDF code snapshot tools will be built (FLTK_BUILD_PDF_DOCS=ON)") - -endif(FLTK_BUILD_PDF_DOCS) - -####################################################################### -# Install rules (if any tools need to be installed) -####################################################################### - -# Currently no utilities are installed as they are build-time tools only. -# If you need to install any utilities, add install() commands here. |
