# =========================================================================== # # PUBLIC DOMAIN NOTICE # National Center for Biotechnology Information # # This software/database is a "United States Government Work" under the # terms of the United States Copyright Act. It was written as part of # the author's official duties as a United States Government employee and # thus cannot be copyrighted. This software/database is freely available # to the public for use. The National Library of Medicine and the U.S. # Government have not placed any restriction on its use or reproduction. # # Although all reasonable efforts have been taken to ensure the accuracy # and reliability of the software and data, the NLM and the U.S. # Government do not and cannot warrant the performance or results that # may be obtained by using this software or data. The NLM and the U.S. # Government disclaim all warranties, express or implied, including # warranties of performance, merchantability or fitness for any particular # purpose. # # Please cite the author in any work or product based on this material. # # =========================================================================== if(NOT CMAKE_TEST_OUTPUT_DIRECTORY) set(CMAKE_TEST_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/test-bin) endif() set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_TEST_OUTPUT_DIRECTORY} ) if ( "GNU" STREQUAL "${CMAKE_C_COMPILER_ID}") set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-but-set-variable" ) endif() add_subdirectory(kfc) set( COMMON_LINK_LIBRARIES ktst kapp ) set( ADDITIONAL_LIBS "" ) # for the tests that link against libncbi-[w]vdb if( WIN32 ) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ENTRY:wmainCRTStartup") set( COMMON_LIBS_READ ${COMMON_LINK_LIBRARIES} ncbi-vdb Ws2_32 Crypt32 ${MBEDTLS_LIBS} ) set( COMMON_LIBS_WRITE ${COMMON_LINK_LIBRARIES} ncbi-wvdb Ws2_32 Crypt32 ${MBEDTLS_LIBS} ) else() link_libraries( ${COMMON_LINK_LIBRARIES} ) set( COMMON_LIBS_READ ncbi-vdb dl pthread ${MBEDTLS_LIBS} ) set( COMMON_LIBS_WRITE ncbi-wvdb dl pthread ${MBEDTLS_LIBS} ) endif() add_subdirectory(ktst) add_subdirectory(cc) add_subdirectory(ext) add_subdirectory(judy_test) add_subdirectory(klib) add_subdirectory(kfs) add_subdirectory(kfg) add_subdirectory(kapp) add_subdirectory(cloud) add_subdirectory(krypto) add_subdirectory(cipher) add_subdirectory(kdb) add_subdirectory(kproc) add_subdirectory(vdb) add_subdirectory(search) add_subdirectory(sraxf) add_subdirectory(vxf) add_subdirectory(axf) add_subdirectory(schema) # TODO: INT_TOOLS - see the schema CMakeLists.txt for the details add_subdirectory(vfs) add_subdirectory(ncbi-vdb) # add_subdirectory(install) add_subdirectory(kns) # TODO: EXT_TOOLS - see the kns CMakeLists.txt for the details add_subdirectory(align) # add_subdirectory(loader) VDB-4855 moved to sra-tools/libs # add_subdirectory(align) moved to sra-tools # add_subdirectory(align-access) #VDB-4140 moved to asm-trace