MantisBT - CMake
View Issue Details
0008555CMakeCMakepublic2009-02-18 08:062009-02-18 08:13
Philip Lowman 
 
normalfeatureN/A
closedduplicate 
CMake-2-6 
 
0008555: Ability to generate targets outside of Visual Studio's "Release" or "Debug" folders
A common request on the mailing list appears to be to support generating library and binary targets with Visual Studio outside of the "Debug" and "Release" folders typically up a directory.

Using the PREFIX hack this is possible, but ugly. Using it comes with a *WARNING* to be *SURE* you have unique filenames for all of your targets as Visual Studio will simply overwrite them if you do not with whatever configuration type was built last.

if(MSVC)
   set_target_properties(foo PROPERTIES PREFIX "../")
endif()

Better support for changing the output directory of multi-solution generators would be useful.
No tags attached.
duplicate of 0008243closed David Cole Users cannot adequately control where Visual Studio writes its output files 
duplicate of 0009163closed Brad King A way to set different output paths for MSVC Debug/Release configurations 
Issue History
2009-02-18 08:06Philip LowmanNew Issue
2009-02-18 08:08Philip LowmanSeverityminor => feature
2009-02-18 08:08Philip LowmanReproducibilityalways => N/A
2009-02-18 08:13Philip LowmanRelationship addedduplicate of 0008243
2009-02-18 08:13Philip LowmanStatusnew => closed
2009-02-18 08:13Philip LowmanResolutionopen => duplicate
2009-10-28 14:26Brad KingRelationship addedduplicate of 0009163

There are no notes attached to this issue.