summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-15 14:55:21 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-15 14:55:21 (GMT)
commitf4b3bdc6bef35e10791e6dd013edd58f70d0b33a (patch)
tree772e1d9d0f30c0ff3eb657c7744d2b0fad177c7b /Source/cmLocalVisualStudio7Generator.h
parentd30923d6313856bf1b05cb093514947437f6e8b5 (diff)
downloadCMake-f4b3bdc6bef35e10791e6dd013edd58f70d0b33a.zip
CMake-f4b3bdc6bef35e10791e6dd013edd58f70d0b33a.tar.gz
CMake-f4b3bdc6bef35e10791e6dd013edd58f70d0b33a.tar.bz2
BUG: Create an exe's implib output dir for VS
If an executable marks symbols with __declspec(dllexport) then VS creates an import library for it. However, it forgets to create the directory that will contain the import library if it is different from the location of the executable. We work around this VS bug by creating a pre-build event on the executable target to make the directory.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.h')
-rw-r--r--Source/cmLocalVisualStudio7Generator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.h b/Source/cmLocalVisualStudio7Generator.h
index 8796130..0a62f23 100644
--- a/Source/cmLocalVisualStudio7Generator.h
+++ b/Source/cmLocalVisualStudio7Generator.h
@@ -125,6 +125,8 @@ private:
class EventWriter;
friend class EventWriter;
+ void MaybeCreateImplibDir(cmTarget& target, const char* config,
+ EventWriter& event);
cmVS7FlagTable const* ExtraFlagTable;
std::string ModuleDefinitionFile;