CMake/Tests/ExportImport/Export/testLibNoSONAME.c
Brad King 899458ab20 Tests: Cover NO_SONAME property for SHARED libraries
This property was added by commit v2.8.9~204^2~2 (Support building
shared libraries or modules without soname, 2012-04-22).  A test for
using the property on MODULE libraries was added by commit
v2.8.9~204^2~1 (Test NO_SONAME property, 2012-04-23).  Add such a test
for SHARED libraries too.
2015-08-20 10:38:34 -04:00

8 lines
206 B
C

#if defined(_WIN32) || defined(__CYGWIN__)
# define testLibNoSONAME_EXPORT __declspec(dllexport)
#else
# define testLibNoSONAME_EXPORT
#endif
testLibNoSONAME_EXPORT int testLibNoSONAME(void) { return 0; }