Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2510


Ignore:
Timestamp:
Dec 17, 2008, 9:05:10 PM (16 years ago)
Author:
rgrieder
Message:

Merged revisions 2279-2401 of the buildsystem branch to buildsystem2.

Location:
code/branches/buildsystem2
Files:
1 deleted
52 edited
2 copied

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2

  • code/branches/buildsystem2/CMakeLists.txt

    r2509 r2510  
    3333SET(CMAKE_C_FLAGS   "$ENV{CFLAGS}   -Wall -Wextra -Wno-unused-parameter")
    3434SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -Wall -Wextra -Wno-unused-parameter")
    35 SET(CMAKE_C_FLAGS_DEBUG            "-g -ggdb")
    36 SET(CMAKE_CXX_FLAGS_DEBUG          "-g -ggdb")
    37 SET(CMAKE_C_FLAGS_RELEASE          "-O3 -DNDEBUG")
    38 SET(CMAKE_CXX_FLAGS_RELEASE        "-O3 -DNDEBUG")
    39 SET(CMAKE_C_FLAGS_RELWITHDEBINFO   "-O2 -DNDEBUG -g -ggdb")
    40 SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -DNDEBUG -g -ggdb")
    41 SET(CMAKE_C_FLAGS_MINSIZEREL       "-Os -DNDEBUG")
    42 SET(CMAKE_CXX_FLAGS_MINSIZEREL     "-Os -DNDEBUG")
     35SET(CMAKE_C_FLAGS_DEBUG            "-g -ggdb -fPIC")
     36SET(CMAKE_CXX_FLAGS_DEBUG          "-g -ggdb -fPIC")
     37SET(CMAKE_C_FLAGS_RELEASE          "-O3 -DNDEBUG -fPIC")
     38SET(CMAKE_CXX_FLAGS_RELEASE        "-O3 -DNDEBUG -fPIC")
     39SET(CMAKE_C_FLAGS_RELWITHDEBINFO   "-O2 -DNDEBUG -g -ggdb -fPIC")
     40SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -DNDEBUG -g -ggdb -fPIC")
     41SET(CMAKE_C_FLAGS_MINSIZEREL       "-Os -DNDEBUG -fPIC")
     42SET(CMAKE_CXX_FLAGS_MINSIZEREL     "-Os -DNDEBUG -fPIC")
    4343
    4444SET(CMAKE_LD_FLAGS "$ENV{LDFLAGS}")
     
    5252FIND_PACKAGE(OGRE REQUIRED)
    5353FIND_PACKAGE(CEGUI REQUIRED)
    54 # CEGUI_OGRE included in source
     54# CEGUI_OGRE is already included in source
    5555#FIND_PACKAGE(CEGUI_OGRE REQUIRED)
    5656FIND_PACKAGE(ENet REQUIRED)
     
    6161FIND_PACKAGE(ZLIB REQUIRED)
    6262FIND_PACKAGE(DirectX REQUIRED)
    63 FIND_PACKAGE(Lua50 REQUIRED)
    64 #FIND_PACKAGE(Lua51 QUIET)
    6563
    66 #don't require the whole tcl rat tail
     64# Require Lua 5.0 or 5.1
     65FIND_PACKAGE(Lua50 QUIET)
     66IF(NOT LUA50_FOUND)
     67    # Remove variables set by Lua50 and try with Lua51
     68    SET(LUA_INCLUDE_DIR)
     69    SET(LUA_LIBRARY_lua)
     70    SET(LUA_LIBRARY_lualib)
     71    SET(LUA_LIBRARIES)
     72    FIND_PACKAGE(Lua51 REQUIRED)
     73ENDIF(NOT LUA50_FOUND)
     74# Determine Lua version (Lua50 may also find Lua51)
     75FILE(STRINGS "${LUA_INCLUDE_DIR}/lua.h" LUA_VERSION REGEX "LUA_VERSION")
     76STRING(REGEX REPLACE "^.*\"Lua (.*)\".*$" "\\1" LUA_VERSION "${LUA_VERSION}")
     77
     78# Don't require the whole tcl rat tail
    6779FIND_PACKAGE(TCL QUIET)
    6880IF(NOT TCL_FOUND)
  • code/branches/buildsystem2/TODO_buildsystem

    r2509 r2510  
    1 - Detect lua version and modify all.lua accordingly (do not include compat-5.1 for lua 5.0)
    21- Detect ceguilua version other than with the variable from the pkg config file. It might not exist everywhere.
  • code/branches/buildsystem2/bin/CMakeLists.txt

    r2509 r2510  
    88
    99IF(IS_TARDIS)
     10  # OGRE can't find fonts to display config screen on Tardis,
     11  # so providing default config file here.
    1012  SET(CONFIG_FILES ${CONFIG_FILES}
    1113    linux/run-script
    12         tardis/orxonox.ini
     14    tardis/orxonox.ini
     15    tardis/ogre.cfg
    1316  )
    1417
     
    1619  SET(CONFIG_FILES ${CONFIG_FILES}
    1720    linux/run-script
    18         linux/orxonox.ini
     21    linux/orxonox.ini
    1922  )
    2023ENDIF(IS_TARDIS)
  • code/branches/buildsystem2/bin/linux/orxonox.ini

    r2509 r2510  
    44[GSGraphics]
    55ogrePluginsFolder_ = /usr/lib/OGRE
    6 ogrePlugins_ = RenderSystem_GL, Plugin_ParticleFX, Plugin_CgProgramManager #,Plugin_BSPSceneManager, Plugin_OctreeSceneManager
     6ogrePlugins_ = RenderSystem_GL, Plugin_ParticleFX #, Plugin_CgProgramManager, Plugin_BSPSceneManager, Plugin_OctreeSceneManager
  • code/branches/buildsystem2/bin/linux/run-script

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/bin/mingw/orxonox.bat

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/bin/mingw/orxonox.ini

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/bin/tardis/orxonox.ini

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/cmake/CheckOrxonoxWinDeps.cmake

    r2509 r2510  
    3333IF (MINGW)
    3434  MESSAGE(STATUS "Running on MinGW. Using customized paths.")
    35   SET(MINGW_LIBRARY_DIR "../libs")
     35  SET(MINGW_LIBRARY_DIR "${CMAKE_SOURCE_DIR}/../libs")
    3636  #SET(Boost_ADDITIONAL_VERSIONS "1.36")
    37   SET(BOOST_INCLUDEDIR ".${MINGW_LIBRARY_DIR}/boost_1_34_1")
    38   SET(BOOST_LIBRARYDIR ".${MINGW_LIBRARY_DIR}/boost_1_34_1/stage/lib")
    39   SET(ENV{ENETDIR} ".${MINGW_LIBRARY_DIR}/enet-1.1")
    40   SET(ENV{ALUTDIR} ".${MINGW_LIBRARY_DIR}/freealut-1.1.0")
    41   SET(ENV{OPENALDIR} ".${MINGW_LIBRARY_DIR}/openal-0.0.8/common")
    42   SET(ENV{LUA_DIR} ".${MINGW_LIBRARY_DIR}/lua-5.1.3")
    43   SET(ENV{OGGVORBISDIR} ".${MINGW_LIBRARY_DIR}/libogg-1.1.3")
    44   #SET(TCL_INCLUDE_PATH "/usr/pack/tcltk-8.4.9.linux-mo/include")
    45   SET(ENV{CEGUIDIR} ".${MINGW_LIBRARY_DIR}/cegui-0.6.1")
    46   SET(ENV{OGREDIR} ".${MINGW_LIBRARY_DIR}/ogre/OgreMain;.${MINGW_LIBRARY_DIR}/ogre/Samples/Common/bin/Release")
     37  SET(BOOST_INCLUDEDIR "${MINGW_LIBRARY_DIR}/boost_1_34_1")
     38  SET(BOOST_LIBRARYDIR "${MINGW_LIBRARY_DIR}/boost_1_34_1/stage/lib")
     39  SET(ENV{ENETDIR} "${MINGW_LIBRARY_DIR}/enet-1.1")
     40  SET(ENV{ALUTDIR} "${MINGW_LIBRARY_DIR}/freealut-1.1.0")
     41  SET(ENV{OPENALDIR} "${MINGW_LIBRARY_DIR}/openal-0.0.8/common")
     42  SET(ENV{LUA_DIR} "${MINGW_LIBRARY_DIR}/lua-5.1.3")
     43  SET(ENV{OGGVORBISDIR} "${MINGW_LIBRARY_DIR}/oggvorbis-1.1.3-1.2.0")
     44  SET(TCL_INCLUDE_PATH "${MINGW_LIBRARY_DIR}/tcl8.5.2/generic")
     45  SET(TCL_LIBRARY_PATH "${MINGW_LIBRARY_DIR}/tcl8.5.2/win")
     46  SET(ENV{CEGUIDIR} "${MINGW_LIBRARY_DIR}/cegui-0.6.1")
     47  SET(ENV{OGREDIR} "${MINGW_LIBRARY_DIR}/ogre/OgreMain;${MINGW_LIBRARY_DIR}/ogre/Samples/Common/bin/Release")
     48  SET(ZLIB_INCLUDE_DIR "${MINGW_LIBRARY_DIR}/zlib/include")
     49  SET(ZLIB_LIB_DIR "${MINGW_LIBRARY_DIR}/zlib")
     50  IF (NOT ENV{DXSDK_DIR})
     51    SET(ENV{DXSDK_DIR} "${MINGW_LIBRARY_DIR}/DXSDK")
     52  ENDIF (NOT ENV{DXSDK_DIR})
    4753ENDIF (MINGW)
     54
     55#MARK_AS_ADVANCED(MINGW_LIBRARY_DIR)
  • code/branches/buildsystem2/cmake/CheckTardis.cmake

    r2509 r2510  
    44#################################################
    55
    6 # only run this test on a lunix/unix machine
    76IF (UNIX)
    8   FIND_PROGRAM(UNAME_CMD "uname"
    9   PATHS "/usr/bin /bin")
    10   IF(NOT UNAME_CMD)
    11     MESSAGE(ERROR "Unable to find uname. Tardis-Check cannot be done.")
    12   ENDIF(NOT UNAME_CMD)
    13 
    14   # run uname -n to get nodename
    15   EXECUTE_PROCESS(
    16   COMMAND "${UNAME_CMD}" "-n"
    17   RESULT_VARIABLE UNAME_RV
    18   ERROR_VARIABLE UNAME_EV
    19   OUTPUT_VARIABLE UNAME_OV)
    20 
    21   IF (NOT "${UNAME_RV}" STREQUAL "0")
    22     MESSAGE(ERROR "ERROR: uname terminated unclean.")
    23   ENDIF (NOT "${UNAME_RV}" STREQUAL "0")
    24 
    25   # check wheter we are on a tardis machine
    26   IF ("${UNAME_OV}" MATCHES "tardis")
     7  FILE(STRINGS /etc/hostname HOSTNAME LIMIT_COUNT 1)
     8  IF ("${HOSTNAME}" MATCHES "^tardis-[a-z][0-9][0-9]$")
    279    SET (IS_TARDIS ON)
    28   ENDIF ("${UNAME_OV}" MATCHES "tardis")
    29 
     10  ENDIF ("${HOSTNAME}" MATCHES "^tardis-[a-z][0-9][0-9]$")
    3011ENDIF (UNIX)
    31 
    32 MARK_AS_ADVANCED(IS_TARDIS)
     12MARK_AS_ADVANCED(HOSTNAME IS_TARDIS)
    3313
    3414IF (IS_TARDIS)
     
    4828  SET(ENV{OGREDIR} "/usr/pack/ogre-1.4.5-sd;/usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1")
    4929ENDIF (IS_TARDIS)
    50 
    51 MARK_AS_ADVANCED(UNAME_CMD IS_TARDIS)
  • code/branches/buildsystem2/cmake/FindCEGUI.cmake

    r2509 r2510  
    2929)
    3030
    31 #SET(CEGUI_LIBRARIES debug CEGUIBase_d optimized CEGUIBase)
    32 FIND_LIBRARY(CEGUI_LIBRARY
    33     NAMES CEGUIBase
    34     PATHS
    35     $ENV{CEGUIDIR}
    36     /usr/local
    37     /usr
    38     PATH_SUFFIXES lib
    39 )
     31IF(WIN32)
     32    FIND_LIBRARY(CEGUI_LIBRARY_
     33        NAMES CEGUIBase
     34        PATHS
     35        $ENV{CEGUIDIR}
     36        PATH_SUFFIXES lib
     37    )
     38    FIND_LIBRARY(CEGUI_LIBRARY_d
     39        NAMES CEGUIBase_d
     40        PATHS
     41        $ENV{CEGUIDIR}
     42        PATH_SUFFIXES lib
     43    )
     44    IF(CEGUI_LIBRARY_)
     45        IF(CEGUI_LIBRARY_d)
     46            SET(CEGUI_LIBRARY optimized ${CEGUI_LIBRARY_} debug ${CEGUI_LIBRARY_d})
     47        ELSE(CEGUI_LIBRARY_d)
     48            SET(CEGUI_LIBRARY ${CEGUI_LIBRARY_})
     49        ENDIF(CEGUI_LIBRARY_d)
     50    ENDIF(CEGUI_LIBRARY_)
     51ELSE(WIN32)
     52    FIND_LIBRARY(CEGUI_LIBRARY
     53        NAMES CEGUIBase
     54        PATHS
     55        $ENV{CEGUIDIR}
     56        /usr/local
     57        /usr
     58        PATH_SUFFIXES lib
     59    )
     60ENDIF(WIN32)
    4061
    4162#    IF (NOT CEGUI_SCRIPT_LIBDIR)
     
    6586MARK_AS_ADVANCED(
    6687    CEGUI_LIBRARY
     88    CEGUI_LIBRARY_
     89    CEGUI_LIBRARY_d
    6790    CEGUI_INCLUDE_DIR
    6891    #CEGUI_SCRIPT_LIBRARIES
  • code/branches/buildsystem2/cmake/FindDirectX.cmake

    r1889 r2510  
    99  #                 > www.orxonox.net <
    1010
    11   IF (DirectX_INCLUDE_DIR AND DirectX_LIB_DIR)
    12     SET(DirectX_FIND_QUIETLY TRUE)
    13   ENDIF (DirectX_INCLUDE_DIR AND DirectX_LIB_DIR)
    14 
    15   set(DirectX_FOUND "NO")
    16 
    17   FIND_PATH(DirectX_INCLUDE_DIR "dinput.h"
    18     ../libs/DXSDK/Include
    19     $ENV{DXSDK_DIR}/Include
     11  FIND_PATH(DirectX_INCLUDE_DIR dinput.h
     12    PATHS
     13    $ENV{DXSDK_DIR}
     14    PATH_SUFFIXES include Include
    2015  )
    2116
    22   FIND_PATH(DirectX_LIB_DIR "dinput8.lib"
    23     ../libs/DXSDK/Lib
    24     ../libs/DXSDK/Lib/x86
    25     $ENV{DXSDK_DIR}/lib/x86
     17  FIND_PATH(DirectX_LIB_DIR dinput8.lib
     18    PATHS
     19    $ENV{DXSDK_DIR}
     20    PATH_SUFFIXES lib Lib lib/x86 Lib/x86
    2621  )
    2722
    28   IF (DirectX_INCLUDE_DIR AND DirectX_LIB_DIR)
    29     SET (DirectX_FOUND "YES")
    30   ENDIF (DirectX_INCLUDE_DIR AND DirectX_LIB_DIR)
     23  INCLUDE(FindPackageHandleStandardArgs)
     24  FIND_PACKAGE_HANDLE_STANDARD_ARGS(DirectX DEFAULT_MSG DirectX_INCLUDE_DIR DirectX_LIB_DIR)
    3125
    32   IF (DirectX_FOUND)
    33     IF (NOT DirectX_FIND_QUIETLY)
    34       MESSAGE(STATUS "DirectX was found.")
    35       IF (VERBOSE_FIND)
    36         MESSAGE (STATUS "  include path: ${DirectX_INCLUDE_DIR}")
    37         MESSAGE (STATUS "  library path: ${DirectX_LIB_DIR}")
    38         MESSAGE (STATUS "  libraries:    dinput8.lib")
    39       ENDIF (VERBOSE_FIND)
    40     ENDIF (NOT DirectX_FIND_QUIETLY)
    41   ELSE (DirectX_FOUND)
    42     IF (NOT DirectX_INCLUDE_DIR)
    43       MESSAGE(SEND_ERROR "DirectX include path was not found.")
    44     ENDIF (NOT DirectX_INCLUDE_DIR)
    45     IF (NOT DirectX_LIB_DIR)
    46       MESSAGE(SEND_ERROR "DirectX library was not found.")
    47     ENDIF (NOT DirectX_LIB_DIR)
    48   ENDIF (DirectX_FOUND)
    4926ENDIF(WIN32)
     27
     28MARK_AS_ADVANCED(DirectX_INCLUDE_DIR DirectX_LIB_DIR)
  • code/branches/buildsystem2/cmake/FindENet.cmake

    r2509 r2510  
    4646ENDIF (ENET_FOUND)
    4747
    48 MARK_AS_ADVANCED(ENet_LIBRARY ENet_INCLUDE_DIR)
     48MARK_AS_ADVANCED(ENet_LIBRARY ENet_LIBRARIES ENet_INCLUDE_DIR)
  • code/branches/buildsystem2/cmake/FindOGRE.cmake

    r2509 r2510  
    2323)
    2424
    25 #SET(OGRE_LIBRARIES debug OgreMain_d optimized OgreMain)
    26 FIND_LIBRARY(OGRE_LIBRARY
    27     NAMES OgreMain
    28     PATHS
    29     $ENV{OGREDIR}
    30     /usr/local
    31     /usr
    32     PATH_SUFFIXES lib
    33 )
     25IF(WIN32)
     26    FIND_LIBRARY(OGRE_LIBRARY_
     27        NAMES OgreMain
     28        PATHS
     29        $ENV{OGREDIR}
     30        PATH_SUFFIXES lib
     31    )
     32    FIND_LIBRARY(OGRE_LIBRARY_d
     33        NAMES OgreMain_d
     34        PATHS
     35        $ENV{OGREDIR}
     36        PATH_SUFFIXES lib
     37    )
     38    IF(OGRE_LIBRARY_)
     39        IF(OGRE_LIBRARY_d)
     40            SET(OGRE_LIBRARY optimized ${OGRE_LIBRARY_} debug ${OGRE_LIBRARY_d})
     41        ELSE(OGRE_LIBRARY_d)
     42            SET(OGRE_LIBRARY ${OGRE_LIBRARY_})
     43        ENDIF(OGRE_LIBRARY_d)
     44    ENDIF(OGRE_LIBRARY_)
     45ELSE(WIN32)
     46    FIND_LIBRARY(OGRE_LIBRARY
     47        NAMES OgreMain
     48        PATHS
     49        $ENV{OGREDIR}
     50        /usr/local
     51        /usr
     52        PATH_SUFFIXES lib
     53    )
     54ENDIF(WIN32)
    3455
    3556INCLUDE(FindPackageHandleStandardArgs)
     
    4162MARK_AS_ADVANCED(
    4263    OGRE_LIBRARY
     64    OGRE_LIBRARY_
     65    OGRE_LIBRARY_d
    4366    OGRE_INCLUDE_DIR
    4467)
  • code/branches/buildsystem2/cmake/FindOggVorbis.cmake

    r2509 r2510  
    7373  VORBIS_LIBRARY
    7474  VORBISFILE_LIBRARY
     75  #VORBISENC_LIBRARY
    7576  VORBIS_INCLUDE_DIR
    7677)
  • code/branches/buildsystem2/cmake/UseTolua.cmake

    r2509 r2510  
    1818SET(_tolua_executable_name toluaexe_orxonox)
    1919GET_TARGET_PROPERTY(TOLUA_EXECUTABLE "${_tolua_executable_name}" LOCATION)
     20IF(MINGW_LIBRARY_DIR)
     21  SET(_tolua_command_wd "WORKING_DIRECTORY;${MINGW_LIBRARY_DIR}/lua-5.1.3/lib")
     22ELSE(MINGW_LIBRARY_DIR)
     23  SET(_tolua_command_wd)
     24ENDIF(MINGW_LIBRARY_DIR)
    2025
    2126MACRO(TOLUA _tolua_package _tolua_srcfiles_varname)
     
    4550    DEPENDS "${_tolua_executable_name}" ${TOLUA_PARSER_DEPENDENCIES}
    4651    IMPLICIT_DEPENDS CXX ${_tolua_inputfiles}
    47     WORKING_DIRECTORY "${LIBRARY_OUTPUT_PATH}"
     52    ${_tolua_command_wd}
    4853  )
    4954ENDMACRO(TOLUA)
  • code/branches/buildsystem2/src/CMakeLists.txt

    r2509 r2510  
    3333ADD_SUBDIRECTORY(tolua)
    3434
    35 # TODO: write include file for this stuff
     35# TODO: FIXME
    3636# Some people may not have CEGUILua installed, espc. with version 0.5
    3737# And we don't know what lua version it was linked against, so we compile
     
    4141IF (WIN32)
    4242    ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
    43     INCLUDE_DIRECTORIES(ceguilua-0.6.1)
     43    INCLUDE_DIRECTORIES(ceguilua-0.6.1/ceguilua)
    4444ELSE (WIN32)
    4545    # FIXME
    4646    #IF (${CEGUI_VERSION} LESS 0.6.0)
    4747        ADD_SUBDIRECTORY(ceguilua-0.5.0/ceguilua)
    48         INCLUDE_DIRECTORIES(ceguilua-0.5.0)
     48        INCLUDE_DIRECTORIES(ceguilua-0.5.0/ceguilua)
    4949    #ELSE (${CEGUI_VERSION} LESS 0.6.0)
    5050    #    ADD_SUBDIRECTORY(ceguilua-0.6.1/ceguilua)
    51     #    INCLUDE_DIRECTORIES(ceguilua-0.6.1)
     51    #    INCLUDE_DIRECTORIES(ceguilua-0.6.1/ceguilua)
    5252    #ENDIF (${CEGUI_VERSION} LESS 0.6.0)
    5353ENDIF (WIN32)
  • code/branches/buildsystem2/src/audio/CMakeLists.txt

    r1505 r2510  
    2121)
    2222
    23 
     23INSTALL(TARGETS audio LIBRARY DESTINATION lib)
  • code/branches/buildsystem2/src/ceguilua-0.5.0/ceguilua/CMakeLists.txt

    r2509 r2510  
    1313  ${CEGUI_LIBRARY}
    1414)
     15
     16INSTALL(TARGETS ceguilua_orxonox LIBRARY DESTINATION lib)
  • code/branches/buildsystem2/src/ceguilua-0.6.1/ceguilua/CMakeLists.txt

    r2509 r2510  
    1313  ${CEGUI_LIBRARY}
    1414)
     15
     16INSTALL(TARGETS ceguilua_orxonox LIBRARY DESTINATION lib)
  • code/branches/buildsystem2/src/core/CMakeLists.txt

    r2509 r2510  
    6262  util
    6363)
     64
     65INSTALL(TARGETS core LIBRARY DESTINATION lib)
  • code/branches/buildsystem2/src/core/LuaBind.cc

  • code/branches/buildsystem2/src/core/LuaBind.h

  • code/branches/buildsystem2/src/core/XMLIncludes.h

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/src/cpptcl/CMakeLists.txt

    r1810 r2510  
    44  ${TCL_LIBRARY}
    55)
     6
     7INSTALL(TARGETS cpptcl_orxonox LIBRARY DESTINATION lib)
  • code/branches/buildsystem2/src/network/CMakeLists.txt

    r2509 r2510  
    3030)
    3131
     32INSTALL(TARGETS network LIBRARY DESTINATION lib)
    3233
    3334# build those parts only on request.
  • code/branches/buildsystem2/src/ois/CMakeLists.txt

    r2509 r2510  
    4646ENDIF(WIN32)
    4747
     48INSTALL(TARGETS ois_orxonox LIBRARY DESTINATION lib)
  • code/branches/buildsystem2/src/orxonox/CMakeLists.txt

    r2509 r2510  
    4444  network
    4545)
     46
     47INSTALL(TARGETS orxonox RUNTIME DESTINATION bin)
  • code/branches/buildsystem2/src/tinyxml/CMakeLists.txt

    r1810 r2510  
    88
    99ADD_LIBRARY(tinyxml_orxonox SHARED ${TINYXML_SRC_FILES})
     10INSTALL(TARGETS tinyxml_orxonox LIBRARY DESTINATION lib)
  • code/branches/buildsystem2/src/tolua/CMakeLists.txt

    r2509 r2510  
    1 SET(TOLUALIB_SRC_FILES
     1ADD_LIBRARY(tolualib_orxonox STATIC
    22  tolua_event.c
    33  tolua_is.c
     
    77)
    88
    9 ADD_LIBRARY          (tolualib_orxonox SHARED ${TOLUALIB_SRC_FILES})
    109TARGET_LINK_LIBRARIES(tolualib_orxonox ${LUA_LIBRARIES})
    1110
     11#INSTALL(TARGETS tolualib_orxonox LIBRARY DESTINATION lib)
    1212
    1313SET(TOLUAGEN_SRC_FILES
     
    1515)
    1616
    17 ADD_EXECUTABLE       (toluaexe_orxonox ${TOLUAGEN_SRC_FILES})
     17ADD_EXECUTABLE(toluaexe_orxonox ${TOLUAGEN_SRC_FILES})
    1818TARGET_LINK_LIBRARIES(toluaexe_orxonox tolualib_orxonox ${LUA_LIBRARIES})
    1919
    20 # TODO: determine lua version and set appropriate pack file
    21 SET(TOLUA_ALL_PACK all-5.1.lua)
     20#IF("${LUA_VERSION}" VERSION_LESS 5.1)
     21IF("${LUA_VERSION}" MATCHES "^5.0")
     22  SET(TOLUA_ALL_PACK all-5.0.lua)
     23#ELSE("${LUA_VERSION}" VERSION_LESS 5.1)
     24ELSE("${LUA_VERSION}" MATCHES "^5.0")
     25  SET(TOLUA_ALL_PACK all-5.1.lua)
     26#ENDIF("${LUA_VERSION}" VERSION_LESS 5.1)
     27ENDIF("${LUA_VERSION}" MATCHES "^5.0")
     28
    2229SET(TOLUA_PARSER_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/${TOLUA_ALL_PACK}" PARENT_SCOPE)
    2330SET(TOLUA_PARSER_DEPENDENCIES
  • code/branches/buildsystem2/src/tolua/all-5.0.lua

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/src/tolua/all-5.1.lua

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/src/util

  • code/branches/buildsystem2/src/util/CMakeLists.txt

    r2509 r2510  
    1515ADD_LIBRARY(util SHARED ${UTIL_SRC_FILES})
    1616TARGET_LINK_LIBRARIES(util ${OGRE_LIBRARY})
     17INSTALL(TARGETS util LIBRARY DESTINATION lib)
    1718
    1819)
  • code/branches/buildsystem2/src/util/Exception.cc

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/src/util/Exception.h

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/audio.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/base.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/ceguilua.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/core.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/cpptcl.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/debug.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/directories.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/network.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/orxonox.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/orxonox_vc8.sln

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/release.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/tinyxml.vcproj

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/tinyxml.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/tolua.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • code/branches/buildsystem2/visual_studio/vc8/util.vsprops

    • Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset for help on using the changeset viewer.