CMakeLists.txt 1.61 KiB
Newer Older
Tommaso Tocci's avatar
Tommaso Tocci committed
    preload_context.cpp
    intcp_functions.cpp
Tommaso Tocci's avatar
Tommaso Tocci committed
    open_dir.cpp
    passthrough.cpp
Tommaso Tocci's avatar
Tommaso Tocci committed
    resolve.cpp
    rpc/ld_rpc_management.cpp
    rpc/ld_rpc_data_ws.cpp
    rpc/ld_rpc_metadentry.cpp
    ../global/path_util.cpp
    )
set(PRELOAD_HEADERS
    ../../include/global/configure.hpp
    ../../include/global/global_defs.hpp
    ../../include/global/global_func.hpp
    ../../include/global/path_util.hpp
    ../../include/global/chunk_calc_util.hpp
    ../../include/client/preload_context.hpp
    ../../include/client/adafs_functions.hpp
    ../../include/client/intcp_functions.hpp
    ../../include/client/open_file_map.hpp
    ../../include/client/open_dir.hpp
    ../../include/client/passthrough.hpp
    ../../include/client/preload.hpp
    ../../include/client/resolve.hpp
    ../../include/client/preload_util.hpp
    ../../include/client/rpc/ld_rpc_management.hpp
    ../../include/client/rpc/ld_rpc_data_ws.hpp
    ../../include/client/rpc/ld_rpc_metadentry.hpp
Tommaso Tocci's avatar
Tommaso Tocci committed
add_library(gkfs_intercept SHARED ${PRELOAD_SRC} ${PRELOAD_HEADERS})
Tommaso Tocci's avatar
Tommaso Tocci committed
target_link_libraries(gkfs_intercept
    ${MARGO_LIBRARIES}
    Boost::boost # needed for tokenizer header
    Threads::Threads
Tommaso Tocci's avatar
Tommaso Tocci committed
target_include_directories(gkfs_intercept
    PRIVATE
    ${ABT_INCLUDE_DIRS}
    ${MARGO_INCLUDE_DIRS}
    )