Last change
on this file since 2594 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:
275 bytes
|
Line | |
---|
1 | IF(MSVC) |
---|
2 | ADD_LIBRARY(cpptcl_orxonox STATIC CppTcl.cc) |
---|
3 | ELSE(MSVC) |
---|
4 | ADD_LIBRARY(cpptcl_orxonox SHARED CppTcl.cc) |
---|
5 | ENDIF(MSVC) |
---|
6 | |
---|
7 | TARGET_LINK_LIBRARIES(cpptcl_orxonox |
---|
8 | ${TCL_LIBRARY} |
---|
9 | ) |
---|
10 | |
---|
11 | IF (NOT WIN32) |
---|
12 | INSTALL(TARGETS cpptcl_orxonox LIBRARY DESTINATION lib) |
---|
13 | ENDIF (NOT WIN32) |
---|
Note: See
TracBrowser
for help on using the repository browser.