~ubuntu-branches/ubuntu/lucid/blender/lucid

« back to all changes in this revision

Viewing changes to extern/bullet2/src/BulletSoftBody/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2009-08-06 22:32:19 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806223219-8z4eej1u8levu4pz
Tags: 2.49a+dfsg-0ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: Build-depend on python-2.6 rather than python-2.5.
  - debian/misc/*.desktop: Add Spanish translation to .desktop 
    files.
  - debian/pyversions: 2.6.
  - debian/rules: Clean *.o of source/blender/python/api2_2x/
* New upstream release (LP: #382153).
* Refreshed patches:
  - 01_sanitize_sys.patch
  - 02_tmp_in_HOME
  - 10_use_systemwide_ftgl
  - 70_portability_platform_detection
* Removed patches merged upstream:
  - 30_fix_python_syntax_warning
  - 90_ubuntu_ffmpeg_52_changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
INCLUDE_DIRECTORIES(
3
 
${BULLET_PHYSICS_SOURCE_DIR}/src }
4
 
)
5
 
 
6
 
ADD_LIBRARY(LibBulletSoftBody
7
 
        btSoftBody.cpp
8
 
        btSoftBody.h
9
 
        btSoftBodyHelpers.cpp
10
 
        btSparseSDF.h
11
 
        btSoftBodyHelpers.h
12
 
        btSoftBodyRigidBodyCollisionConfiguration.cpp
13
 
        btSoftRigidCollisionAlgorithm.cpp
14
 
        btSoftRigidCollisionAlgorithm.h
15
 
        btSoftSoftCollisionAlgorithm.cpp
16
 
        btSoftSoftCollisionAlgorithm.h
17
 
        btSoftBodyConcaveCollisionAlgorithm.cpp
18
 
        btSoftBodyConcaveCollisionAlgorithm.h
19
 
        btSoftRigidDynamicsWorld.h
20
 
        btSoftRigidDynamicsWorld.cpp
21
 
)
 
1
 
 
2
INCLUDE_DIRECTORIES(
 
3
${BULLET_PHYSICS_SOURCE_DIR}/src }
 
4
)
 
5
 
 
6
SET(BulletSoftBody_SRCS
 
7
        btSoftBody.cpp
 
8
        btSoftBodyHelpers.cpp
 
9
        btSoftBodyRigidBodyCollisionConfiguration.cpp
 
10
        btSoftRigidCollisionAlgorithm.cpp
 
11
        btSoftSoftCollisionAlgorithm.cpp
 
12
        btSoftBodyConcaveCollisionAlgorithm.cpp
 
13
        btSoftRigidDynamicsWorld.cpp
 
14
)
 
15
 
 
16
SET(BulletSoftBody_HDRS
 
17
        btSoftBody.h
 
18
        btSparseSDF.h
 
19
        btSoftBodyHelpers.h
 
20
        btSoftRigidCollisionAlgorithm.h
 
21
        btSoftSoftCollisionAlgorithm.h
 
22
        btSoftBodyConcaveCollisionAlgorithm.h
 
23
        btSoftRigidDynamicsWorld.h
 
24
)
 
25
 
 
26
 
 
27
 
 
28
ADD_LIBRARY(BulletSoftBody  ${BulletSoftBody_SRCS} ${BulletSoftBody_HDRS})
 
29
SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES VERSION ${BULLET_VERSION})
 
30
SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES SOVERSION ${BULLET_VERSION})
 
31
IF (BUILD_SHARED_LIBS)
 
32
        TARGET_LINK_LIBRARIES(BulletSoftBody BulletDynamics)
 
33
ENDIF (BUILD_SHARED_LIBS)
 
34
 
 
35
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
 
36
        INSTALL(TARGETS BulletSoftBody DESTINATION lib)
 
37
        INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
 
38
ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
 
39
 
 
40
IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
 
41
        SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES FRAMEWORK true)
 
42
        SET_TARGET_PROPERTIES(BulletSoftBody PROPERTIES PUBLIC_HEADER "${BulletSoftBody_HDRS}")
 
43
ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)