[cmake-developers] [CMake 0014196]: Subdirectories in OUTPUT_NAME doesn't work anymore (VS2010)
Mantis Bug Tracker
mantis at public.kitware.com
Tue Jun 4 09:13:54 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14196
======================================================================
Reported By: Roman80
Assigned To:
======================================================================
Project: CMake
Issue ID: 14196
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-06-04 09:13 EDT
Last Modified: 2013-06-04 09:13 EDT
======================================================================
Summary: Subdirectories in OUTPUT_NAME doesn't work anymore
(VS2010)
Description:
Under VS2005 this works, but not in VS2010.
If I want to build my shared libraries under VS2005 I added
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
set_target_properties(MyTargetShared PROPERTIES
OUTPUT_NAME "dynamic/MyTargetShared")
which generates the shared library in
${CMAKE_BINARY_DIR}/bin/Release/dynamic/MyTargetShared.dll
The same behavior does not work under VS2010, here the shared library is
generated in
${CMAKE_BINARY_DIR}/bin/Release/MyTargetShared.dll
Is there a way to append a directory to the OUTPUT_DIRECTORY of the target?
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-06-04 09:13 Roman80 New Issue
======================================================================
More information about the cmake-developers
mailing list