Commit Graph

11 Commits

Author SHA1 Message Date
Albrecht Schlosser fd5cd80935 Introduce "Modern CMake" in FLTK
This is a big commit and there are too many changes to list them all.
The main changes are:

- rename all CMake build options to 'FLTK_*'
- export library targets with namespace (prefix) 'fltk::'
- standardize shared library target names with suffix '-shared'
- set public build properties on libraries for consumers
- document library names and aliases in README.CMake.txt
- document changes in "Migrating Code from FLTK 1.3 to 1.4"
- partial backwards compatibility for old user projects

Included but not directly related changes:

- fix Windows (Visual Studio) DLL build
- add CMake function fl_debug_target() to show target properties
- don't build test programs if FLTK is a subproject
- internal: reformat CMake code: remove space before '('

Thanks to Matthias and Manolo for their help, testing, and feeback.
2024-02-07 18:37:34 +01:00
Albrecht Schlosser fd2f076b78 GitLab CI: fix syntax error 2022-08-17 15:29:18 +02:00
Albrecht Schlosser 5167aad15c GitLab CI: limit lifetime of artifacts to 8 days
... to save storage space.
2022-08-17 15:16:17 +02:00
Albrecht Schlosser 7d7784d140 GitLab CI/CD: generate pdf documentation
Remove build artifacts from normal builds (libs and executables).
  These were never meant to be provided but forgotten to remove
  after tests.

Try to build fltk.pdf (may be removed later)

Store fltk.pdf in 'public' folder to be available online in docs
  and downloadable as "artifact"
2022-08-09 21:41:31 +02:00
Albrecht Schlosser 0c539b784d Fine tune GitLab-CI script
Also: update documentation copyright year.
2020-09-07 15:00:38 +02:00
Albrecht Schlosser 0696bbe422 Reduce GitLab CI/CD build time due to new limits
GitLab Free account CI/CD limits effective Oct 1, 2020 will be
400 minutes per month. Trying to keep build time below the limit.
2020-09-07 12:09:55 +02:00
Albrecht Schlosser 206675a3b1 Fix examples build (configure/make)
Fix more issues caused by moving fltk-versions from examples to test
and adding examples to the CMake build process (gitlab-ci)
2020-08-21 20:00:00 +02:00
Albrecht Schlosser f09e17c3c5 Remove $Id$ tags, update URL's, and more
- remove obsolete svn '$Id$' tags from all source files
- update .fl files and generated files accordingly
- replace 'http://www.fltk.org' URL's with 'https://...'
- replace bug report URL 'str.php' with 'bugs.php'
- remove trailing whitespace
- fix other whitespace errors flagged by Git
- add and/or fix missing or wrong standard headers
- convert tabs to spaces in all source files

The only relevant code changes are in the fluid/ folder where
some .fl files and other source files were used to generate
the '$Id' headers and footers.
2020-07-06 20:28:20 +02:00
Albrecht Schlosser 82e26c661c Update GitLab CI configuration (comments only).
Document where the HTML documentation will be installed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-31 10:05:54 +00:00
Albrecht Schlosser d26b29a8f1 Update gitlab CI configuration (comments only).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-07-31 08:52:23 +00:00
Albrecht Schlosser 1690585b49 Activate GitLab CI and GitLab Pages (HTML docs).
The GitLab CI control file enables continuous builds after every commit
and generates the (doxygen) HTML documentation.

The documentation is put online on GitLab pages at:

https://fltk.gitlab.io/fltk/


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-22 16:31:30 +00:00