diff options
| author | Fred Baksik <fdk17@ftml.net> | 2021-11-15 18:15:12 (GMT) |
|---|---|---|
| committer | Fred Baksik <fdk17@ftml.net> | 2021-11-15 18:15:12 (GMT) |
| commit | aa59eaac4faf04f1c195be4463795a7953de7fde (patch) | |
| tree | 120c268bf49fb59908485e67f36981423693f95a /Help/guide/tutorial/Step5/tutorial.cxx | |
| parent | ab6f0b51b110dabfeed231f9c5ed9e816f480335 (diff) | |
| download | CMake-aa59eaac4faf04f1c195be4463795a7953de7fde.zip CMake-aa59eaac4faf04f1c195be4463795a7953de7fde.tar.gz CMake-aa59eaac4faf04f1c195be4463795a7953de7fde.tar.bz2 | |
GHS: Allow setting GHS variables from toolchain file
* Update generator to use the current variable definition,
not the CACHE definition.
* Avoid overwriting toolchain variables and avoid developer warnings
when setting up the GHS variables.
-- A cache entry is only required when:
a) The toolchain uses set( CACHE ) to set the variable
b) A -D or preset value was used to set the variable
The cache entry is required so that the TYPE gets set properly.
-- Avoid the Policy CMP0126 warnings:
setting cache variable when normal variable exists
* Move GHS_PRIMARY_TARGET back into area so non-GHS generator
toolchain file can trigger the OS search.
Diffstat (limited to 'Help/guide/tutorial/Step5/tutorial.cxx')
0 files changed, 0 insertions, 0 deletions
