Removed the CAUDIO_EXPORTS define completely, now the default is dynamic linking, unless CAUDIO_STATIC_LIB is defined.
This commit is contained in:
parent
b69d688533
commit
2446119a5a
|
@ -42,7 +42,7 @@
|
|||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=".\dependencies\Headers;.\dependencies\Headers\al"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;CAUDIO_EXPORTS"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
|
|
|
@ -7,16 +7,13 @@
|
|||
//! This is used primarily by plugins to make sure they are linking to the right library.
|
||||
#define CAUDIO_VERSION "2.0.0"
|
||||
|
||||
#ifndef CAUDIO_STATIC_LIB
|
||||
|
||||
//! Global define for exporting the library
|
||||
#ifdef CAUDIO_EXPORTS
|
||||
#ifndef CAUDIO_STATIC_LIB
|
||||
#ifdef CAUDIO_PLATFORM_WIN
|
||||
#define CAUDIO_API __declspec(dllexport)
|
||||
#else
|
||||
#define CAUDIO_API extern "C"
|
||||
#endif // CAUDIO_EXPORTS
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define CAUDIO_API extern "C"
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../include/"
|
||||
PreprocessorDefinitions="CAUDIO_EXPORTS"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../include/"
|
||||
PreprocessorDefinitions="CAUDIO_EXPORTS"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
|
|
Loading…
Reference in New Issue