cmake/Help/command/remove_definitions.rst
2019-11-11 23:01:05 +01:00

12 lines
293 B
ReStructuredText

remove_definitions
------------------
Remove -D define flags added by :command:`add_definitions`.
.. code-block:: cmake
remove_definitions(-DFOO -DBAR ...)
Removes flags (added by :command:`add_definitions`) from the compiler
command line for sources in the current directory and below.