Last change
on this file since 2588 was
2588,
checked in by rgrieder, 15 years ago
|
Visual Studio generator working for all build types. Compiles but does not run yet.
- Had to define some export symbols
- tinyxml and cpptcl have to be linked statically
- some other libraries can be linked shared that were linked statically for windows (now for mingw only)
- added two macros: ADD_CXX_FLAG(_flag _condition) and ADD_C_FLAG(_flag _condition)
|
-
Property svn:eol-style set to
native
|
File size:
464 bytes
|
Line | |
---|
1 | SET( CEGUILUA_SRC_FILES |
---|
2 | CEGUILua.cpp |
---|
3 | CEGUILuaFunctor.cpp |
---|
4 | lua_CEGUI.cpp |
---|
5 | required.cpp |
---|
6 | ) |
---|
7 | |
---|
8 | ADD_CXX_FLAGS("-wd4996" MSVC) |
---|
9 | |
---|
10 | ADD_LIBRARY( ceguilua_orxonox SHARED ${CEGUILUA_SRC_FILES} ) |
---|
11 | |
---|
12 | SET_TARGET_PROPERTIES(ceguilua_orxonox PROPERTIES DEFINE_SYMBOL "CEGUILUA_EXPORTS") |
---|
13 | TARGET_LINK_LIBRARIES(ceguilua_orxonox |
---|
14 | tolualib_orxonox |
---|
15 | ${LUA_LIBRARIES} |
---|
16 | ${CEGUI_LIBRARY} |
---|
17 | ) |
---|
18 | |
---|
19 | IF (NOT WIN32) |
---|
20 | INSTALL(TARGETS ceguilua_orxonox LIBRARY DESTINATION lib) |
---|
21 | ENDIF (NOT WIN32) |
---|
Note: See
TracBrowser
for help on using the repository browser.