>>>> Is there some option to export automatically some methods without using >>>> __declspec(dllexport)? >> >> No. There are workarounds like in >> http://stackoverflow.com/questions/225432/export-all-symbols-when-creating-a-dll >> but it's too much work. >> Basically you want to define a macro that resolves to >> __declspec(dllexport) when building the DLL and to nothing when only using >> libraries headers. >
CMake module GenerateExportHeader can help a little with this. John -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
