Improve CMP documentation and README.CMake.txt (#1346)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

- fix PDF generation
- update some tables, particularly Visual Studio and macOS macros

To-do: more details, updates for 1.4 and 1.5, respectively
This commit is contained in:
Albrecht Schlosser
2025-12-10 22:01:34 +01:00
parent fe6838e843
commit c75e299dbf
2 changed files with 233 additions and 144 deletions
+9 -1
View File
@@ -114,7 +114,7 @@ them explicitly.
2.2.1 CMake Specific Configuration Options
---------------------------------------------
There are only four CMake options that you typically want to specify.
There are only a few CMake options that you typically want to specify.
Each option has a specific ":type" setting which is kind of optional
but should usually be specified in scripts.
@@ -147,6 +147,14 @@ but should usually be specified in scripts.
will either build Intel (x86_64) or Apple Silicon aka M1 (arm64) apps.
The default is to build for the host processor architecture.
-D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=<macOS version> - default EMPTY
This is macOS specific and ignored on other platforms.
Set this to any macOS version that is supported by the SDK used to
build the FLTK library, e.g. '15.4' or '26.0', leave it empty, or
don't set it at all. This delimits the macOS version where the
programs built with this library can run.
Note: the CMake variable BUILD_SHARED_LIBS is ignored by FLTK. FLTK builds
static libs by default and can optionally build shared libs as well.
Please see FLTK_BUILD_SHARED_LIBS instead.
+224 -143
View File
File diff suppressed because it is too large Load Diff