diff options
| author | Craig Scott <craig.scott@crascit.com> | 2021-05-15 06:23:54 (GMT) |
|---|---|---|
| committer | Craig Scott <craig.scott@crascit.com> | 2021-05-15 06:30:46 (GMT) |
| commit | b20c1f4880aa7fb764f4e2a47b92fca846e84941 (patch) | |
| tree | 449debef5943b01052bb8cd78e9335e311776355 /Tests/RunCMake/FileAPI | |
| parent | 639a6bd4c75740d339c8d28f5aba758a0fe11664 (diff) | |
| download | CMake-b20c1f4880aa7fb764f4e2a47b92fca846e84941.zip CMake-b20c1f4880aa7fb764f4e2a47b92fca846e84941.tar.gz CMake-b20c1f4880aa7fb764f4e2a47b92fca846e84941.tar.bz2 | |
Help: Make SHELL option examples more generic
Comments at the bottom of the docs for add_compile_options() and
target_compile_options() recommend using other commands if setting
compiler definitions. Change the examples we use for the SHELL:
functionality to use -option instead of -D so that we don't violate our
own recommendations. This also makes the examples more
appropriate for use with link options as well.
Tweak the wording to not specify the type of option being discussed.
This will already be clear from the page the text is included into and
it avoids naming unrelated option types for the given page.
Diffstat (limited to 'Tests/RunCMake/FileAPI')
0 files changed, 0 insertions, 0 deletions
