diff options
author | Fred Baksik <frodak17@gmail.com> | 2019-01-09 04:52:12 (GMT) |
---|---|---|
committer | Fred Baksik <frodak17@gmail.com> | 2019-01-16 15:42:00 (GMT) |
commit | 436cc5e991c7be07610d7902a5ce2a00221ca0a2 (patch) | |
tree | 912fdd8810121d1bc39520340b999c6c7c9ed7c0 /Source/cmState.cxx | |
parent | 4a1ec0de3d2102918284eff13763f2aa3d20d119 (diff) | |
download | CMake-436cc5e991c7be07610d7902a5ce2a00221ca0a2.zip CMake-436cc5e991c7be07610d7902a5ce2a00221ca0a2.tar.gz CMake-436cc5e991c7be07610d7902a5ce2a00221ca0a2.tar.bz2 |
GHS: try_compile() now uses GHS platform variables
-- Forward GHS platform variables to try_compile()
CMAKE_TRY_COMPILE_PLATFORM_VARIABLES only worked for source signature try_compile()
-- Update tests to no longer add GHS platform variables to try_compile()
-- Avoid linker error in GhsMulti/GhsMultiCompilerOptions/CMakeLists.txt by building library
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r-- | Source/cmState.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx index f664000..94a84e5 100644 --- a/Source/cmState.cxx +++ b/Source/cmState.cxx @@ -593,6 +593,16 @@ bool cmState::UseWindowsVSIDE() const return this->WindowsVSIDE; } +void cmState::SetGhsMultiIDE(bool ghsMultiIDE) +{ + this->GhsMultiIDE = ghsMultiIDE; +} + +bool cmState::UseGhsMultiIDE() const +{ + return this->GhsMultiIDE; +} + void cmState::SetWatcomWMake(bool watcomWMake) { this->WatcomWMake = watcomWMake; |