Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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.
File:
1 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
Note: See TracChangeset for help on using the changeset viewer.