Steps for adding external audio objects to the framework using centralized build system

Create the audio object and corresponding cmake to build the audio object as per scetion 15

Go to extendable-audio-framework\build\externalObjConfig.cmake

Set EXTERNAL_OBJECT_INCLUDE to audio object include directory
Example for ISZ audio object:

Set EXTERNAL_OBJECT_LIB to audio object library
Example for ISZ audio object:

Go to extendable-audio-framework\build\ExternalObjAudioIds.h and audio object Id
Exmaple: ID for ISZ is 1201

If audio object library is not present then type add_subdirectory() to the folder where cmake file for the audio object is present at file extendable-audio-framework\build\externalObjConfig.cmake.
Exmaple: ISZ audio object cmake files are present under $(AAT_PATH)

Open the command window with administrative privileges and navigate to base directory in xAF repository

To build xAF library with external objects for C66 target:

  • Debug mode: Type “build.py –platform=summit –target=C66 –program=allExtObjects –profile=Debug”
  • Release mode: Type “build.py –platform=summit –target=C66 –program=allExtObjects –profile=Release

To build xAF library with external objects for A15 target:

  • Debug mode: Type “build.py –platform=summit –target=A15 –program=allExtObjects –profile=Debug”
  • Release mode: Type “build.py –platform=summit –target=C66 –program=allExtObjects –profile=Release”

To build xAF library with external objects for M4 target:

  • Debug mode: Type “build.py –platform=summit –target=M4 –program=allExtObjects –profile=Debug”
  • Release mode: Type “build.py –platform=summit –target=M4 –program=allExtObjects –profile=Release”

To build xAF library with external objects for all above targets:

  • Debug mode: Type “build.py –platform=summit –program=allExtObjects –profile=Debug”
  • Release mode: Type “build.py –platform=summit –program=allExtObjects –profile=Release”

To build xAF library with external objects for Win32 target:

  • Debug mode: Type “build.py –platform=WinPc –target=Win32 –program=allExtObjects –profile=Debug”
  • Release mode: Type “build.py –platform=WinPc –target=Win32 –program=allExtObjects –profile=Release”

To build xAF library with external objects for Win64 target:

  • Debug mode: Type “build.py –platform=WinPc –target=Win64 –program=allExtObjects –profile=Debug”
  • Release mode: Type “build.py –platform=WinPc –target=Win64 –program=allExtObjects –profile=Release”

_________________

Rate this post!