diff options
author | Brad King <brad.king@kitware.com> | 2006-05-05 15:46:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-05-05 15:46:20 (GMT) |
commit | 323dc3a89aeadbff9651234b41983f5aabb60d98 (patch) | |
tree | 452309ff46416c174c5ea5d265a0220ec9f37b96 /Source/cmSourceFile.h | |
parent | d7faff7c08fe0c5cb5906e33e1c733a20c151a0a (diff) | |
download | CMake-323dc3a89aeadbff9651234b41983f5aabb60d98.zip CMake-323dc3a89aeadbff9651234b41983f5aabb60d98.tar.gz CMake-323dc3a89aeadbff9651234b41983f5aabb60d98.tar.bz2 |
ENH: Added information about target needing a source file when one cannot be found.
Diffstat (limited to 'Source/cmSourceFile.h')
-rw-r--r-- | Source/cmSourceFile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h index 656d5f0..3f81ea7 100644 --- a/Source/cmSourceFile.h +++ b/Source/cmSourceFile.h @@ -46,9 +46,10 @@ public: * in. The various extensions provided are tried on the name * (e.g., cxx, cpp) in the directory to find the actual file. */ - void SetName(const char* name, const char* dir, + bool SetName(const char* name, const char* dir, const std::vector<std::string>& sourceExts, - const std::vector<std::string>& headerExts); + const std::vector<std::string>& headerExts, + const char* target = 0); /** * Get the list of the custom commands for this source file |