summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/target_link_libraries-LINK_LANGUAGE/func.cxx
blob: ee6811c1d8c4825688d2e03c8a6a4e7ffeb1c253 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#if !defined(BUILD_STATIC) && defined(_WIN32)
#  define EXPORT_SYMBOL __declspec(dllexport)
#else
#  define EXPORT_SYMBOL
#endif

EXPORT_SYMBOL
void func_cxx()
{
}

extern "C" {
EXPORT_SYMBOL
void func_c_cxx()
{
}
}