Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1148


Ignore:
Timestamp:
Apr 23, 2008, 10:55:28 PM (16 years ago)
Author:
rgrieder
Message:
  • tolua working directory is now bin/lib/ again
  • commented dependency code in cmake for tolua_bind.*, has yet to be tested on windows cmake.
Location:
code/branches/cmake/src
Files:
3 edited

Legend:

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

    r1147 r1148  
    2727  Script.cc
    2828  tolua/tolua_bind.cc
    29   tolua/tolua_bind.h
     29#tolua/tolua_bind.h
    3030)
    3131
    32 SET_SOURCE_FILES_PROPERTIES(tolua/tolua_bind.h
    33   PROPERTIES
    34   OBJECT_DEPENDS tolua/tolua_bind.h
    35   OBJECT_DEPENDS tolua/tolua_bind.cc
    36   GENERATED true
    37   HEADER_FILE_ONLY true
    38 )
     32#SET_SOURCE_FILES_PROPERTIES(tolua/tolua_bind.h
     33#  PROPERTIES
     34#  OBJECT_DEPENDS tolua/tolua_bind.h
     35#  OBJECT_DEPENDS tolua/tolua_bind.cc
     36#  GENERATED true
     37#  HEADER_FILE_ONLY true
     38#)
    3939
    4040GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
    4141ADD_CUSTOM_COMMAND(
    42   OUTPUT tolua/tolua_bind.cc
    43   COMMAND ${TOLUA_EXE} -n core -o core/tolua/tolua_bind.cc -H core/tolua/tolua_bind.h core/tolua/tolua.pkg
     42  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
     43  COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
    4444  DEPENDS tolua
    45   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src
     45  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
    4646)
    4747
  • code/branches/cmake/src/core/tolua/tolua.pkg

    r1127 r1148  
    1 $cfile "core/Script_clean.h"
     1$cfile "../../src/core/Script_clean.h"
  • code/branches/cmake/src/orxonox/CMakeLists.txt

    r1147 r1148  
    3131#  objects/weapon/WeaponStation.cc
    3232  tolua/tolua_bind.cc
    33   tolua/tolua_bind.h
     33#  tolua/tolua_bind.h
    3434)
    3535
    36 SET_SOURCE_FILES_PROPERTIES(tolua/tolua_bind.h
    37   PROPERTIES
    38   OBJECT_DEPENDS tolua/tolua_bind.h
    39   OBJECT_DEPENDS tolua/tolua_bind.cc
    40   GENERATED true
    41   HEADER_FILE_ONLY true
    42 )
     36#SET_SOURCE_FILES_PROPERTIES(tolua/tolua_bind.h
     37#  PROPERTIES
     38#  OBJECT_DEPENDS tolua/tolua_bind.h
     39#  OBJECT_DEPENDS tolua/tolua_bind.cc
     40#  GENERATED true
     41#  HEADER_FILE_ONLY true
     42#)
    4343
    4444GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
    4545ADD_CUSTOM_COMMAND(
    46   OUTPUT tolua/tolua_bind.cc
    47   COMMAND ${TOLUA_EXE} -n orxonox -o orxonox/tolua/tolua_bind.cc -H orxonox/tolua/tolua_bind.h orxonox/tolua/tolua.pkg
     46  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
     47  COMMAND ${TOLUA_EXE} -n orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
    4848  DEPENDS tolua
    49   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src
     49  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
    5050)
    5151       
Note: See TracChangeset for help on using the changeset viewer.