summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-28 23:59:19 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-28 23:59:19 (GMT)
commitb1a74218401a6d990b570cae8141cad97fb8dc19 (patch)
tree3775e35ac3f08525ad6808e53f0faf027fe9f357 /Source/cmMakefile.h
parent6ab87555ea483601cb1829f3b6e9d3d77d6746ff (diff)
downloadCMake-b1a74218401a6d990b570cae8141cad97fb8dc19.zip
CMake-b1a74218401a6d990b570cae8141cad97fb8dc19.tar.gz
CMake-b1a74218401a6d990b570cae8141cad97fb8dc19.tar.bz2
ENH: Styart working on bundles support and abstract WIN32_EXECUTABLE
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