Newer
Older
Marc Vef
committed
set(PRELOAD_SRC
Marc Vef
committed
adafs_functions.cpp
Marc Vef
committed
open_file_map.cpp
Marc Vef
committed
preload.cpp
Marc Vef
committed
preload_util.cpp
rpc/ld_rpc_management.cpp
rpc/ld_rpc_data_ws.cpp
rpc/ld_rpc_metadentry.cpp
Marc Vef
committed
../global/rpc/rpc_utils.cpp
Marc Vef
committed
)
set(PRELOAD_HEADERS
../../include/global/configure.hpp
../../include/global/global_defs.hpp
Marc Vef
committed
../../include/global/rpc/rpc_types.hpp
Marc Vef
committed
../../include/global/rpc/rpc_utils.hpp
../../include/global/chunk_calc_util.hpp
../../include/client/preload_context.hpp
../../include/client/adafs_functions.hpp
../../include/client/intercept.hpp
../../include/client/syscall_names.hpp
../../include/client/hooks.hpp
../../include/client/open_file_map.hpp
../../include/client/open_dir.hpp
../../include/client/preload.hpp
../../include/client/resolve.hpp
../../include/client/preload_util.hpp
../../include/client/rpc/hg_rpcs.hpp
../../include/client/rpc/ld_rpc_management.hpp
../../include/client/rpc/ld_rpc_data_ws.hpp
../../include/client/rpc/ld_rpc_metadentry.hpp
Marc Vef
committed
)
add_library(gkfs_intercept SHARED ${PRELOAD_SRC} ${PRELOAD_HEADERS})
Boost::boost # needed for tokenizer header
PRIVATE
${ABT_INCLUDE_DIRS}
${MARGO_INCLUDE_DIRS}
)
install(TARGETS gkfs_intercept
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/gkfs
)