summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-03 15:53:41 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-03 15:53:41 (GMT)
commit038abb867e0d4276ff10b59a3e9388bcbb646525 (patch)
tree6159dee7aa5d91cd897cf7783b5f49be07050bcc /Source/cmLocalGenerator.cxx
parenta721b9640732c60d282896cdf64691758ffe8bca (diff)
downloadCMake-038abb867e0d4276ff10b59a3e9388bcbb646525.zip
CMake-038abb867e0d4276ff10b59a3e9388bcbb646525.tar.gz
CMake-038abb867e0d4276ff10b59a3e9388bcbb646525.tar.bz2
ENH: Add support for install postfix
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 4c8262e..1e23d31 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -83,6 +83,13 @@ void cmLocalGenerator::GenerateInstallRules()
fout << "# Install script for directory: " << m_Makefile->GetCurrentDirectory()
<< std::endl << std::endl;
+ const char* cmakeDebugPosfix = m_Makefile->GetDefinition("CMAKE_DEBUG_POSTFIX");
+ if ( cmakeDebugPosfix )
+ {
+ fout << "SET(CMAKE_DEBUG_POSTFIX \"" << cmakeDebugPosfix << "\")"
+ << std::endl << std::endl;
+ }
+
std::string libOutPath = "";
if (m_Makefile->GetDefinition("LIBRARY_OUTPUT_PATH"))
{