mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AAX: Use unity build style for the AAX_SDK
JUCE no longer depends on built artifacts of the AAX_SDK
This commit is contained in:
parent
dab95a8404
commit
d037d45e3b
6 changed files with 141 additions and 86 deletions
|
|
@ -2007,12 +2007,7 @@ function(juce_set_aax_sdk_path path)
|
|||
message(FATAL_ERROR "Could not find AAX SDK at the specified path: ${path}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
add_library(juce_aax_sdk STATIC IMPORTED GLOBAL)
|
||||
set_target_properties(juce_aax_sdk PROPERTIES
|
||||
IMPORTED_LOCATION_DEBUG "${path}/Libs/Debug/libAAXLibrary_libcpp.a"
|
||||
IMPORTED_LOCATION "${path}/Libs/Release/libAAXLibrary_libcpp.a")
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
if((CMAKE_SYSTEM_NAME STREQUAL "Darwin") OR (CMAKE_SYSTEM_NAME STREQUAL "Windows"))
|
||||
add_library(juce_aax_sdk INTERFACE IMPORTED GLOBAL)
|
||||
else()
|
||||
return()
|
||||
|
|
@ -2022,7 +2017,6 @@ function(juce_set_aax_sdk_path path)
|
|||
"${path}"
|
||||
"${path}/Interfaces"
|
||||
"${path}/Interfaces/ACF")
|
||||
target_compile_definitions(juce_aax_sdk INTERFACE JucePlugin_AAXLibs_path="${path}/Libs")
|
||||
set_target_properties(juce_aax_sdk PROPERTIES INTERFACE_JUCE_AAX_DEFAULT_ICON "${path}/Utilities/PlugIn.ico")
|
||||
endfunction()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue