summaryrefslogtreecommitdiff
path: root/Source/cmLocalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-12-17 11:11:55 -0500
committerDavid Cole <david.cole@kitware.com>2010-12-17 11:11:55 -0500
commit66e79175327249aa2f0c80f5bd4a360b5b628bff (patch)
treecdeb74d2df2d8a3833921471b9ff9b4b1d962582 /Source/cmLocalVisualStudio10Generator.h
parentd11c70295b072d19c90c3e5d415d27de10253615 (diff)
downloadcmake-66e79175327249aa2f0c80f5bd4a360b5b628bff.tar.gz
VS10: stop build on custom command error (#11533)
In VS9 and previous versions, :VCReportError is the goto label to jump to after a failed custom command. It stops the build before it tries to go any further. In VS10, :VCEnd is the correct label to use. Create a method in the VS generators to provide the correct line of script to use for each version of Visual Studio. For more internal details, search for VCEnd in the C:\Program Files\MSBuild directory.
Diffstat (limited to 'Source/cmLocalVisualStudio10Generator.h')
-rw-r--r--Source/cmLocalVisualStudio10Generator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.h b/Source/cmLocalVisualStudio10Generator.h
index 5694220aa8..06b8b09392 100644
--- a/Source/cmLocalVisualStudio10Generator.h
+++ b/Source/cmLocalVisualStudio10Generator.h
@@ -36,6 +36,10 @@ public:
virtual void Generate();
virtual void ReadAndStoreExternalGUID(const char* name,
const char* path);
+
+protected:
+ virtual std::string CheckForErrorLine();
+
private:
};
#endif