This uses generator expressions to make sure the definitions are discovered transitively. The output _igate.cxx file also has its definitions applied to it via a source file property rather than via add_definitions(), which prevents them from leaking to other targets. |
||
|---|---|---|
| .. | ||
| AddBisonTarget.cmake | ||
| AddFlexTarget.cmake | ||
| BuildMetalib.cmake | ||
| CompositeSources.cmake | ||
| Interrogate.cmake | ||
| PackageConfig.cmake | ||
| Python.cmake | ||
| README.md | ||
| RunPzip.cmake | ||
| Versioning.cmake | ||
README.md
Directory Info
Directory: /cmake/macros
License: Unlicense
Description: This directory is used for CMake modules which may be unsafe
to use outside of a Panda3D project. These modules may rely on Panda3D specific
cmake variables, Panda3D's directory structure, or some other dependency.
They are not intended to be included in other projects directly, though you
are free to copy and adapt them to your own needs.