Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 12, 2009, 4:18:11 PM (15 years ago)
Author:
rgrieder
Message:

Visual Studio generator working for all build types. Compiles but does not run yet.

  • Had to define some export symbols
  • tinyxml and cpptcl have to be linked statically
  • some other libraries can be linked shared that were linked statically for windows (now for mingw only)
  • added two macros: ADD_CXX_FLAG(_flag _condition) and ADD_C_FLAG(_flag _condition)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/audio/CMakeLists.txt

    r2583 r2588  
    66)
    77
    8 IF (WIN32)
     8ADD_CXX_FLAGS("-wd4244" MSVC)
     9
     10IF (MINGW)
    911  ADD_LIBRARY( audio ${AUDIO_SRC_FILES} )
    10 ELSE (WIN32)
     12ELSE (MINGW)
    1113  ADD_LIBRARY( audio SHARED ${AUDIO_SRC_FILES} )
    12 ENDIF (WIN32)
     14ENDIF (MINGW)
    1315
     16SET_TARGET_PROPERTIES(audio PROPERTIES DEFINE_SYMBOL "AUDIO_SHARED_BUILD")
    1417TARGET_LINK_LIBRARIES( audio
    1518  ${OPENAL_LIBRARY}
Note: See TracChangeset for help on using the changeset viewer.