On Mon, May 25, 2009 at 11:28:02AM +0200, [email protected] 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 Studio" ) > > ok, this was easy. The static lib is now indeed generated in the > desired location BUT when it comes to the dynamic compilation the DLL > is placed correctly in the output directory BUT the import library is > always put in a debug or release subdirectory which is quite annoying.
I also use the "prefix hack" and my .lib and .dll end up in the same place. Maybe you're not setting ARCHIVE_OUTPUT_DIRECTORY in the same way you set LIBRARY_OUTPUT_DIRECTORY? tyler _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
