Skip to content

Commit

Permalink
updaete
Browse files Browse the repository at this point in the history
Signed-off-by: abaojin <[email protected]>
  • Loading branch information
abaojin committed Feb 23, 2017
1 parent a93d7d2 commit 440fab2
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions NativePlugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ if (APPLE)
set_target_properties ( tstunity PROPERTIES BUNDLE TRUE )
endif ()
else ( )
add_definitions("-DLIBTST_BUILD")
add_library(tstunity SHARED
${TSTUNITY_CORE}
)
Expand Down
10 changes: 7 additions & 3 deletions NativePlugins/tstunity/tstunity_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
config
*/

#if defined(_MSC_VER)
#define TST_API __declspec(dllexport)
#if defined _WIN32
#if LIBTST_BUILD
#define TST_API __declspec(dllexport)
#else
#define TST_API __declspec(dllimport)
#endif
#else
#define TST_API
#define TST_API
#endif
Binary file modified PluginsBuild/NativePlugins/x86/tstunity.dll
Binary file not shown.
Binary file modified PluginsBuild/NativePlugins/x86_64/tstunity.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions PluginsDeme/Assets/Plugins/x86.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified PluginsDeme/Assets/Plugins/x86/tstunity.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions PluginsDeme/Assets/Plugins/x86/tstunity.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified PluginsDeme/Assets/Plugins/x86_64/tstunity.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion PluginsDeme/Assets/Plugins/x86_64/tstunity.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 440fab2

Please sign in to comment.