~ubuntu-branches/ubuntu/precise/s3d/precise

« back to all changes in this revision

Viewing changes to libs3dw/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Sven Eckelmann
  • Date: 2009-07-11 17:00:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090711170052-2lltwp4rr01e6oly
* New upstream release
* debian/control:
  - Reduce debhelper dependency to 5
  - Only depend on xmlto and docbook-xml in Build-Depends-Indep for
    arch all package s3d-doc
* debian/patches:
  - Add 100-installable-examples.patch, make example usable without
    extra headers
  - Remove upstream merged patches 100-hyphen-used-as-minus-sign.patch,
    101-fix-sigbus-on-mips.patch, 102-send-correct-load-over-net.patch,
    103-endian-safe-float.patch, 104-reduce-depends.patch,
    105-s3dfm-pathnames.patch, 106-g3dorientation.patch,
    107-fix-cmake-ftbfs.patch, 108-fix-gpsd-ftbfs.patch,
    109-strip-libs3d-parameters.patch, 110-s3dosm-api06.patch,
    111-xmlto-documentation.patch
* Install examples with libs3d-dev and libs3dw-dev
* Convert debian/copyright to new dep5 version
* Upgraded to policy 3.8.2, no changes required
* Install upstream changelogs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
include_directories(${s3d_SOURCE_DIR}/libs3d ${s3d_SOURCE_DIR}/libs3dw)
2
2
 
3
 
set(S3DW_LIBRARY_DEPENDENCIES s3d ${S3D_LIBRARY_DEPENDENCIES})
 
3
set(S3DW_LIBRARY_DEPENDENCIES s3d ${MATH_LIBRARIES})
4
4
 
5
5
add_library(s3dw SHARED animate.c arrange.c button.c event.c input.c
6
6
        label.c root.c scrollbar.c style.c surface.c textbox.c widget.c)
7
7
target_link_libraries(s3dw ${S3DW_LIBRARY_DEPENDENCIES})
8
 
set_target_properties(s3dw PROPERTIES VERSION ${VERSION} SOVERSION 2)
9
 
set(S3DW_LIBRARIES s3dw CACHE PATHS "Path to libraries")
 
8
set_target_properties(s3dw PROPERTIES VERSION ${VERSION} SOVERSION 2
 
9
                      LINK_INTERFACE_LIBRARIES "")
10
10
 
11
11
# install
12
12
install(TARGETS s3dw
 
13
        RUNTIME DESTINATION bin
13
14
        LIBRARY DESTINATION lib
14
15
        ARCHIVE DESTINATION lib
15
16
)