btzy / nativefiledialog-extended

Cross platform (Windows, Mac, Linux) native file dialog library with C and C++ bindings, based on mlabbe/nativefiledialog.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standalone Library build instructions always build Debug version

atoone opened this issue · comments

Following the instructions for building the standalone library, and running:

cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

in a build subdirectory produces a Debug build, not a release build?

System: Windows 11, running cmake 3.29 and compiler MSVC/Visual Studio 19.

It turns out that MSVC is different, and you should do run these commands instead of the two commands you mentioned:

cmake ..
cmake --build . --config Release