summaryrefslogtreecommitdiff
path: root/README.CMake.txt
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-11-25 20:30:58 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-11-25 21:03:23 +0100
commit4a461efae6fa36aeb50e61e381dc2ecf95b83d23 (patch)
tree2d8e40631cfda8ddeda05da5c39089f00abeb082 /README.CMake.txt
parente8ad00d9fe3522480b26b4f8660f5398a9140716 (diff)
CMake/Windows/MSVC: Add option to select MSVC Runtime
Selects MSVC compiler/build options known as /MT, /MTd, /MD, or /MDd. This applies to "Visual Studio" (IDE) and "NMake Makefiles" builds.
Diffstat (limited to 'README.CMake.txt')
-rw-r--r--README.CMake.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.CMake.txt b/README.CMake.txt
index 7ada4cefc..c64c0c75c 100644
--- a/README.CMake.txt
+++ b/README.CMake.txt
@@ -133,6 +133,11 @@ FLTK_BUILD_TEST - default ON
FLTK_BUILD_EXAMPLES - default OFF
Builds the example programs in the 'examples' directory.
+FLTK_MSVC_RUNTIME_DLL - default ON (only for Visual Studio and NMake).
+ Selects whether the build uses the MS runtime DLL or not.
+ Default is ON: either /MD or /MDd for Release or Debug, respectively.
+ Select OFF for either /MT or /MTd for Release or Debug, respectively.
+
OPTION_CAIRO - default OFF
Enables support of class Fl_Cairo_Window (all platforms, requires the
Cairo library) - see README.Cairo.txt.