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)

nmake generates an debug-application instead of an release.
Generating NMake-Makefiles with cmake-gui (out of the same Client) works.
Generating NMake-Makefiles on a differnt machine in a Visual Studio 10 -
x64 Command Line Client works.

"
cmake_minimum_required(VERSION 2.8.9)
    project(myapp)
    add_executable(myapp main.cpp)

   set_target_properties(myapp PROPERTIES LINK_FLAGS_RELEASE
"/SUBSYSTEM:CONSOLE")
"

CMake-Version 3.2.2

Is there anything i'm doing wrong?

Lutz
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to