summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorJohn Biddiscombe <jbiddiscombe@skippingmouse.co.uk>2001-06-22 13:47:02 (GMT)
committerJohn Biddiscombe <jbiddiscombe@skippingmouse.co.uk>2001-06-22 13:47:02 (GMT)
commite1e7b8adcafed947de7845b82420634d3b302268 (patch)
tree60072901f600bfe3ed0c3ba288e7b72ff8727e04 /Source/cmMakefile.h
parent6bf0be8e134288b31b8c3bc4bebe6ed11c1b7570 (diff)
downloadCMake-e1e7b8adcafed947de7845b82420634d3b302268.zip
CMake-e1e7b8adcafed947de7845b82420634d3b302268.tar.gz
CMake-e1e7b8adcafed947de7845b82420634d3b302268.tar.bz2
ENH: Added RemoveSource(...) to complement AddSource. New command
SOURCE_FILES_REMOVE uses it and can be used to take files out of the build
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index bce13ac..d430f04 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -233,6 +233,11 @@ public:
void AddSource(cmSourceFile& ,const char *srcListName);
/**
+ * Remove a class/source file from the build.
+ */
+ void RemoveSource(cmSourceFile& ,const char *srcListName);
+
+ /**
* Add a source group for consideration when adding a new source.
*/
void AddSourceGroup(const char* name, const char* regex);