Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 22, 2008, 1:37:42 PM (16 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/core/Script.cc

    r1122 r1127  
    3939}
    4040
    41 #include "tolua/tolua++.h"
     41#include "tolua++.h"
    4242#include "tolua/tolua_bind.h"
    4343
     
    6060    luaopen_debug(luaState_);
    6161#endif
    62     tolua_orxonox_open(luaState_);
     62    tolua_core_open(luaState_);
    6363    output_ = "";
    6464  }
Note: See TracChangeset for help on using the changeset viewer.