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
|
Line | |
---|
1 | SET(UTIL_SRC_FILES |
---|
2 | ArgReader.cc |
---|
3 | Clipboard.cc |
---|
4 | ExprParser.cc |
---|
5 | Math.cc |
---|
6 | MultiTypePrimitive.cc |
---|
7 | MultiTypeString.cc |
---|
8 | MultiTypeMath.cc |
---|
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 |
---|
23 | ) |
---|
24 | |
---|
25 | ADD_LIBRARY(util SHARED ${UTIL_SRC_FILES}) |
---|
26 | |
---|
27 | IF(TESTING_ENABLED) |
---|
28 | ADD_SUBDIRECTORY(testing) |
---|
29 | ENDIF(TESTING_ENABLED) |
---|
30 | |
---|
31 | TARGET_LINK_LIBRARIES(util |
---|
32 | ${OGRE_LIBRARIES} |
---|
33 | ${Lua_LIBRARIES} |
---|
34 | ) |
---|
35 | |
---|
36 | ADD_SUBDIRECTORY(tolua) |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.