Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 22, 2008, 1:37:42 PM (17 years ago)
Author:
rgrieder
Message:
  • tolua_bind.cc and Script.cc depended on each other, but were not in the same library. gcc doesn't care anyway, vc++ didn't too because I linked statically. However: Circular dependencies are not very good. New approach: every lib has its own tolua_bind.cc file I've added this for orxonox and core.

fabian: Is it possible, that under certain conditions, you need the SET_TARGET_PROPERTIES?

On tardis, things work very well without it. But what about cmake under windows?

I'll readd it, if required.

File:
1 edited

Legend:

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

    r1122 r1127  
    1 AUX_SOURCE_DIRECTORY(tinyxml TINYXML_SRC_FILES)
    2 
    31SET(UTIL_SRC_FILES
    42  ArgReader.cc
     3  Clipboard.cc
     4  ExprParser.cc
    55  Math.cc
    6   String.cc
    7   Clipboard.cc
    8   SubString.cc
    9   ExprParser.cc
    106  MultiTypePrimitive.cc
    117  MultiTypeString.cc
    128  MultiTypeMath.cc
    13   ${TINYXML_SRC_FILES}
     9  String.cc
     10  SubString.cc
     11
     12  tinyxml/ticpp.cc
     13  tinyxml/tinystr.cc
     14  tinyxml/tinyxml.cc
     15  tinyxml/tinyxmlerror.cc
     16  tinyxml/tinyxmlparser.cc
     17
     18  tolua/tolua_event.c
     19  tolua/tolua_is.c
     20  tolua/tolua_map.c
     21  tolua/tolua_push.c
     22  tolua/tolua_to.c
    1423)
    1524
     
    2231TARGET_LINK_LIBRARIES(util
    2332  ${OGRE_LIBRARIES}
     33  ${Lua_LIBRARIES}
    2434)
    2535
     36ADD_SUBDIRECTORY(tolua)
     37
Note: See TracChangeset for help on using the changeset viewer.