summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 28a5c3e..620691b 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -165,10 +165,8 @@ public:
/**
* Add an executable to the build.
*/
- void AddExecutable(const char *exename,
+ cmTarget* AddExecutable(const char *exename,
const std::vector<std::string> &srcs);
- void AddExecutable(const char *exename,
- const std::vector<std::string> &srcs, bool win32);
/**
* Add a utility to the build. A utiltity target is
@@ -617,6 +615,11 @@ public:
* Get a list of macros as a ; separated string
*/
void GetListOfMacros(std::string& macros);
+
+ /**
+ * Return a location of a file in cmake or custom modules directory
+ */
+ std::string GetModulesFile(const char* name);
protected:
// add link libraries and directories to the target