root/OpenSceneGraph/trunk/src/osgParticle/CMakeLists.txt @ 9949

Revision 9949, 2.3 kB (checked in by robert, 5 years ago)

From Philip Lowman, "Here's the promised cleanup of the OSG's CMakeLists.txt files for the src/ folder. I'll submit the others separately.

Also, there was also a small bug in osgDB's CMakeLists.txt that was causing an error when I tested with CMake 2.4.4.

IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime")
was changed to
IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime")
"

  • Property svn:eol-style set to native
Line 
1
2IF(DYNAMIC_OPENSCENEGRAPH)
3    ADD_DEFINITIONS(-DOSGPARTICLE_LIBRARY)
4ELSE()
5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
6ENDIF()
7
8SET(LIB_NAME osgParticle)
9SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
10SET(LIB_PUBLIC_HEADERS
11    ${HEADER_PATH}/AccelOperator
12    ${HEADER_PATH}/AngularAccelOperator
13    ${HEADER_PATH}/BoxPlacer
14    ${HEADER_PATH}/CenteredPlacer
15    ${HEADER_PATH}/ConnectedParticleSystem
16    ${HEADER_PATH}/ConstantRateCounter
17    ${HEADER_PATH}/Counter
18    ${HEADER_PATH}/Emitter
19    ${HEADER_PATH}/ExplosionDebrisEffect
20    ${HEADER_PATH}/ExplosionEffect
21    ${HEADER_PATH}/Export
22    ${HEADER_PATH}/FireEffect
23    ${HEADER_PATH}/FluidFrictionOperator
24    ${HEADER_PATH}/FluidProgram
25    ${HEADER_PATH}/ForceOperator
26    ${HEADER_PATH}/Interpolator
27    ${HEADER_PATH}/LinearInterpolator
28    ${HEADER_PATH}/ModularEmitter
29    ${HEADER_PATH}/ModularProgram
30    ${HEADER_PATH}/MultiSegmentPlacer
31    ${HEADER_PATH}/Operator
32    ${HEADER_PATH}/Particle
33    ${HEADER_PATH}/ParticleEffect
34    ${HEADER_PATH}/ParticleProcessor
35    ${HEADER_PATH}/ParticleSystem
36    ${HEADER_PATH}/ParticleSystemUpdater
37    ${HEADER_PATH}/Placer
38    ${HEADER_PATH}/PointPlacer
39    ${HEADER_PATH}/PrecipitationEffect
40    ${HEADER_PATH}/Program
41    ${HEADER_PATH}/RadialShooter
42    ${HEADER_PATH}/RandomRateCounter
43    ${HEADER_PATH}/range
44    ${HEADER_PATH}/SectorPlacer
45    ${HEADER_PATH}/SegmentPlacer
46    ${HEADER_PATH}/Shooter
47    ${HEADER_PATH}/SmokeEffect
48    ${HEADER_PATH}/SmokeTrailEffect
49    ${HEADER_PATH}/VariableRateCounter
50    ${HEADER_PATH}/Version
51)
52
53# FIXME: For OS X, need flag for Framework or dylib
54ADD_LIBRARY(${LIB_NAME}
55    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
56    ${LIB_PUBLIC_HEADERS}
57    ConnectedParticleSystem.cpp
58    Emitter.cpp
59    ExplosionDebrisEffect.cpp
60    ExplosionEffect.cpp
61    FireEffect.cpp
62    FluidFrictionOperator.cpp
63    FluidProgram.cpp
64    ModularEmitter.cpp
65    ModularProgram.cpp
66    MultiSegmentPlacer.cpp
67    Particle.cpp
68    ParticleEffect.cpp
69    ParticleProcessor.cpp
70    ParticleSystem.cpp
71    ParticleSystemUpdater.cpp
72    PrecipitationEffect.cpp
73    Program.cpp
74    SmokeEffect.cpp
75    SmokeTrailEffect.cpp
76    Version.cpp
77    ${OPENSCENEGRAPH_VERSIONINFO_RC}
78)
79
80LINK_INTERNAL(${LIB_NAME}     
81    osgUtil
82    osgDB
83    osg
84    OpenThreads
85)
86LINK_CORELIB_DEFAULT(${LIB_NAME})
87
88INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.