diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-09 13:48:44 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-09 13:48:44 (GMT) |
commit | 2d4b06c8e55cb78434d9bb8f558c97feccf6335b (patch) | |
tree | b54c043bf7815e0a969f4da04469af72ac3667b8 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | a7fcb0741854c9759cc64cb2cf482876c01230fd (diff) | |
download | CMake-2d4b06c8e55cb78434d9bb8f558c97feccf6335b.zip CMake-2d4b06c8e55cb78434d9bb8f558c97feccf6335b.tar.gz CMake-2d4b06c8e55cb78434d9bb8f558c97feccf6335b.tar.bz2 |
ENH: some better error reporting and more robust handlign of bad targets
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index df0c2c0..1e2ce43 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -864,7 +864,8 @@ cmLocalUnixMakefileGenerator3 // Make sure there is a target. if(!target || !*target) { - cmSystemTools::Error("No target for WriteMakeRule!"); + cmSystemTools::Error("No target for WriteMakeRule! called with comment: ", + comment); return; } |