
# add the library that runs 
add_library(Blst brh_typ.cc brm_typ.cc bsb_typ.cc gblast.cc gpxdrop.cc
	hspheap.cc my_blastkar.cc my_ncbi.cc my_ncbimath.cc sfp_typ.cc )

target_link_libraries(Blst Afn)

# state that anybody linking to us needs to include the current source dir
# to find MathFunctions.h, while we don't.
include_directories("${PROJECT_SOURCE_DIR}/lib/libafn" 
	"${PROJECT_SOURCE_DIR}/lib/include") 

target_include_directories(Blst
                           INTERFACE
                            $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
                            $<INSTALL_INTERFACE:include>
                           )

# setup the version numbering
set_property(TARGET Blst PROPERTY VERSION "1.0.0")
set_property(TARGET Blst PROPERTY SOVERSION "1")

#install(TARGETS Blst DESTINATION lib EXPORT BlstTargets)

