Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/cpptcl/CMakeLists.txt @ 2594

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