This removes the requirement that it only be included in a single C++ file per library, by forcing the compiler to emit the function that references the version symbol as a weak symbol itself. Now, the linker will not only tolerate redundant inclusions, it will also coalesce them together. |
||
|---|---|---|
| .. | ||
| metalibs | ||
| src | ||
| CMakeLists.txt | ||
| Config.cmake | ||
| LocalSetup.cmake | ||
| Package.cmake | ||
| PandaVersion.cmake | ||
| PandaVersion.pp | ||
| dtool_config.h.in | ||