summaryrefslogtreecommitdiffstats
path: root/Source/cmConfigureFileCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-16 16:13:43 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-16 16:48:16 (GMT)
commitfa8b30ebb57da8ddc3e3616c4d212811abc19335 (patch)
treee3904002df78279e6b19c662eb7130d0c2725cb3 /Source/cmConfigureFileCommand.h
parentaa2ba12164046cd1812c3f3b67cadca856d51846 (diff)
downloadCMake-fa8b30ebb57da8ddc3e3616c4d212811abc19335.zip
CMake-fa8b30ebb57da8ddc3e3616c4d212811abc19335.tar.gz
CMake-fa8b30ebb57da8ddc3e3616c4d212811abc19335.tar.bz2
VS: Fix .vcproj and .vfproj file OutputDirectory generation
Teach cmLocalVisualStudio7Generator to set 'OutputDirectory' using the same method as is used to set the 'OutputFile' in the generated project file. Also, OutputDirectory only needs to be set for targets that run the linker or librarian. These two changes make the VS 7 OutputDirectory consistent with what cmVisualStudio10TargetGenerator generates for OutDir. Without this, since the VS Intel Fortran plugin for VS >= 10 still uses the VS 7 .vfproj file format, when executing test VSGNUFortran using Intel Fortran Compiler 15.xx, the following warning is issued just before compilation: TargetPath(...) does not match the Linker's OutputFile property value (...). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). Subsequently, an error is reported during linking. Inspired-by: Vincent Newsum <vynewsum@gmail.com>
Diffstat (limited to 'Source/cmConfigureFileCommand.h')
0 files changed, 0 insertions, 0 deletions