summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-07 21:12:37 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-07 21:12:37 (GMT)
commit52eb0ccac76b0f4066af11d9ed4537204633548a (patch)
tree78505b8e32417eaf945c8a2ca929a11f8c1644cc /Source/cmLocalGenerator.h
parent9f2790d3e7e5a1e8e564d7f670fe2ff8b28cf6e6 (diff)
downloadCMake-52eb0ccac76b0f4066af11d9ed4537204633548a.zip
CMake-52eb0ccac76b0f4066af11d9ed4537204633548a.tar.gz
CMake-52eb0ccac76b0f4066af11d9ed4537204633548a.tar.bz2
BUG: Restore old interface of "make foo.o" and "make foo.i" even though object file names now include source extensions. For Java we also need to always remove the source extension (.java -> .class). This fixes the re-opening of bug #6169.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 7c61ced..ac520b0 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -314,7 +314,8 @@ protected:
// Compute object file names.
std::string GetObjectFileNameWithoutTarget(const cmSourceFile& source,
- std::string::size_type dir_len);
+ std::string::size_type dir_len,
+ bool* hasSourceExtension = 0);
std::string& CreateSafeUniqueObjectFileName(const char* sin,
std::string::size_type dir_len);