summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGhsMultiGenerator.cxx
diff options
context:
space:
mode:
authorNaren Manimohan <narendhar15@gmail.com>2019-03-21 16:00:04 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-21 16:57:40 (GMT)
commit0404efe786b1e2c5c28065a53e55ec77217e7b49 (patch)
tree57e5ad638820c1894bf070b51741c454cb6b7584 /Source/cmGlobalGhsMultiGenerator.cxx
parent2060a1445c6c6350eb886cfe70f956dccaef798e (diff)
downloadCMake-0404efe786b1e2c5c28065a53e55ec77217e7b49.zip
CMake-0404efe786b1e2c5c28065a53e55ec77217e7b49.tar.gz
CMake-0404efe786b1e2c5c28065a53e55ec77217e7b49.tar.bz2
GHS: Add support for GHS Multi Generator in Linux
Diffstat (limited to 'Source/cmGlobalGhsMultiGenerator.cxx')
-rw-r--r--Source/cmGlobalGhsMultiGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.cxx b/Source/cmGlobalGhsMultiGenerator.cxx
index dd2e100..690398f 100644
--- a/Source/cmGlobalGhsMultiGenerator.cxx
+++ b/Source/cmGlobalGhsMultiGenerator.cxx
@@ -22,8 +22,13 @@
#include <utility>
const char* cmGlobalGhsMultiGenerator::FILE_EXTENSION = ".gpj";
+#ifdef __linux__
+const char* cmGlobalGhsMultiGenerator::DEFAULT_BUILD_PROGRAM = "gbuild";
+const char* cmGlobalGhsMultiGenerator::DEFAULT_TOOLSET_ROOT = "/usr/ghs";
+#elif defined(_WIN32)
const char* cmGlobalGhsMultiGenerator::DEFAULT_BUILD_PROGRAM = "gbuild.exe";
const char* cmGlobalGhsMultiGenerator::DEFAULT_TOOLSET_ROOT = "C:/ghs";
+#endif
cmGlobalGhsMultiGenerator::cmGlobalGhsMultiGenerator(cmake* cm)
: cmGlobalGenerator(cm)