mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-14 18:51:42 -06: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;
|
|
}
|