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

« back to all changes in this revision

Viewing changes to extern/bullet2/src/LinearMath/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:
3
3
${BULLET_PHYSICS_SOURCE_DIR}/src }
4
4
)
5
5
 
6
 
ADD_LIBRARY(LibLinearMath
 
6
SET(LinearMath_SRCS
 
7
                btConvexHull.cpp
 
8
                btQuickprof.cpp
 
9
                btGeometryUtil.cpp
 
10
                btAlignedAllocator.cpp
 
11
)
 
12
 
 
13
SET(LinearMath_HDRS
7
14
                btAlignedObjectArray.h
8
15
                btList.h
9
16
                btPoolAllocator.h
16
23
                btScalar.h
17
24
                btAabbUtil2.h
18
25
                btConvexHull.h
19
 
                btConvexHull.cpp
20
26
                btMinMax.h
21
27
                btQuaternion.h
22
28
                btStackAlloc.h
25
31
                btTransform.h
26
32
                btAlignedAllocator.h
27
33
                btIDebugDraw.h
28
 
                btPoint3.h
29
34
                btQuickprof.h
30
35
                btTransformUtil.h
31
 
                btQuickprof.cpp
32
 
                btGeometryUtil.cpp
33
 
                btAlignedAllocator.cpp
34
36
)
35
37
 
 
38
ADD_LIBRARY(LinearMath ${LinearMath_SRCS} ${LinearMath_HDRS})
 
39
SET_TARGET_PROPERTIES(LinearMath PROPERTIES VERSION ${BULLET_VERSION})
 
40
SET_TARGET_PROPERTIES(LinearMath PROPERTIES SOVERSION ${BULLET_VERSION})
 
41
 
 
42
#FILES_MATCHING requires CMake 2.6
 
43
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
 
44
        INSTALL(TARGETS LinearMath DESTINATION lib)
 
45
        INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.h")
 
46
ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
 
47
 
 
48
IF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)
 
49
        SET_TARGET_PROPERTIES(LinearMath PROPERTIES FRAMEWORK true)
 
50
        SET_TARGET_PROPERTIES(LinearMath PROPERTIES PUBLIC_HEADER "${LinearMath_HDRS}")
 
51
ENDIF (APPLE AND BUILD_SHARED_LIBS AND FRAMEWORK)