COMPILE_OPTIONS.rst 601 B

12345678910111213141516
  1. COMPILE_OPTIONS
  2. ---------------
  3. List of options to pass to the compiler.
  4. This property specifies the list of options given so far to the
  5. :command:`add_compile_options` command.
  6. This property is used to populate the :prop_tgt:`COMPILE_OPTIONS` target
  7. property, which is used by the generators to set the options for the
  8. compiler.
  9. Contents of ``COMPILE_OPTIONS`` may use "generator expressions" with the
  10. syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual
  11. for available expressions. See the :manual:`cmake-buildsystem(7)` manual
  12. for more on defining buildsystem properties.