root/OpenSceneGraph/trunk/src/osgIntrospection/CMakeLists.txt @ 9671

Revision 9671, 1.7 kB (checked in by robert, 6 years ago)

From Sherman Wilcox, added VS versioning information into libs

  • Property svn:eol-style set to native
Line 
1
2IF   (DYNAMIC_OPENSCENEGRAPH)
3    ADD_DEFINITIONS(-DOSGINTROSPECTION_LIBRARY)
4ELSE (DYNAMIC_OPENSCENEGRAPH)
5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
6ENDIF(DYNAMIC_OPENSCENEGRAPH)
7
8SET(LIB_NAME osgIntrospection)
9SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
10SET(LIB_PUBLIC_HEADERS
11    ${HEADER_PATH}/Attributes
12    ${HEADER_PATH}/Comparator
13    ${HEADER_PATH}/ConstructorInfo
14    ${HEADER_PATH}/Converter
15    ${HEADER_PATH}/ConverterProxy
16    ${HEADER_PATH}/CustomAttribute
17    ${HEADER_PATH}/CustomAttributeProvider
18    ${HEADER_PATH}/Exceptions
19    ${HEADER_PATH}/Export
20    ${HEADER_PATH}/ExtendedTypeInfo
21    ${HEADER_PATH}/InstanceCreator
22    ${HEADER_PATH}/MethodInfo
23    ${HEADER_PATH}/ParameterInfo
24    ${HEADER_PATH}/PropertyInfo
25    ${HEADER_PATH}/PublicMemberAccessor
26    ${HEADER_PATH}/ReaderWriter
27    ${HEADER_PATH}/Reflection
28    ${HEADER_PATH}/ReflectionMacros
29    ${HEADER_PATH}/Reflector
30    ${HEADER_PATH}/StaticMethodInfo
31    ${HEADER_PATH}/Type
32    ${HEADER_PATH}/TypedConstructorInfo
33    ${HEADER_PATH}/TypedMethodInfo
34    ${HEADER_PATH}/TypeNameAliasProxy
35    ${HEADER_PATH}/type_traits
36    ${HEADER_PATH}/Utility
37    ${HEADER_PATH}/Value
38    ${HEADER_PATH}/Version
39    ${HEADER_PATH}/variant_cast
40)
41
42# FIXME: For OS X, need flag for Framework or dylib
43ADD_LIBRARY(${LIB_NAME}
44    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
45    ${LIB_PUBLIC_HEADERS}
46    ConstructorInfo.cpp
47    CustomAttributeProvider.cpp
48    DefaultReflectors.cpp
49    MethodInfo.cpp
50    PropertyInfo.cpp
51    Reflection.cpp
52    Reflector.cpp
53    Type.cpp
54    Utility.cpp
55    Value.cpp
56    Version.cpp
57    ${OPENSCENEGRAPH_VERSIONINFO_RC}
58)
59
60LINK_INTERNAL(${LIB_NAME}
61       OpenThreads
62       osg
63)
64
65LINK_CORELIB_DEFAULT(${LIB_NAME})
66
67
68INCLUDE(ModuleInstall OPTIONAL)
69
Note: See TracBrowser for help on using the browser.