summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-20 17:15:56 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-20 17:15:56 (GMT)
commit157e2b4ac3a067107561d4ccc2b08ea3555cce44 (patch)
treeaf1a9357c08c2b99ebeabd787e3b5f19bb56e062 /Source/cmGlobalGenerator.h
parent92714311c992a924a249bf9f27820f0512af7013 (diff)
downloadCMake-157e2b4ac3a067107561d4ccc2b08ea3555cce44.zip
CMake-157e2b4ac3a067107561d4ccc2b08ea3555cce44.tar.gz
CMake-157e2b4ac3a067107561d4ccc2b08ea3555cce44.tar.bz2
Add option of TRY_COMPILE to store the output of compilation so that if the output fails you can display it or store it in the file
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 4f994fb..226a67b 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -87,7 +87,8 @@ public:
* loaded commands, not as part of the usual build process.
*/
virtual int TryCompile(const char *srcdir, const char *bindir,
- const char *projectName, const char *targetName);
+ const char *projectName, const char *targetName,
+ std::string *output);
///! Set the CMake instance
void SetCMakeInstance(cmake *cm) {