Back to Cmake

INTERFACE_COMPILE_OPTIONS

Help/prop_fs/INTERFACE_COMPILE_OPTIONS.rst

4.4.0506 B
Original Source

INTERFACE_COMPILE_OPTIONS

.. versionadded:: 4.4

.. |property_name| replace:: compile options .. |command_name| replace:: :command:set_property(FILE_SET) .. |PROPERTY_INTERFACE_NAME| replace:: INTERFACE_COMPILE_OPTIONS .. include:: include/INTERFACE_BUILD_PROPERTY.rst

Related properties:

  • Use :prop_fs:INTERFACE_COMPILE_DEFINITIONS to pass additional preprocessor definitions.
  • Use :prop_fs:INTERFACE_INCLUDE_DIRECTORIES to pass additional include directories.