Closed RedaMazoz closed 2 years ago
It's because some generators such as Visual Studio on Windows are multi-config. I.e. you need to select the build type at the build step, not at the configuration step. It's not specific to Windows, see. Building C++ projects have a lot of nuances. It's impossible to document everything. But feel free to open a PR for it.
Hi, I've tried to build the project in windows, but I noticed that when I do
cmake --install build
cmake couldn't find the .lib file because cmake was building for a Debug config while it the last command asked for a Release configPlease add to the documentation that people should use
cmake --build build --config release
instead of just sayingcmake --build build
Just wanted to help others that would've struggled :)