Debian Codegraph @

test cases/cmake/6 object library no dep/subprojects/cmObjLib/libA.hpp

raw
1 #pragma once
2
3 #include <string>
4
5 #if defined _WIN32 || defined __CYGWIN__
6 #define DLL_PUBLIC __declspec(dllexport)
7 #else
8 #if defined __GNUC__
9 #define DLL_PUBLIC __attribute__ ((visibility("default")))
10 #else
11 #pragma message ("Compiler does not support symbol visibility.")
12 #define DLL_PUBLIC
13 #endif
14 #endif
15
16 std::string DLL_PUBLIC getLibStr();