Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 14, 2009, 10:53:45 PM (16 years ago)
Author:
rgrieder
Message:

Merged buildsystem2 to buildsystem3.

Note: Bare merge, just resolved conflicts. To testing, no nothing.

Location:
code/branches/buildsystem3
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem3

  • code/branches/buildsystem3/src/audio/AudioBuffer.h

    r2171 r2664  
    3333
    3434#include <string>
    35 #include <AL/al.h>
     35#include <al.h>
    3636
    3737namespace orxonox
  • code/branches/buildsystem3/src/audio/AudioIncludes.h

    r1784 r2664  
    3939#include <string>
    4040
    41 #include <AL/al.h>
    42 #include <AL/alc.h>
     41#include <al.h>
     42#include <alc.h>
    4343#include <AL/alut.h>
    4444#include <ogg/ogg.h>
  • code/branches/buildsystem3/src/audio/AudioPrereqs.h

    r2171 r2664  
    3535#define _AudioPrereqs_H__
    3636
    37 #include "util/OrxonoxPlatform.h"
     37#include "OrxonoxConfig.h"
    3838
    3939//-----------------------------------------------------------------------
    4040// Shared library settings
    4141//-----------------------------------------------------------------------
    42 #if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !defined( AUDIO_STATIC_BUILD )
     42#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( AUDIO_STATIC_BUILD )
    4343#  ifdef AUDIO_SHARED_BUILD
    4444#    define _AudioExport __declspec(dllexport)
     
    6868}
    6969
    70 //-----------------------------------------------------------------------
    71 // Warnings
    72 //-----------------------------------------------------------------------
    73 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
    74 
    75 // set to 4: conversion from 'ogg_int64_t' to 'long', possible loss of data
    76 #pragma warning (4 : 4244)
    77 
    78 #endif
    79 
    80 
    8170#endif /* _AudioPrereqs_H__ */
  • code/branches/buildsystem3/src/audio/AudioStream.h

    r2171 r2664  
    3434#include <string>
    3535#include <iostream>
    36 #include <AL/al.h>
     36#include <al.h>
    3737#include <vorbis/vorbisfile.h>
    3838#include <vorbis/codec.h>
  • code/branches/buildsystem3/src/audio/CMakeLists.txt

    r1505 r2664  
    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
     20SET_SOURCE_FILES(AUDIO_FILES
     21  AudioBuffer.h
     22  AudioIncludes.h
     23  AudioManager.h
     24  AudioPrereqs.h
     25  AudioSource.h
     26  AudioStream.h
     27
    228  AudioBuffer.cc
    329  AudioManager.cc
     
    531  AudioStream.cc
    632)
     33#GET_ALL_HEADER_FILES(AUDIO_HDR_FILES)
     34#SET(AUDIO_FILES ${AUDIO_SRC_FILES} ${AUDIO_HDR_FILES})
     35GENERATE_SOURCE_GROUPS(${AUDIO_FILES})
    736
    8 IF (WIN32)
    9   ADD_LIBRARY( audio ${AUDIO_SRC_FILES} )
    10 ELSE (WIN32)
    11   ADD_LIBRARY( audio SHARED ${AUDIO_SRC_FILES} )
    12 ENDIF (WIN32)
     37ADD_COMPILER_FLAGS("-w44244" MSVC)
    1338
    14 TARGET_LINK_LIBRARIES( audio
     39ADD_LIBRARY(audio SHARED ${AUDIO_FILES})
     40SET_TARGET_PROPERTIES(audio PROPERTIES DEFINE_SYMBOL "AUDIO_SHARED_BUILD")
     41TARGET_LINK_LIBRARIES(audio
    1542  ${OPENAL_LIBRARY}
    1643  ${ALUT_LIBRARY}
     
    1946  ${OGG_LIBRARY}
    2047  core
     48  util
    2149)
    2250
    23 
     51ORXONOX_INSTALL(audio)
Note: See TracChangeset for help on using the changeset viewer.