CMake/Help/command/remove_definitions.rst
Joachim Wuttke (o) adbaadf0ee Help: Apply syntax highlighting to project commands
* Replace most "::" by ".. code-block:: cmake"
  * Header sentence in imperative voice,
    detailed command description in present tense.
2018-10-25 13:47:31 +02: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.