diff options
author | Brad King <brad.king@kitware.com> | 2015-02-16 16:11:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-16 16:48:04 (GMT) |
commit | aa2ba12164046cd1812c3f3b67cadca856d51846 (patch) | |
tree | b6e09b9f2e0391d5865e9b4c3e38ae4a0ebff9c6 /Source/cmGlobalVisualStudio7Generator.h | |
parent | ec1ec47193fcab7084e8edd977d3bebd1e8c73cb (diff) | |
download | CMake-aa2ba12164046cd1812c3f3b67cadca856d51846.zip CMake-aa2ba12164046cd1812c3f3b67cadca856d51846.tar.gz CMake-aa2ba12164046cd1812c3f3b67cadca856d51846.tar.bz2 |
VS: Use $(ConfigurationName) as CMAKE_CFG_INTDIR in VS 7, 8, 9
This will allow us to use a value other than just the config name
for the project OutputDirectory setting used for $(OutDir).
Also use $(ConfigurationName) instead of $(OutDir) for the link
directory configuration suffix since that is a hard-coded instance of
a use case for CMAKE_CFG_INTDIR.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.h b/Source/cmGlobalVisualStudio7Generator.h index 201a6a6..b591653 100644 --- a/Source/cmGlobalVisualStudio7Generator.h +++ b/Source/cmGlobalVisualStudio7Generator.h @@ -94,7 +94,8 @@ public: std::string& dir); ///! What is the configurations directory variable called? - virtual const char* GetCMakeCFGIntDir() const { return "$(OutDir)"; } + virtual const char* GetCMakeCFGIntDir() const + { return "$(ConfigurationName)"; } /** Return true if the target project file should have the option LinkLibraryDependencies and link to .sln dependencies. */ |