source:
code/trunk/src/audio/CMakeLists.txt
@
884
Last change on this file since 884 was 790, checked in by nicolasc, 17 years ago | |
---|---|
File size: 458 bytes |
Rev | Line | |
---|---|---|
[768] | 1 | SET ( AUDIO_SRC_FILES |
[665] | 2 | AudioManager.cc |
3 | AudioBuffer.cc | |
4 | AudioSource.cc | |
5 | AudioStream.cc | |
[458] | 6 | ) |
7 | ||
[768] | 8 | IF (WIN32) |
[771] | 9 | ADD_LIBRARY( audio ${AUDIO_SRC_FILES} ) |
[768] | 10 | ELSE (WIN32) |
11 | ADD_LIBRARY( audio SHARED ${AUDIO_SRC_FILES}) | |
12 | ENDIF (WIN32) | |
[486] | 13 | |
[768] | 14 | SET_TARGET_PROPERTIES( audio PROPERTIES LINK_FLAGS "--no-undefined" ) |
[458] | 15 | |
[768] | 16 | TARGET_LINK_LIBRARIES( audio |
[728] | 17 | ${OPENAL_LIBRARY} |
18 | ${ALUT_LIBRARY} | |
19 | ${VORBISFILE_LIBRARY} | |
20 | ${VORBIS_LIBRARY} | |
21 | ${OGG_LIBRARY} | |
[768] | 22 | core |
[728] | 23 | ) |
[458] | 24 | |
25 |
Note: See TracBrowser
for help on using the repository browser.