Hi, I just stumbled across the OBJECT flag in add_library. Now I wonder whether it also works for windows builds with dlexport and dlimport flags attached to symbols. Based on the documentation it seems like object files are built immediately. Is it possible that an object library is used in a dynamic library with its symbols get exported, and in a different target the symbols are hidden. From what I understood the source code of the object library has to be built twice, and the caller of the symbols has to be aware whether the exported symbol references or "normal" symbols shall be used.
regards Andreas -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
