Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/audio/CMakeLists.txt @ 2579

Last change on this file since 2579 was 2579, checked in by rgrieder, 15 years ago
  • Equipped find scripts with debug/optimized functions. If you have different debug prefixes on your platform simply change ${LIBRARY_DEBUG_POSTFIX} ("_d" default).
  • Clean up in ConfigMSVC.cmake and ConfigMinGW.cmake
  • Also had a good look at the MinGW libraries according to the libs_1889_mingw.zip (no warranty at all, hope I got them all)
  • INSTALL commands are currently limited to non Windows platforms (don't yet know why it doesn't work)
  • Property svn:eol-style set to native
File size: 444 bytes
Line 
1SET ( AUDIO_SRC_FILES
2  AudioBuffer.cc
3  AudioManager.cc
4  AudioSource.cc
5  AudioStream.cc
6)
7
8IF (WIN32)
9  ADD_LIBRARY( audio ${AUDIO_SRC_FILES} )
10ELSE (WIN32)
11  ADD_LIBRARY( audio SHARED ${AUDIO_SRC_FILES} )
12ENDIF (WIN32)
13
14TARGET_LINK_LIBRARIES( audio
15  ${OPENAL_LIBRARY}
16  ${ALUT_LIBRARY}
17  ${VORBISFILE_LIBRARY}
18  ${VORBIS_LIBRARY}
19  ${OGG_LIBRARY}
20  core
21)
22
23IF (NOT WIN32)
24  INSTALL(TARGETS audio LIBRARY DESTINATION lib)
25ENDIF (NOT WIN32)
Note: See TracBrowser for help on using the repository browser.