diff options
| author | Bryan O'Sullivan <bos@lindenlab.com> | 2008-06-02 21:14:31 +0000 | 
|---|---|---|
| committer | Bryan O'Sullivan <bos@lindenlab.com> | 2008-06-02 21:14:31 +0000 | 
| commit | 9db949eec327df4173fde3de934a87bedb0db13c (patch) | |
| tree | aeffa0f0e68b1d2ceb74d460cbbd22652c9cd159 /indra/llaudio | |
| parent | 419e13d0acaabf5e1e02e9b64a07648bce822b2f (diff) | |
svn merge -r88066:88786 svn+ssh://svn.lindenlab.com/svn/linden/branches/cmake-9-merge
dataserver-is-deprecated
for-fucks-sake-whats-with-these-commit-markers
Diffstat (limited to 'indra/llaudio')
| -rw-r--r-- | indra/llaudio/CMakeLists.txt | 60 | 
1 files changed, 60 insertions, 0 deletions
diff --git a/indra/llaudio/CMakeLists.txt b/indra/llaudio/CMakeLists.txt new file mode 100644 index 0000000000..27e33b8cf3 --- /dev/null +++ b/indra/llaudio/CMakeLists.txt @@ -0,0 +1,60 @@ +# -*- cmake -*- + +project(llaudio) + +include(00-Common) +include(Audio) +include(FMOD) +include(LLCommon) +include(LLMath) +include(LLMessage) +include(LLVFS) + +include_directories( +    ${FMOD_INCLUDE_DIR} +    ${LLCOMMON_INCLUDE_DIRS} +    ${LLMATH_INCLUDE_DIRS} +    ${LLMESSAGE_INCLUDE_DIRS} +    ${LLVFS_INCLUDE_DIRS} +    ${OGG_INCLUDE_DIRS} +    ${VORBISENC_INCLUDE_DIRS} +    ${VORBISFILE_INCLUDE_DIRS} +    ${VORBIS_INCLUDE_DIRS} +    ) + +set(llaudio_SOURCE_FILES +    audioengine.cpp +    listener.cpp +    llaudiodecodemgr.cpp +    vorbisdecode.cpp +    vorbisencode.cpp +    ) + +set(llaudio_HEADER_FILES +    CMakeLists.txt + +    audioengine.h +    listener.h +    llaudiodecodemgr.h +    vorbisdecode.h +    vorbisencode.h +    ) + +if (FMOD) +    list(APPEND llaudio_SOURCE_FILES +         audioengine_fmod.cpp +         listener_fmod.cpp +         ) + +    list(APPEND llaudio_HEADER_FILES +         audioengine_fmod.h +         listener_fmod.h +         ) +endif (FMOD) + +set_source_files_properties(${llaudio_HEADER_FILES} +                            PROPERTIES HEADER_FILE_ONLY TRUE) + +list(APPEND llaudio_SOURCE_FILES ${llaudio_HEADER_FILES}) + +add_library (llaudio ${llaudio_SOURCE_FILES})  | 
