summaryrefslogtreecommitdiffstats
path: root/Help/command/remove_definitions.rst
blob: faad16dcbee658389ac83005bb69c68e34d87cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
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.