add_executable(csv_to_snapshot csv_to_snapshot/main.cpp # This is just friggin terrible. csv_to_snapshot needs to depend almost on # the whole memgraph, just to use TypedValue and BaseEncoder. ${memgraph_src_dir}/data_structures/concurrent/skiplist_gc.cpp ${memgraph_src_dir}/database/graph_db_accessor.cpp ${memgraph_src_dir}/query/typed_value.cpp ${memgraph_src_dir}/storage/edge_accessor.cpp ${memgraph_src_dir}/storage/locking/record_lock.cpp ${memgraph_src_dir}/storage/property_value.cpp ${memgraph_src_dir}/storage/record_accessor.cpp ${memgraph_src_dir}/storage/vertex_accessor.cpp ${memgraph_src_dir}/transactions/transaction.cpp ) target_link_libraries(csv_to_snapshot stdc++fs Threads::Threads ${FMT_LIBRARY} ${GFLAGS_LIBRARY} ${GLOG_LIBRARY}) add_dependencies(csv_to_snapshot gflags glog fmt) install(TARGETS csv_to_snapshot RUNTIME DESTINATION .)