Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2583 was 2583, checked in by rgrieder, 15 years ago
  • Use $ENV{BOOST_ROOT} to find boost if possible
  • Set TOLUA_PARSER_WORKING_DIRECTORY now defaults to ${CMAKE_RUNTIME_OUTPUT_PATH}
  • Added bin/release, bin/debug, release and debug to the Ogre library prefix paths
  • Lots of small fixes and changes
  • Property svn:eol-style set to native
File size: 451 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  util
22)
23
24IF (NOT WIN32)
25  INSTALL(TARGETS audio LIBRARY DESTINATION lib)
26ENDIF (NOT WIN32)
Note: See TracBrowser for help on using the repository browser.