How can I create a macro for getting the library name a class is compiled into? Is there some way of getting this information from make?
Essentially I'd like to do something like:
# define LIBRARY_NAME (get info from make maybe?)
...
# ifdef LIBRARY_NAME
static const char* s_lib_name = STRINGIZE(LIBRARY_NAME);
Thank you!