Various macros useful for development. More...
|C++11 support is available. More...|
|Deprecated compiler warnings. More...|
|Prevents a function from being inlined. More...|
|Declare public visibility for libraries. More...|
Various macros useful for development.
Definition in file macros.hpp.
Declare public visibility for libraries.
This emits (in a cross platform way) the required symbols for setting whether a function/class should be visible or hidden. Note only does this protect the private parts of your library, but it can also greatly speed up the linking process.
To check what symbols are being exported for a gnu library,
Each package needs to create it's own macro to make use of the macro that cmake defines for library targets:
And use it alongside class or function definitions: