[cmake-developers] [PATCH] VS Fortran project file: Fix mismatch between OutputDirectory and OutputFile
Brad King
brad.king at kitware.com
Mon Feb 16 13:01:30 EST 2015
On 02/14/2015 03:56 PM, Vincent Newsum wrote:
> - << "\t\t\tOutputDirectory=\"" << configName << "\"\n";
> + << "\t\t\tOutputDirectory=\"" << target.GetDirectory(configName) << "\"\n";
Thanks. The OutputFile is computed differently for different target
types. We also need to encode the value for XML. Furthermore the
value of OutputDirectory is used for $(OutDir), and that is used
as CMAKE_CFG_INTDIR. The latter should be $(ConfigurationName)
instead so that we can change $(OutDir).
I've fixed both problems:
VS: Use $(ConfigurationName) as CMAKE_CFG_INTDIR in VS 7, 8, 9
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=aa2ba121
VS: Fix .vcproj and .vfproj file OutputDirectory generation
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fa8b30eb
-Brad
More information about the cmake-developers
mailing list