Changeset 2710 for code/trunk/src/audio/CMakeLists.txt
- Timestamp:
- Feb 28, 2009, 7:46:37 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore deleted
- Property svn:mergeinfo changed
-
code/trunk/src/audio/CMakeLists.txt
r1505 r2710 1 SET ( AUDIO_SRC_FILES 1 # 2 # ORXONOX - the hottest 3D action shooter ever to exist 3 # > www.orxonox.net < 4 # 5 # This program is free software; you can redistribute it and/or 6 # modify it under the terms of the GNU General Public License 7 # as published by the Free Software Foundation; either version 2 8 # of the License, or (at your option) any later version. 9 # 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License along 16 # with this program; if not, write to the Free Software Foundation, 17 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 # 19 20 SET_SOURCE_FILES(AUDIO_FILES 21 AudioBuffer.h 22 AudioIncludes.h 23 AudioManager.h 24 AudioPrereqs.h 25 AudioSource.h 26 AudioStream.h 27 2 28 AudioBuffer.cc 3 29 AudioManager.cc … … 5 31 AudioStream.cc 6 32 ) 33 #GET_ALL_HEADER_FILES(AUDIO_HDR_FILES) 34 #SET(AUDIO_FILES ${AUDIO_SRC_FILES} ${AUDIO_HDR_FILES}) 35 GENERATE_SOURCE_GROUPS(${AUDIO_FILES}) 7 36 8 IF (WIN32) 9 ADD_LIBRARY( audio ${AUDIO_SRC_FILES} ) 10 ELSE (WIN32) 11 ADD_LIBRARY( audio SHARED ${AUDIO_SRC_FILES} ) 12 ENDIF (WIN32) 37 ADD_COMPILER_FLAGS("-w44244" MSVC) 13 38 14 TARGET_LINK_LIBRARIES( audio 39 ADD_LIBRARY(audio SHARED ${AUDIO_FILES}) 40 SET_TARGET_PROPERTIES(audio PROPERTIES DEFINE_SYMBOL "AUDIO_SHARED_BUILD") 41 TARGET_LINK_LIBRARIES(audio 15 42 ${OPENAL_LIBRARY} 16 43 ${ALUT_LIBRARY} … … 19 46 ${OGG_LIBRARY} 20 47 core 48 util 21 49 ) 22 50 23 51 ORXONOX_INSTALL(audio)
Note: See TracChangeset
for help on using the changeset viewer.