diff options
| author | Greg Ercolano <erco@seriss.com> | 2023-12-08 18:53:23 -0800 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2023-12-08 18:53:23 -0800 |
| commit | 1c9063b8bcaea002d13585cf14c634c14cc4cf31 (patch) | |
| tree | d4c597f1a308f616b709b583de7b2d6cab77eac6 /README.CMake.txt | |
| parent | 63ba44dc2913a945749b02b5e13eaba36702d7f8 (diff) | |
Updated nmake build command in README
Diffstat (limited to 'README.CMake.txt')
| -rw-r--r-- | README.CMake.txt | 9 |
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 -------------------------------------------------------- |
