Commit Graph

23 Commits

Author SHA1 Message Date
Albrecht Schlosser 37c8c051ba Remove reference to automake which is not required 2024-02-24 18:10:35 +01:00
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
Masato Sugiyama d3ceac04de update README.macOS.md (Creating new Projects) 2022-04-14 13:05:33 +02:00
Albrecht Schlosser a773fdc44b Fix whitespace, update dependencies and fluid files 2022-03-03 17:20:24 +01:00
ManoloFLTK d4ceb20ad3 macOS: add how to install autoconf without brew 2022-02-27 21:32:07 +01:00
Albrecht Schlosser cbee4880f4 Update README.macOS.md (minor fixes) 2021-05-13 16:21:52 +02:00
Albrecht Schlosser 49a78bc482 Fix cairo build (autoconf + CMake) + README's
- rewrite to use pkg-config with both autoconf + CMake
- remove hardcoded library names
- fix build dependencies and search directories
- remove or replace old and unused variables
- update README files

To be done:
- implement fallback for autoconf/configure if pkg-config is missing
- fix pango build (uses cairo internally)
2021-03-01 10:45:59 +01: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
Matthias Melcher d41ff666d0 Small improvements to README.macOS.md 2019-02-05 11:24:06 +01:00
Matthias Melcher 005a744d68 Android builds tested successfully after changeover to git 2019-01-03 23:16:59 +01:00
Matthias Melcher a77ffd1dde Xcode for some reason needs a github account to clone a public github repo. Documentation reflects that now. 2018-12-28 20:28:29 +01:00
Matthias Melcher 70e29f9c7d More fixes. 2018-12-28 19:50:39 +01:00
Matthias Melcher d58255074d Note if Apple ID or admin access is needed. 2018-12-28 19:37:31 +01:00
Matthias Melcher 2c67ae07dd Directly install command line tools. 2018-12-28 19:29:34 +01:00
Matthias Melcher 9cd6d38465 Added docs for other build options 2018-12-28 19:23:10 +01:00
Matthias Melcher 7c4ac3361a Tested and Working version or macOS command line build README. 2018-12-28 17:25:16 +01:00
Matthias Melcher f4a0349013 Tested macOS instruction with fresh macOS Mojave install 2018-12-28 16:36:11 +01:00
Matthias Melcher 763248a3ed Easy way to install command line clang and git. 2018-12-28 16:06:59 +01:00
Matthias Melcher 9894117fa6 Putting the 'Contents' together for the macOS README. 2018-12-28 15:35:51 +01:00
Matthias Melcher f2ddd52f76 Completed README for macOS command line builds. Must still be verified on a clean machine. 2018-12-28 15:07:07 +01:00
Matthias Melcher 62ff8695a0 Testing some styles for markdown file. 2018-12-27 16:10:35 +01:00
Matthias Melcher 148acf9e66 Markup mess 2018-12-27 15:32:50 +01:00
Matthias Melcher 9141399a3b Started to rewrite README.OSX.txt as README.macOS.md . Also testing GitHub quirks 2018-12-27 15:29:13 +01:00