X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fapi%2FCMakeLists.txt;h=55f256025c00834a4c0df3c98bcc88649324dc75;hb=c3a7c31347d42a926214e2508d713975d124e8c6;hp=e9c3b65785969721e4b591752d7485f7ff239f9f;hpb=88577e25bbf4b6b43642cb679c5f9f5cba026fec;p=bamtools.git diff --git a/src/api/CMakeLists.txt b/src/api/CMakeLists.txt index e9c3b65..55f2560 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.5" ) 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})