Changeset 1153 for code/trunk/src/core/CMakeLists.txt
- Timestamp:
- Apr 24, 2008, 10:35:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/CMakeLists.txt
r1126 r1153 26 26 Tickable.cc 27 27 Script.cc 28 tolua/tolua_bind.cc 29 #tolua/tolua_bind.h 30 ) 31 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 #) 39 40 GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION) 41 ADD_CUSTOM_COMMAND( 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 44 DEPENDS tolua 45 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib 28 46 ) 29 47 … … 31 49 32 50 TARGET_LINK_LIBRARIES(core 33 util34 tolualib35 51 ${Lua_LIBRARIES} 36 52 ${OIS_LIBRARIES} 53 ${OGRE_LIBRARIES} 54 util 37 55 )
Note: See TracChangeset
for help on using the changeset viewer.