remove_definitions.rst 293 B

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