this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove FRAMEWORK_* Options

+3 -48
-2
CMakeLists.txt
··· 59 59 60 60 enable_language(ASM-ATT) 61 61 62 - option(FRAMEWORK_COREAUDIO "Enable audio-related functionality" OFF) 63 - option(FRAMEWORK_APPKIT "Enable AppKit development code" OFF) 64 62 option(FULL_BUILD "Include large items in the build" ON) 65 63 option(TARGET_i386 "Enable i386 slices" ON) 66 64 option(TARGET_x86_64 "Enable x86_64 slices" ON)
-10
src/CMakeLists.txt
··· 73 73 set(CMAKE_AR "${CMAKE_BINARY_DIR}/src/external/cctools-port/cctools/ar/x86_64-apple-darwin11-ar") 74 74 set(CMAKE_RANLIB "${CMAKE_BINARY_DIR}/src/external/cctools-port/cctools/misc/ranlib") 75 75 76 - 77 - #if (FRAMEWORK_COREAUDIO) 78 - # add_subdirectory(AudioToolbox) 79 - # add_subdirectory(AudioUnit) 80 - #endif (FRAMEWORK_COREAUDIO) 81 - #if (FRAMEWORK_APPKIT) 82 - # add_subdirectory(external/AppKit) 83 - #endif (FRAMEWORK_APPKIT) 84 - #add_subdirectory(IOKit) 85 - 86 76 add_definitions(-target x86_64-apple-darwin11) 87 77 include(darling_lib) 88 78
+3 -34
src/frameworks/CoreServices/Components.cpp
··· 2 2 #include "Components.h" 3 3 #include "ComponentsInternal.h" 4 4 #include "darling-config.h" 5 - #ifdef FRAMEWORK_COREAUDIO 6 - #include <AudioUnit/AUComponent.h> 7 - #include <AudioUnit/AudioUnitBase.h> 8 - #endif 9 5 #include <CoreServices/MacErrors.h> 10 6 11 7 #define TRACE1(x) ··· 14 10 Component FindNextComponent(Component prev, ComponentDescription* desc) 15 11 { 16 12 TRACE2(prev, desc); 17 - #ifdef FRAMEWORK_COREAUDIO 18 - if ((desc->componentType & 0xffff0000) == kComponentTypeAudioUnit) 19 - { 20 - return AudioComponentFindNext((AudioComponent) prev, (AudioComponentDescription*) desc); 21 - } 22 - else 23 - #endif 24 - return nullptr; 13 + return nullptr; 25 14 } 26 15 27 16 long CountComponents(ComponentDescription* desc) 28 17 { 29 - #ifdef FRAMEWORK_COREAUDIO 30 - if ((desc->componentType & 0xffff0000) == kComponentTypeAudioUnit) 31 - { 32 - return AudioComponentCount((AudioComponentDescription*) desc); 33 - } 34 - else 35 - #endif 36 - return 0; 18 + return 0; 37 19 } 38 20 39 21 OSErr OpenAComponent(Component comp, ComponentInstance* out) ··· 45 27 46 28 *out = nullptr; 47 29 48 - #ifdef FRAMEWORK_COREAUDIO 49 - if (GetComponentType(comp) == kComponentTypeAudioUnit) 50 - { 51 - AudioComponentInstance inst; 52 - OSErr err; 53 - 54 - err = AudioComponentInstanceNew((AudioComponent) comp, &inst); 55 - 56 - *out = inst; 57 - return err; 58 - } 59 - else 60 - #endif 61 - return unimpErr; 30 + return unimpErr; 62 31 } 63 32 64 33 ComponentInstance OpenComponent(Component comp)
-2
src/include/darling-config.h.in
··· 16 16 #define GIT_COMMIT_HASH "@GIT_COMMIT_HASH@" 17 17 18 18 #cmakedefine MULTILIB 19 - #cmakedefine FRAMEWORK_COREAUDIO 20 - #cmakedefine FRAMEWORK_APPKIT 21 19 22 20 #ifndef __APPLE__ 23 21