Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2624 was 2624, checked in by rgrieder, 16 years ago

Replaced most of the ELSE(…) and ENDIF(…) with ELSE() and ENDIF(). Kept the shorter and the spreaded ones for better clarity since that's what it originally was thought for. But I can really pollute the code when having long conditions and lots of IFs.

  • Property svn:eol-style set to native
File size: 537 bytes
Line 
1SET(CPPTCL_FILES
2  cpptcl.h
3  cpptcl.cc
4
5  details/callbacks.h
6  details/callbacks_v.h
7  details/constructors.h
8  details/conversions.h
9  details/dispatchers.h
10  details/metahelpers.h
11  details/methods.h
12  details/methods_v.h
13)
14GENERATE_SOURCE_GROUPS(${CPPTCL_FILES})
15
16IF(MSVC)
17  ADD_LIBRARY(cpptcl_orxonox STATIC ${CPPTCL_FILES})
18ELSE()
19  ADD_LIBRARY(cpptcl_orxonox SHARED ${CPPTCL_FILES})
20ENDIF()
21
22TARGET_LINK_LIBRARIES(cpptcl_orxonox
23  ${TCL_LIBRARY}
24)
25
26IF(NOT WIN32)
27  INSTALL(TARGETS cpptcl_orxonox LIBRARY DESTINATION lib)
28ENDIF()
Note: See TracBrowser for help on using the repository browser.