summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-02-22 14:12:10 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-02-22 14:12:10 (GMT)
commit4d30cb309cc0cd191e89a7969599b79dea111a08 (patch)
treebf13c85d5880e0dca26c24240dbc17e267a2ec7e /Source/cmGlobalGenerator.h
parent832fa0e6091c5c574fc60bfd67e0cf982c3b33d8 (diff)
downloadCMake-4d30cb309cc0cd191e89a7969599b79dea111a08.zip
CMake-4d30cb309cc0cd191e89a7969599b79dea111a08.tar.gz
CMake-4d30cb309cc0cd191e89a7969599b79dea111a08.tar.bz2
ENH: ctest now uses CMake global generator to do the build part of build-and-test
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 8cec0b9..6f4d3b4 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -93,6 +93,19 @@ public:
const char *projectName, const char *targetName,
std::string *output, cmMakefile* mf);
+
+ /**
+ * Build a file given the following information. This is a more direct call
+ * that is used by both CTest and TryCompile. If target name is NULL or
+ * empty then all is assumed. clean indicates if a "make clean" should be
+ * done first.
+ */
+ virtual int Build(const char *srcdir, const char *bindir,
+ const char *projectName, const char *targetName,
+ std::string *output,
+ const char *makeProgram, const char *config,
+ bool clean);
+
///! Set the CMake instance
void SetCMakeInstance(cmake *cm) {
this->m_CMakeInstance = cm; };