cmake/Help/command/remove_definitions.rst

12 lines
293 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
remove_definitions
------------------
2019-11-11 23:01:05 +01:00
Remove -D define flags added by :command:`add_definitions`.
2014-08-03 19:52:23 +02:00
2019-11-11 23:01:05 +01:00
.. code-block:: cmake
2014-08-03 19:52:23 +02:00
remove_definitions(-DFOO -DBAR ...)
2015-11-17 17:22:37 +01:00
Removes flags (added by :command:`add_definitions`) from the compiler
command line for sources in the current directory and below.