Re: [CMake] Visual Studio and dynamic project

2009-05-25 Thread Tyler Roscoe
On Mon, May 25, 2009 at 11:28:02AM +0200, ariasg...@gmx.de wrote: > IF( CMAKE_GENERATOR MATCHES "Visual Studio" ) > # this prevents generation of /debug or /release directories > SET_TARGET_PROPERTIES( ${PROJECTNAME} PROPERTIES PREFIX "../" ) > ENDIF( CMAKE_GENERATOR MATCHES "Visual St

[CMake] Visual Studio and dynamic project

2009-05-25 Thread ariasgore
Hello, I have a project which is supposed to be built as static and dynamic one. Visual studio has this annoying behaviour to add always a debug and a release directoriy to the output directory. So this is fixed by prefixing the path with ../ IF( CMAKE_GENERATOR MATCHES "Visual Studio" )