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
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to