summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-05-05 15:46:20 (GMT)
committerBrad King <brad.king@kitware.com>2006-05-05 15:46:20 (GMT)
commit323dc3a89aeadbff9651234b41983f5aabb60d98 (patch)
tree452309ff46416c174c5ea5d265a0220ec9f37b96 /Source/cmSourceFile.h
parentd7faff7c08fe0c5cb5906e33e1c733a20c151a0a (diff)
downloadCMake-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.h5
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