Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 5, 2008, 12:04:16 AM (16 years ago)
Author:
adrfried
Message:

out-of-source-builds working in basics

Location:
code/branches/buildsystem/src/orxonox
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/src/orxonox/CMakeLists.txt

    r1844 r1882  
    6262  objects/RotatingProjectile.cc
    6363  objects/ParticleProjectile.cc
    64 
    65   tolua/tolua_bind.cc
    6664)
    6765
    68 GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
    69 ADD_CUSTOM_COMMAND(
    70   OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
    71   COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
    72   DEPENDS
    73     tolua_orxonox
    74     tolua/tolua.pkg
    75     gui/GUIManager.h
    76   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
    77 )
    78        
     66INCLUDE(UseTolua)
     67TOLUA(Orxonox ORXONOX_SRC_FILES INPUTFILES gui/GUIManager.h)
     68
     69SET(CORE_SUBDIR src/core)
     70SET(CORE_SOURCE_DIR "${CMAKE_SOURCE_DIR}/${CORE_SUBDIR}")
     71SET(CORE_BINARY_DIR "${CMAKE_BINARY_DIR}/${CORE_SUBDIR}")
     72SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -iquote ${CORE_SOURCE_DIR} -iquote ${CORE_BINARY_DIR}")
     73SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -iquote ${CORE_SOURCE_DIR} -iquote ${CORE_BINARY_DIR}")
     74
    7975ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
    8076
     
    110106  network
    111107)
    112 
  • code/branches/buildsystem/src/orxonox/gui/GUIManager.cc

    r1810 r1882  
    4343#include "core/input/InputManager.h"
    4444#include "core/input/SimpleInputState.h"
    45 #include "core/tolua/tolua_bind.h"
     45#include "../core/tolua_bind.h"
    4646#include "core/ConsoleCommand.h"
    4747#include "core/Core.h"
    48 #include "tolua/tolua_bind.h"
     48#include "tolua_bind.h"
    4949#include "GraphicsEngine.h"
    5050#include "OgreCEGUIRenderer.h"
Note: See TracChangeset for help on using the changeset viewer.