1 --- a/src/CMakeLists.txt
2 +++ b/src/CMakeLists.txt
4 # ==========================
6 add_subdirectory( api )
7 -add_subdirectory( third_party )
8 +# add_subdirectory( third_party )
9 add_subdirectory( toolkit )
10 add_subdirectory( utils )
12 --- a/src/third_party/CMakeLists.txt
13 +++ b/src/third_party/CMakeLists.txt
15 # ==========================
17 # list third-party subdirectories to build in
18 -add_subdirectory( jsoncpp )
19 +# add_subdirectory( jsoncpp )
20 --- a/src/utils/CMakeLists.txt
21 +++ b/src/utils/CMakeLists.txt
23 bamtools_utilities.cpp
26 +add_library( BamTools-utils-static STATIC
28 + bamtools_options.cpp
29 + bamtools_pileup_engine.cpp
30 + bamtools_utilities.cpp
32 +set_target_properties(BamTools-utils-static PROPERTIES
33 + OUTPUT_NAME "bamtools-utils"
37 # link BamTools-utils library with BamTools automatically
38 target_link_libraries( BamTools-utils BamTools )
39 +target_link_libraries( BamTools-utils-static BamTools )
41 # set BamTools library properties
42 set_target_properties( BamTools-utils PROPERTIES
44 OUTPUT_NAME bamtools-utils
47 +install( TARGETS BamTools-utils LIBRARY DESTINATION "lib/bamtools" RUNTIME DESTINATION "bin")
48 +install( TARGETS BamTools-utils-static ARCHIVE DESTINATION "lib/bamtools")