summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-28 16:19:15 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-28 16:19:15 (GMT)
commitb38c2929b0aec6f7ac994ab1e9cbf13052ab1ad6 (patch)
treece5d9ae3c3a39853b38ce29e7eb41a4a06206b5c /Source/cmLocalVisualStudio6Generator.h
parent90b8164e444699d97982b199b423a529f66eb13e (diff)
downloadCMake-b38c2929b0aec6f7ac994ab1e9cbf13052ab1ad6.zip
CMake-b38c2929b0aec6f7ac994ab1e9cbf13052ab1ad6.tar.gz
CMake-b38c2929b0aec6f7ac994ab1e9cbf13052ab1ad6.tar.bz2
Create a static library's output dir for VS 6
VS 6 forgets to create the output directory for a static library if it differs from the intermediate files directory. We work around this VS bug by creating a pre-link event on the library target to make the directory.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.h')
-rw-r--r--Source/cmLocalVisualStudio6Generator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.h b/Source/cmLocalVisualStudio6Generator.h
index 7279869..195d654 100644
--- a/Source/cmLocalVisualStudio6Generator.h
+++ b/Source/cmLocalVisualStudio6Generator.h
@@ -81,6 +81,8 @@ private:
std::ostream &fout, const char *libName);
class EventWriter;
friend class EventWriter;
+ cmsys::auto_ptr<cmCustomCommand>
+ MaybeCreateOutputDir(cmTarget& target, const char* config);
std::string CreateTargetRules(cmTarget &target,
const char* configName,
const char *libName);