#pragma once // Stub export header for LtsProjectionWorkstation // (the real header is generated by CMake via GENERATE_EXPORT_HEADER when the // library is built; this stub covers non-RTI builds and is found first on the // -I line because the source include/ dir precedes the build tree) #ifndef LTSPROJECTIONWORKSTATION_EXPORT_H #define LTSPROJECTIONWORKSTATION_EXPORT_H // 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 LtsProjectionWorkstation class symbols // would be hidden and consumers (e.g. OperatorApplication) fail to link // libLtsProjectionWorkstation.so. // If the library is not built, the attribute is harmless: it only changes // visibility, not symbol resolution. #if defined(_MSC_VER) # define LTSPROJECTIONWORKSTATION_EXPORT __declspec(dllexport) #else # define LTSPROJECTIONWORKSTATION_EXPORT __attribute__((visibility("default"))) #endif #define LTSPROJECTIONWORKSTATION_NO_EXPORT #endif // LTSPROJECTIONWORKSTATION_EXPORT_H