From 1c9063b8bcaea002d13585cf14c634c14cc4cf31 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Fri, 8 Dec 2023 18:53:23 -0800 Subject: [PATCH] Updated nmake build command in README --- README.CMake.txt | 9 ++++----- 1 file 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 --------------------------------------------------------