summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGhsMultiGenerator.h
diff options
context:
space:
mode:
authorFred Baksik <frodak17@gmail.com>2018-07-07 11:27:21 (GMT)
committerFred Baksik <frodak17@gmail.com>2018-07-07 11:27:21 (GMT)
commit5d40d2b44fe93e223bd7802797b4cd430656790e (patch)
tree8eb69b5edb8a0cc4676088aa23b933a8e90df1e0 /Source/cmGlobalGhsMultiGenerator.h
parent4330f10186e994b3a7b64729f8b4e64e10a30896 (diff)
downloadCMake-5d40d2b44fe93e223bd7802797b4cd430656790e.zip
CMake-5d40d2b44fe93e223bd7802797b4cd430656790e.tar.gz
CMake-5d40d2b44fe93e223bd7802797b4cd430656790e.tar.bz2
GHS: Support ARM, PPC, 86 architectures
-- Update -A option to choose target architecture. -- Update commentary about which variables are used to control toolset and target settings -- Remove setting CMAKE_SYSTEM_PROCESSOR because the value is overwritten to be "" by subsequent CMAKE processing
Diffstat (limited to 'Source/cmGlobalGhsMultiGenerator.h')
-rw-r--r--Source/cmGlobalGhsMultiGenerator.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmGlobalGhsMultiGenerator.h b/Source/cmGlobalGhsMultiGenerator.h
index ef1b66f..dc98cdc 100644
--- a/Source/cmGlobalGhsMultiGenerator.h
+++ b/Source/cmGlobalGhsMultiGenerator.h
@@ -40,13 +40,16 @@ public:
* Utilized by the generator factory to determine if this generator
* supports toolsets.
*/
- static bool SupportsToolset() { return false; }
+ static bool SupportsToolset() { return true; }
/**
* Utilized by the generator factory to determine if this generator
* supports platforms.
*/
- static bool SupportsPlatform() { return false; }
+ static bool SupportsPlatform() { return true; }
+
+ // Toolset / Platform Support
+ virtual bool SetGeneratorPlatform(std::string const& p, cmMakefile* mf);
/**
* Try to determine system information such as shared library