X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fapi%2FCMakeLists.txt;h=c85b71b740f532c6814442f2a6625ad20aacad14;hb=9f1ce8c47aeadb6dc1320b52ee671c3341b97935;hp=e9c3b65785969721e4b591752d7485f7ff239f9f;hpb=243a21d278e81d0a05997ad8bef109153443fb75;p=bamtools.git diff --git a/src/api/CMakeLists.txt b/src/api/CMakeLists.txt index e9c3b65..c85b71b 100644 --- a/src/api/CMakeLists.txt +++ b/src/api/CMakeLists.txt @@ -26,6 +26,7 @@ set( BamToolsAPISources SamSequence.cpp SamSequenceDictionary.cpp internal/BamDeviceFactory_p.cpp + internal/BamException_p.cpp internal/BamFile_p.cpp internal/BamFtp_p.cpp internal/BamHeader_p.cpp @@ -39,6 +40,8 @@ set( BamToolsAPISources internal/BamToolsIndex_p.cpp internal/BamWriter_p.cpp internal/BgzfStream_p.cpp + internal/ILocalIODevice_p.cpp + internal/IRemoteIODevice_p.cpp internal/SamFormatParser_p.cpp internal/SamFormatPrinter_p.cpp internal/SamHeaderValidator_p.cpp @@ -46,7 +49,7 @@ set( BamToolsAPISources # create main BamTools API shared library add_library( BamTools SHARED ${BamToolsAPISources} ) -set_target_properties( BamTools PROPERTIES SOVERSION "1.0.2" ) +set_target_properties( BamTools PROPERTIES SOVERSION "2.0.0" ) set_target_properties( BamTools PROPERTIES OUTPUT_NAME "bamtools" ) # create main BamTools API static library @@ -66,6 +69,7 @@ install( TARGETS BamTools-static ARCHIVE DESTINATION "lib/bamtools") include(../ExportHeader.cmake) set(ApiIncludeDir "api") ExportHeader(APIHeaders api_global.h ${ApiIncludeDir}) +ExportHeader(APIHeaders BamAlgorithms.h ${ApiIncludeDir}) ExportHeader(APIHeaders BamAlignment.h ${ApiIncludeDir}) ExportHeader(APIHeaders BamAux.h ${ApiIncludeDir}) ExportHeader(APIHeaders BamConstants.h ${ApiIncludeDir}) @@ -82,3 +86,6 @@ ExportHeader(APIHeaders SamReadGroup.h ${ApiIncludeDir}) ExportHeader(APIHeaders SamReadGroupDictionary.h ${ApiIncludeDir}) ExportHeader(APIHeaders SamSequence.h ${ApiIncludeDir}) ExportHeader(APIHeaders SamSequenceDictionary.h ${ApiIncludeDir}) + +set(AlgorithmsIncludeDir "api/algorithms") +ExportHeader(AlgorithmsHeaders algorithms/Sort.h ${AlgorithmsIncludeDir})