#ifndef LTSSESSION_EXPORT_H #define LTSSESSION_EXPORT_H // Stub export header for LtsSession when built without RTI // This file is generated by CMake when building with RTI // For non-RTI builds, we provide this stub // Must expand to a default-visibility attribute, NOT to empty: the build sets // CMAKE_CXX_VISIBILITY_PRESET=hidden, and this stub is found before the // CMake-generated header (the source include/ dir precedes the build tree on // the -I line). With an empty macro the LtsSession class symbols would be // hidden and consumers (e.g. LtsFileDialog) fail to link libLtsSession.so. // If the library is not built, the attribute is harmless: it only changes // visibility, not symbol resolution. #if defined(_MSC_VER) # define LTSSESSION_EXPORT __declspec(dllexport) #else # define LTSSESSION_EXPORT __attribute__((visibility("default"))) #endif #define LTSSESSION_NO_EXPORT #endif // LTSSESSION_EXPORT_H