Hi Folks:
Cmake for Windows produces one .lib file, under the debug directory.
Is this in fact a debug version of GLFW’s library?
Can an optimized .lib file be generated?
Thanks
Larry
Hi Folks:
Cmake for Windows produces one .lib file, under the debug directory.
Is this in fact a debug version of GLFW’s library?
Can an optimized .lib file be generated?
Thanks
Larry
If you use Visual Studio generator and build with IDE, then you can simply choose configuration in IDE.
If you use msbuild to compile generated .sln file then you can use /p:Configuration=Release
argument to specify which configuration to compile.
If you use CMake to build generated sln file, then you can simply do run pass --config Release
argument to cmake.exe.
if you use different generator than Visual Studio, then pass -DCMAKE_CONFIGURATION_TYPES="Release"
argument to cmake.exe.
Thanks mmozeiko:
That worked.
I’m new to Cmake.