Compare commits
4 Commits
7c1612be63
...
bf937f5678
| Author | SHA1 | Date | |
|---|---|---|---|
|
bf937f5678
|
|||
|
12237c6e4f
|
|||
|
c9474e1214
|
|||
|
aa838c5824
|
@@ -14,6 +14,6 @@ target_include_directories(nova
|
|||||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(nova PROPERTIES
|
target_compile_definitions(nova
|
||||||
DEFINE_SYMBOL NOVA_EXPORT_SYMBOLS
|
PRIVATE NOVA_EXPORT_SYMBOLS
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -15,14 +15,13 @@
|
|||||||
#else
|
#else
|
||||||
#define NOVA_API __declspec(dllimport)
|
#define NOVA_API __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
#elif defined(NOVA_PLATFORM_MACOS) || defined(NOVA_PLATFORM_LINUX)
|
#elif defined(NOVA_PLATFORM_LINUX) || defined(NOVA_PLATFORM_MACOS)
|
||||||
#if defined(NOVA_EXPORT_SYMBOLS)
|
#if defined(NOVA_EXPORT_SYMBOLS)
|
||||||
#define NOVA_API __attribute__((visibility("default")))
|
#define NOVA_API __attribute__((visibility("default")))
|
||||||
#else
|
#else
|
||||||
#define NOVA_API
|
#define NOVA_API
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#warning "NOVA_API is not defined for this platform"
|
|
||||||
#define NOVA_API
|
#define NOVA_API
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user