diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-02-03 15:53:41 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-02-03 15:53:41 (GMT) |
commit | 038abb867e0d4276ff10b59a3e9388bcbb646525 (patch) | |
tree | 6159dee7aa5d91cd897cf7783b5f49be07050bcc /Source/cmLocalGenerator.cxx | |
parent | a721b9640732c60d282896cdf64691758ffe8bca (diff) | |
download | CMake-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.cxx | 7 |
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")) { |