DEFINE_SYMBOL.rst 477 B

1234567891011
  1. DEFINE_SYMBOL
  2. -------------
  3. Define a symbol when compiling this target's sources.
  4. DEFINE_SYMBOL sets the name of the preprocessor symbol defined when
  5. compiling sources in a shared library. If not set here then it is set
  6. to target_EXPORTS by default (with some substitutions if the target is
  7. not a valid C identifier). This is useful for headers to know whether
  8. they are being included from inside their library or outside to
  9. properly setup dllexport/dllimport decorations.