All definitions in Jolt.cmake are PUBLIC #1307
Replies: 2 comments
-
Hmm, I guess they're all prefixed with JPH_, the only ones that aren't are _DEBUG, NDEBUG, and _HAS_EXCEPTIONS=0. I don't have a conflict or anything I'm just wondering why. |
Beta Was this translation helpful? Give feedback.
-
They aren't PRIVATE since most of them affect generated code for the application. E.g. if Most of the defines cause the code to be different enough to either cause linker errors or crashes since class sizes / virtual function pointer tables are incompatible. |
Beta Was this translation helpful? Give feedback.
-
Which means any user of the library, at least through CMake, will inherit those definitions. Why aren't they PRIVATE?
Beta Was this translation helpful? Give feedback.
All reactions