~ubuntu-branches/debian/stretch/openbabel/stretch

« back to all changes in this revision

Viewing changes to src/formats/inchi103/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Daniel Leidert
  • Date: 2013-05-22 19:08:27 UTC
  • mfrom: (1.1.11) (7.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20130522190827-72q0fnx5y2nm3bc0
Tags: 2.3.2+dfsg-1
* New upstream release.
* debian/control: Dropped DM-Upload-Allowed field.
  (Standards-Version): Bumped to 3.9.4.
* debian/copyright: Massive update.
* debian/upstream: Author name update.
* debian/get-orig-source.sh: Remove the windows-*/ directory too.
* debian/openbabel.install: Removed roundtrip manpage.
* debian/openbabel-gui.install: Fixed manpage name.
* debian/openbabel-gui.links: Removed unused file.
* debian/rules: Enable OpenMP. Disable tests on `nocheck'.
* debian/patches/gaussformat_nosym.patch: Dropped. Applied upstream.
* debian/patches/moldenformat_coordonly.patch: Ditto.
* debian/patches/obspectrophore_man.patch: Ditto.
* debian/patches/fix_ftbfs.patch: Added.
  - Fix several FTBFS issues in upstream build system.
* debian/patches/series: Adjusted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
project(inchi)
2
 
set(INCHI_MAJ_VER   0)
3
 
set(INCHI_MIN_VER   3)
4
 
set(INCHI_PATCH_VER 1)
5
 
 
6
 
file(GLOB inchi_srcs "*.c")
7
 
 
8
 
if(NOT WIN32)
9
 
  set(libs ${libs} c)
10
 
endif(NOT WIN32)
11
 
 
12
 
include_directories(${openbabel_SOURCE_DIR}/include/inchi103)
13
 
add_library(inchi STATIC ${inchi_srcs})
14
 
target_link_libraries(inchi ${libs})
15
 
set_target_properties(inchi PROPERTIES
16
 
                            COMPILE_FLAGS -fPIC
17
 
                            VERSION ${INCHI_MAJ_VER}.${INCHI_MIN_VER}.${INCHI_PATCH_VER}
18
 
                            SOVERSION ${INCHI_MAJ_VER}
19
 
                            DEFINE_SYMBOL _USRDLL
20
 
)
21
 
export(TARGETS inchi APPEND FILE "${OB_EXPORTS_FILE}")
22
 
 
23
 
install(TARGETS inchi
24
 
                EXPORT openbabel-targets
25
 
                RUNTIME DESTINATION ${BIN_INSTALL_DIR}
26
 
                LIBRARY DESTINATION ${LIB_INSTALL_DIR}
27
 
                ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
28
 
)