Prevent #include of particular headers when a C++ project is built to a DLL?
I’m planning to build a C++ project to a DLL for other C++ projects to use. When building the DLL, as you may assume I want all compiled header objects from the project to be linked into the DLL build. However, I don’t want all those headers to be accessible to users of the DLL.
Prevent #include of particular headers when a C++ project is built to a DLL?
I’m planning to build a C++ project to a DLL for other C++ projects to use. When building the DLL, as you may assume I want all compiled header objects from the project to be linked into the DLL build. However, I don’t want all those headers to be accessible to users of the DLL.