Browse Source

Add OpenAL submodule

master
C. J. Howard 5 years ago
parent
commit
b26926d740
Signed by: cjhoward GPG Key ID: 03E1FABA9C3EC195
4 changed files with 19 additions and 1 deletions
  1. +3
    -0
      .gitmodules
  2. +14
    -0
      CMakeLists.txt
  3. +1
    -1
      modules/antkeeper-source
  4. +1
    -0
      modules/openal-soft

+ 3
- 0
.gitmodules View File

@ -16,3 +16,6 @@
[submodule "modules/glfw"]
path = modules/glfw
url = git@cjhoward.org:glfw.git
[submodule "modules/openal-soft"]
path = modules/openal-soft
url = git@cjhoward.org:openal-soft.git

+ 14
- 0
CMakeLists.txt View File

@ -96,6 +96,20 @@ ExternalProject_Add(glfw
"-DGLFW_VULKAN_STATIC=OFF"
BUILD_ALWAYS 0)
# Build OpenAL Soft module
ExternalProject_Add(openal-soft
SOURCE_DIR ${MODULE_SOURCE_DIR}/openal-soft
BINARY_DIR ${MODULE_BUILD_DIR}/openal-soft
INSTALL_DIR ${MODULE_INSTALL_DIR}
CMAKE_ARGS
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
"-DCMAKE_INSTALL_PREFIX=${MODULE_INSTALL_DIR}"
"-DLIBTYPE=SHARED"
"-DALSOFT_UTILS=OFF"
"-DALSOFT_EXAMPLES=OFF"
"-DALSOFT_TESTS=OFF"
BUILD_ALWAYS 0)
# Build VMQ module
ExternalProject_Add(vmq
SOURCE_DIR ${MODULE_SOURCE_DIR}/vmq

+ 1
- 1
modules/antkeeper-source

@ -1 +1 @@
Subproject commit 8e15f86aef9a90c556c69f1fd5a558acb27527fe
Subproject commit 1a3e8c727ce82f61bcf7466790454341c3a433e4

+ 1
- 0
modules/openal-soft

@ -0,0 +1 @@
Subproject commit 9e2ac6240a383d76f57ed42bc54ae5ac6f782b51

Loading…
Cancel
Save