Replies: 2 comments 3 replies
-
When using the spdlog as header-only internally inside my static library, the following seems to do the job, inside my C++ (.cpp/.cxx) source file:
Would that be just fine? |
Beta Was this translation helpful? Give feedback.
-
The same answer as #1937. |
Beta Was this translation helpful? Give feedback.
-
Is it possible for a static library to internally use spdlog (header-only), and then have a client application linking to the static library and using another instance of spdlog as well?
I see this is similar to discussion #1937 started by @simone-gaia but there is a main difference: "my" static library does not intend to share its internal spdlog instance with the client application. (So clearly, my static library has no spdlog header #include's in its own header files.) The client application should just use its own spdlog instance. Would that be OK?
Beta Was this translation helpful? Give feedback.
All reactions