Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Building staden_io_lib from contrib dir

  • Loading branch information...
commit 29f2993fab00a285c31e9297c79fc712e14f2c93 1 parent 9a148fe
Pjotr Prins authored
35 src/clibs/staden_io_lib/src/CMakeLists.txt
View
@@ -0,0 +1,35 @@
+cmake_minimum_required(VERSION 2.6)
+
+PROJECT(Biolib_staden_iolib)
+SET (M_NAME staden_io_lib)
+# SET (M_VERSION 1.11.6)
+
+IF(NOT BUILD_LIBS)
+ SET (MAP_ROOT ../../../..)
+ SET (CMAKE_MODULE_PATH ${MAP_ROOT}/tools/cmake-support/modules)
+ENDIF()
+
+FIND_PACKAGE(Map REQUIRED)
+FIND_PACKAGE(ZLIB REQUIRED)
+
+SET(CONTRIB_PATH ${MAP_ROOT}/contrib/${M_NAME})
+SET(CONTRIB_SRC_PATH ${CONTRIB_PATH}/io_lib)
+
+MESSAGE("CONTRIB_PATH=${CONTRIB_PATH}")
+
+SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ../build)
+
+INCLUDE_DIRECTORIES(${CONTRIB_PATH})
+
+BUILD_CLIB()
+
+FILE(STRINGS files.txt CONTRIB_FILES)
+
+ADD_LIBRARY(${LIBNAME} SHARED
+ ${CONTRIB_FILES}
+)
+
+# ---- The following may be required for OSX
+# TARGET_LINK_LIBRARIES(${LIBNAME} ${ZLIB_NAME})
+
+INSTALL_CLIB()
35 src/clibs/staden_io_lib/src/files.txt
View
@@ -0,0 +1,35 @@
+${CONTRIB_SRC_PATH}/array.c
+${CONTRIB_SRC_PATH}/compress.c
+${CONTRIB_SRC_PATH}/compression.c
+${CONTRIB_SRC_PATH}/ctfCompress.c
+${CONTRIB_SRC_PATH}/deflate_interlaced.c
+${CONTRIB_SRC_PATH}/error.c
+${CONTRIB_SRC_PATH}/expFileIO.c
+${CONTRIB_SRC_PATH}/files.c
+${CONTRIB_SRC_PATH}/find.c
+${CONTRIB_SRC_PATH}/fpoint.c
+${CONTRIB_SRC_PATH}/hash_table.c
+${CONTRIB_SRC_PATH}/jenkins_lookup3.c
+${CONTRIB_SRC_PATH}/mach-io.c
+${CONTRIB_SRC_PATH}/mFILE.c
+${CONTRIB_SRC_PATH}/misc_scf.c
+${CONTRIB_SRC_PATH}/open_trace_file.c
+${CONTRIB_SRC_PATH}/pooled_alloc.c
+${CONTRIB_SRC_PATH}/read_alloc.c
+${CONTRIB_SRC_PATH}/Read.c
+${CONTRIB_SRC_PATH}/read_scf.c
+${CONTRIB_SRC_PATH}/scf_extras.c
+${CONTRIB_SRC_PATH}/seqIOABI.c
+${CONTRIB_SRC_PATH}/seqIOALF.c
+${CONTRIB_SRC_PATH}/seqIOCTF.c
+${CONTRIB_SRC_PATH}/seqIOPlain.c
+${CONTRIB_SRC_PATH}/sff.c
+${CONTRIB_SRC_PATH}/srf.c
+${CONTRIB_SRC_PATH}/strings.c
+${CONTRIB_SRC_PATH}/traceType.c
+${CONTRIB_SRC_PATH}/translate.c
+${CONTRIB_SRC_PATH}/vlen.c
+${CONTRIB_SRC_PATH}/write_scf.c
+${CONTRIB_SRC_PATH}/xalloc.c
+${CONTRIB_SRC_PATH}/ztr.c
+${CONTRIB_SRC_PATH}/ztr_translate.c
Please sign in to comment.
Something went wrong with that request. Please try again.