Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/cmake/src/util/CMakeLists.txt @ 1129

Last change on this file since 1129 was 1127, checked in by rgrieder, 17 years ago
  • 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 size: 634 bytes
RevLine 
[1122]1SET(UTIL_SRC_FILES
[1024]2  ArgReader.cc
[1052]3  Clipboard.cc
[1122]4  ExprParser.cc
[1127]5  Math.cc
[871]6  MultiTypePrimitive.cc
7  MultiTypeString.cc
8  MultiTypeMath.cc
[1127]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
[744]23)
24
[1122]25ADD_LIBRARY(util SHARED ${UTIL_SRC_FILES})
[744]26
[742]27IF(TESTING_ENABLED)
[768]28  ADD_SUBDIRECTORY(testing)
[742]29ENDIF(TESTING_ENABLED)
[871]30
[1122]31TARGET_LINK_LIBRARIES(util
[871]32  ${OGRE_LIBRARIES}
[1127]33  ${Lua_LIBRARIES}
[1076]34)
35
[1127]36ADD_SUBDIRECTORY(tolua)
37
Note: See TracBrowser for help on using the repository browser.