Ignore:
Timestamp:
Mar 14, 2016, 12:50:52 AM (6 years ago)
Author:
Peter
Message:

fix PP conditionals so code compiles against libbam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.developer

    r3423 r3481  
    6363Code that depends on samtools API should be excluded from the build
    6464when configured --without-samtools, i.e., put files within
    65 `HAVE_LIBBAM` conditionals (or alternatively put code inside `#ifdef
    66 HAVE_SAMTOOL` preprocessor conditionals). In order to support multiple
    67 inclusion styles we do not include <bam.h> directly, but `#include
    68 <config_bam.h>` and `#include YAT_BAM_HEADER`. Similarly, for `<sam.h>`
    69 include `YAT_SAM_HEADER`. For more details on this, refer to
    70 `yat/omic/config_bam.h`.
     65`YAT_HAVE_LIBBAM` conditionals (or alternatively put code inside
     66`#ifdef YAT_HAVE_SAMTOOL` preprocessor conditionals). To
     67differatniuate between code that compiles against libhts and libbam,
     68use `#ifdef YAT_HAVE_HTSLIB` (or `#ifndef`. In order to support
     69multiple inclusion styles we do not include <bam.h> directly, but
     70`#include <config_bam.h>` and `#include YAT_BAM_HEADER`. Similarly,
     71for `<sam.h>` include `YAT_SAM_HEADER`. For more details on this,
     72refer to `yat/omic/config_bam.h`.
    7173
    7274=== Doxygen ===
Note: See TracChangeset for help on using the changeset viewer.