mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 14:12:50 +02:00
move mixer to audio-mixer, use SetupHifiProject macro
This commit is contained in:
parent
c2cb7cf397
commit
7fb52c529e
5 changed files with 16 additions and 18 deletions
|
@ -5,7 +5,7 @@ project(hifi)
|
|||
add_subdirectory(space)
|
||||
add_subdirectory(avatar-mixer)
|
||||
add_subdirectory(domain-server)
|
||||
add_subdirectory(mixer)
|
||||
add_subdirectory(audio-mixer)
|
||||
add_subdirectory(voxel)
|
||||
add_subdirectory(interface)
|
||||
add_subdirectory(injector)
|
0
mixer/.gitignore → audio-mixer/.gitignore
vendored
0
mixer/.gitignore → audio-mixer/.gitignore
vendored
15
audio-mixer/CMakeLists.txt
Normal file
15
audio-mixer/CMakeLists.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
set(MACRO_DIR ../cmake/macros)
|
||||
|
||||
set(TARGET_NAME audio-mixer)
|
||||
|
||||
include(${MACRO_DIR}/SetupHifiProject.cmake)
|
||||
setup_hifi_project(${TARGET_NAME})
|
||||
|
||||
# link the shared hifi library
|
||||
include(${MACRO_DIR}/LinkHifiLibrary.cmake)
|
||||
link_hifi_library(shared ${TARGET_NAME})
|
||||
|
||||
# link the threads library
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(${TARGET_NAME} ${CMAKE_THREAD_LIBS_INIT})
|
|
@ -1,17 +0,0 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(mixer)
|
||||
|
||||
# grab the implemenation and header files
|
||||
file(GLOB MIXER_SRCS src/*.cpp src/*.h)
|
||||
|
||||
# add the mixer executable
|
||||
add_executable(mixer ${MIXER_SRCS})
|
||||
|
||||
# link the shared hifi library
|
||||
include(../cmake/macros/LinkHifiLibrary.cmake)
|
||||
link_hifi_library(shared mixer)
|
||||
|
||||
# link the threads library
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(mixer ${CMAKE_THREAD_LIBS_INIT})
|
Loading…
Reference in a new issue