mirror of
https://github.com/fltk/fltk.git
synced 2026-09-28 15:55:22 +08:00
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
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:
+9
-1
@@ -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
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user