mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Teach `export()` and `install(EXPORT)` to record this setting on the imported targets they generate. Make this property's non-presence authoritative on imported targets since they represent what was built elsewhere.
11 lines
166 B
C
11 lines
166 B
C
#if defined(_WIN32) || defined(__CYGWIN__)
|
|
# define EXPORT __declspec(dllexport)
|
|
#else
|
|
# define EXPORT
|
|
#endif
|
|
|
|
EXPORT int testSharedObjectAIX(void)
|
|
{
|
|
return 0;
|
|
}
|