diff options
author | Brad King <brad.king@kitware.com> | 2008-02-14 21:42:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-14 21:42:29 (GMT) |
commit | 1c0595c73fe1fa88b67691794eef8ee10edfc257 (patch) | |
tree | fd453a6e799d7d5f4ee6e1f01096a40cb8aadb1d /Source/cmGlobalUnixMakefileGenerator3.h | |
parent | 67f8c0fd104fe6ec1b6c1df2ebce6fdb9b2c811f (diff) | |
download | CMake-1c0595c73fe1fa88b67691794eef8ee10edfc257.zip CMake-1c0595c73fe1fa88b67691794eef8ee10edfc257.tar.gz CMake-1c0595c73fe1fa88b67691794eef8ee10edfc257.tar.bz2 |
ENH: Add global property ALLOW_DUPLICATE_CUSTOM_TARGETS to help existing projects that depend on having duplicate custom targets. It is allowed only for Makefile generators. See bug#6348.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h index 4a6421e..cf80599 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.h +++ b/Source/cmGlobalUnixMakefileGenerator3.h @@ -162,6 +162,8 @@ protected: virtual const char* GetRebuildCacheTargetName() { return "rebuild_cache"; } virtual const char* GetCleanTargetName() { return "clean"; } + virtual bool CheckALLOW_DUPLICATE_CUSTOM_TARGETS() { return true; } + // Some make programs (Borland) do not keep a rule if there are no // dependencies or commands. This is a problem for creating rules // that might not do anything but might have other dependencies |