summaryrefslogtreecommitdiff
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-05-12 17:43:45 -0400
committerBrad King <brad.king@kitware.com>2008-05-12 17:43:45 -0400
commit771bdb7ef84b99f29b87c5424a78daf1d49c9dc7 (patch)
treed441dabefe0a3e05aee18941277bc39498035e8f /Source/cmTarget.h
parent96525cf3c36650e2257f37a63d61a1244e4aa486 (diff)
downloadcmake-771bdb7ef84b99f29b87c5424a78daf1d49c9dc7.tar.gz
BUG: Make sure all source files are found before generating.
- Previously this was done implicitly by the check for a target link language which checked all source full paths. - The recent change to support computing a link language without finding all the source files skipped the implicit check. - This change adds an explicit check to find all source files.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 2bb0f003d6..af94876cb4 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -271,6 +271,11 @@ public:
*/
void TraceDependencies(const char* vsProjectFile);
+ /**
+ * Make sure the full path to all source files is known.
+ */
+ bool FindSourceFiles();
+
///! Return the prefered linker language for this target
const char* GetLinkerLanguage(cmGlobalGenerator*);