From 0d3f2f8ce0d746cc28918b2d9e37e67af2fbea29 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 16 Jan 2013 20:23:51 +0000 Subject: [PATCH] AAX win32 library names. --- .../AAX/juce_AAX_Wrapper.cpp | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp b/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp index f56a0781b8..de0f90e5e2 100644 --- a/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp @@ -71,19 +71,21 @@ #error "You need to define the JucePlugin_AAXLibs_path macro. (This is best done via the introjucer)" #endif - #if JUCE_DEBUG - #define JUCE_AAX_LIB_PATH "\\Debug\\" - #else - #define JUCE_AAX_LIB_PATH "\\Release\\" - #endif - #if JUCE_64BIT - #define JUCE_AAX_LIB "AAXLibrary_x64.lib" + #define JUCE_AAX_LIB "AAXLibrary_x64" #else - #define JUCE_AAX_LIB "AAXLibrary.lib" + #define JUCE_AAX_LIB "AAXLibrary" #endif - #pragma comment(lib, JucePlugin_AAXLibs_path JUCE_AAX_LIB_PATH JUCE_AAX_LIB) + #if JUCE_DEBUG + #define JUCE_AAX_LIB_PATH "\\Debug\\" + #define JUCE_AAX_LIB_SUFFIX "_D" + #else + #define JUCE_AAX_LIB_PATH "\\Release\\" + #define JUCE_AAX_LIB_SUFFIX "" + #endif + + #pragma comment(lib, JucePlugin_AAXLibs_path JUCE_AAX_LIB_PATH JUCE_AAX_LIB JUCE_AAX_LIB_SUFFIX ".lib") #endif using juce::Component;