CMake/Help/command/remove_definitions.rst

12 lines
275 B
ReStructuredText

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