[CMake] NMake VC13 Release generates Debug
Nils Gladitz
nilsgladitz at gmail.com
Thu Apr 30 05:36:52 EDT 2015
On 04/30/2015 11:19 AM, Lutz Malchus wrote:
> Hi CMaker,
>
> when i start
>
> cmake –DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" ..
>
> in a Visual Studio 13 - x64 Command Line Client (with clear build-dir)
I assume you mean Visual Studio 12 - 2013?
"–DCMAKE_BUILD_TYPE=Release" is wrong.
"-DCMAKE_BUILD_TYPE=Release" is correct.
You are using – (U+2013 EN DASH) where you should be using - (U+002D
HYPHEN-MINUS).
Nils
More information about the CMake
mailing list