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/core
Files:
1 deleted
2 edited

Legend:

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

    r1844 r1882  
    5050  input/KeyDetector.cc
    5151  input/SimpleInputState.cc
    52 
    53   tolua/tolua_bind.cc
    5452)
    5553
    56 GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
    57 ADD_CUSTOM_COMMAND(
    58   OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
    59   COMMAND ${TOLUA_EXE} -n Core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
    60   DEPENDS
    61     tolua_orxonox
    62     tolua/tolua.pkg
    63     Script.h
    64     CommandExecutor.h
    65   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
    66 )
     54INCLUDE(UseTolua)
     55TOLUA(Core CORE_SRC_FILES INPUTFILES Script.h CommandExecutor.h)
    6756
    6857ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
  • code/branches/buildsystem/src/core/Script.cc

    r1810 r1882  
    3636#include "lua/lua.hpp"
    3737
    38 #include "tolua/tolua++.h"
    39 #include "tolua/tolua_bind.h"
     38#include "tolua++.h"
     39#include "tolua_bind.h"
    4040
    4141namespace orxonox
Note: See TracChangeset for help on using the changeset viewer.