Last change
on this file since 2590 was
2588,
checked in by rgrieder, 16 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:
343 bytes
|
Line | |
---|
1 | SET( TINYXML_SRC_FILES |
---|
2 | ticpp.cc |
---|
3 | tinystr.cc |
---|
4 | tinyxml.cc |
---|
5 | tinyxmlerror.cc |
---|
6 | tinyxmlparser.cc |
---|
7 | ) |
---|
8 | |
---|
9 | IF(MSVC) |
---|
10 | ADD_LIBRARY(tinyxml_orxonox STATIC ${TINYXML_SRC_FILES}) |
---|
11 | ELSE(MSVC) |
---|
12 | ADD_LIBRARY(tinyxml_orxonox SHARED ${TINYXML_SRC_FILES}) |
---|
13 | ENDIF(MSVC) |
---|
14 | |
---|
15 | IF (NOT WIN32) |
---|
16 | INSTALL(TARGETS tinyxml_orxonox LIBRARY DESTINATION lib) |
---|
17 | ENDIF (NOT WIN32) |
---|
Note: See
TracBrowser
for help on using the repository browser.