Changeset 1975 for code/branches/buildsystem/src/tolua/CMakeLists.txt
- Timestamp:
- Oct 20, 2008, 5:53:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/src/tolua/CMakeLists.txt
r1882 r1975 1 # TODO: only build the object files once 2 1 3 SET (TOLUALIB_SRC_FILES 2 4 tolua_event.c … … 8 10 9 11 ADD_LIBRARY (tolualib_orxonox SHARED ${TOLUALIB_SRC_FILES}) 10 11 TARGET_LINK_LIBRARIES (tolualib_orxonox 12 lua_orxonox 13 ) 14 12 TARGET_LINK_LIBRARIES (tolualib_orxonox ${LUA_LIBRARIES}) 15 13 16 14 SET (TOLUAGEN_SRC_FILES … … 19 17 ) 20 18 21 ADD_EXECUTABLE (toluagen_orxonox ${TOLUAGEN_SRC_FILES}) 22 23 TARGET_LINK_LIBRARIES (toluagen_orxonox 24 lua_orxonox 25 tolualib_orxonox 26 m 27 ) 28 19 ADD_EXECUTABLE (toluagen_orxonox ${TOLUAGEN_SRC_FILES} ${TOLUALIB_SRC_FILES}) 20 TARGET_LINK_LIBRARIES (toluagen_orxonox ${LUA_LIBRARIES}) 29 21 30 22 SET (TOLUA_PACKAGE "${CMAKE_CURRENT_SOURCE_DIR}/tolua-5.1.pkg") … … 65 57 ) 66 58 67 ADD_EXECUTABLE (tolua_orxonox ${TOLUAEXE_SRC_FILES}) 68 69 TARGET_LINK_LIBRARIES (tolua_orxonox 70 lua_orxonox 71 tolualib_orxonox 72 m 73 ) 59 ADD_EXECUTABLE (tolua_orxonox ${TOLUAEXE_SRC_FILES} ${TOLUALIB_SRC_FILES}) 60 TARGET_LINK_LIBRARIES (tolua_orxonox ${LUA_LIBRARIES})
Note: See TracChangeset
for help on using the changeset viewer.