summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2023-12-08 18:53:23 -0800
committerGreg Ercolano <erco@seriss.com>2023-12-08 18:53:23 -0800
commit1c9063b8bcaea002d13585cf14c634c14cc4cf31 (patch)
treed4c597f1a308f616b709b583de7b2d6cab77eac6
parent63ba44dc2913a945749b02b5e13eaba36702d7f8 (diff)
Updated nmake build command in README
-rw-r--r--README.CMake.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/README.CMake.txt b/README.CMake.txt
index bd03ec4ea..36276b1bd 100644
--- a/README.CMake.txt
+++ b/README.CMake.txt
@@ -372,18 +372,17 @@ in the GUI (cmake-gui).
--------------------------------------
This uses cmake to generate + build FLTK in Release mode using nmake,
using purely the command line (never need to open the Visual Studio IDE)
- using Multithreaded (/MT) and optimizer level 2 (/O2):
+ using Multithreaded (/MT):
mkdir build-nmake
cd build-nmake
- cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" -DCMAKE_C_FLAGS_RELEASE="/MT /O2 /Ob2 /D NDEBUG" ..
- nmake all
+ cmake -G "NMake Makefiles" -D CMAKE_BUILD_TYPE=Release -D FLTK_MSVC_RUNTIME_DLL=off ..
+ nmake
..which results in a colorful percentage output crawl similar to what
we see with unix 'make'.
-erco@seriss.com
- fltk.coredev - Mar 12 2022
-
+ Updated: Dec 8 2023
2.5 Building under Windows with MinGW using Makefiles
--------------------------------------------------------