summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-17 15:54:11 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-03-31 21:18:43 (GMT)
commit0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6 (patch)
tree8536c32f3e3d496b6987a64b9bd5bc02752a9da9 /Source/cmTarget.h
parent99a9c51f1a65b58f366506929b3b82297809c1ca (diff)
downloadCMake-0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6.zip
CMake-0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6.tar.gz
CMake-0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6.tar.bz2
cmTarget: Rename AddSource method for backward compatibility.
Add a new AddSource method for future use.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 3ef853b..e385443 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -146,6 +146,7 @@ public:
* Add sources to the target.
*/
void AddSources(std::vector<std::string> const& srcs);
+ cmSourceFile* AddSourceCMP0049(const std::string& src);
cmSourceFile* AddSource(const std::string& src);
enum LinkLibraryType {GENERAL, DEBUG, OPTIMIZED};