Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 29, 2009, 11:35:54 PM (15 years ago)
Author:
rgrieder
Message:

This commit gets a little ugly, couldn't separate that anymore:

  • Renamed UseTolua.cmake to GenerateLuaBindings.cmake
  • Applied the macros for compiler flags, linker flags, header files and source groups Updated the whole build tree for that
  • Created real compiler config scripts (BuildConfigGCC.cmake and BuildConfigMSVC.cmake)
  • Large scale clean up in BuildConfig.cmake
  • You can now specify your own LibraryConfig and BuildConfig script via CMake Cache
  • Lots of small changes and fixes
Location:
code/branches/buildsystem2/src/audio
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/audio/AudioBuffer.h

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

    r1784 r2621  
    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/buildsystem2/src/audio/AudioStream.h

    r2171 r2621  
    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/buildsystem2/src/audio/CMakeLists.txt

    r2588 r2621  
    1 SET ( AUDIO_SRC_FILES
     1SET_SOURCE_FILES(AUDIO_SRC_FILES
    22  AudioBuffer.cc
    33  AudioManager.cc
     
    55  AudioStream.cc
    66)
     7GET_ALL_HEADER_FILES(AUDIO_HDR_FILES)
     8SET(AUDIO_FILES ${AUDIO_SRC_FILES} ${AUDIO_HDR_FILES})
     9GENERATE_SOURCE_GROUPS(${AUDIO_FILES})
    710
    8 ADD_CXX_FLAGS("-wd4244" MSVC)
     11ADD_COMPILER_FLAGS("-w44244" MSVC)
    912
    1013IF (MINGW)
    11   ADD_LIBRARY( audio ${AUDIO_SRC_FILES} )
     14  ADD_LIBRARY( audio ${AUDIO_FILES})
    1215ELSE (MINGW)
    13   ADD_LIBRARY( audio SHARED ${AUDIO_SRC_FILES} )
     16  ADD_LIBRARY( audio SHARED ${AUDIO_FILES})
    1417ENDIF (MINGW)
    1518
Note: See TracChangeset for help on using the changeset viewer.