summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-23 14:56:53 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-23 14:56:53 (GMT)
commit34b8852dbe07e89b5f073c5c3c03e666c08b7a21 (patch)
tree295181dd0a52fc1ebf82a53b4fd9223ed895d441 /Source/cmLocalGenerator.cxx
parent007d2bbc50618a118fd18a203b97e6779ca58588 (diff)
downloadCMake-34b8852dbe07e89b5f073c5c3c03e666c08b7a21.zip
CMake-34b8852dbe07e89b5f073c5c3c03e666c08b7a21.tar.gz
CMake-34b8852dbe07e89b5f073c5c3c03e666c08b7a21.tar.bz2
ENH: Improve coverage support and add more verbosity
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 1e23d31..1f95d70 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -328,6 +328,10 @@ std::string cmLocalGenerator::GetFullTargetName(const char* n,
std::string cmLocalGenerator::ConvertToRelativeOutputPath(const char* p)
{
+ if ( m_Makefile->GetDefinition("CMAKE_NO_RELATIVE_PATHS") )
+ {
+ return cmSystemTools::ConvertToOutputPath(p);
+ }
// do not use relative paths for network build trees
// the network paths do not work
const char* outputDirectory = m_Makefile->GetHomeOutputDirectory();