45 lines
2.4 KiB
CMake
45 lines
2.4 KiB
CMake
add_subdirectory(procedures)
|
|
|
|
find_package(gflags REQUIRED)
|
|
|
|
add_executable(memgraph__e2e__memory__control memory_control.cpp)
|
|
target_link_libraries(memgraph__e2e__memory__control gflags mgclient mg-utils mg-io Threads::Threads)
|
|
|
|
add_executable(memgraph__e2e__memory__limit_global_alloc memory_limit_global_alloc.cpp)
|
|
target_link_libraries(memgraph__e2e__memory__limit_global_alloc gflags mgclient mg-utils mg-io Threads::Threads)
|
|
|
|
add_executable(memgraph__e2e__memory__limit_global_alloc_proc memory_limit_global_alloc_proc.cpp)
|
|
target_link_libraries(memgraph__e2e__memory__limit_global_alloc_proc gflags mgclient mg-utils mg-io Threads::Threads)
|
|
|
|
add_executable(memgraph__e2e__memory__limit_delete memory_limit_delete.cpp)
|
|
target_link_libraries(memgraph__e2e__memory__limit_delete gflags mgclient mg-utils mg-io)
|
|
|
|
add_executable(memgraph__e2e__memory__limit_accumulation memory_limit_accumulation.cpp)
|
|
target_link_libraries(memgraph__e2e__memory__limit_accumulation gflags mgclient mg-utils mg-io)
|
|
|
|
add_executable(memgraph__e2e__memory__limit_edge_create memory_limit_edge_create.cpp)
|
|
target_link_libraries(memgraph__e2e__memory__limit_edge_create gflags mgclient mg-utils mg-io)
|
|
|
|
# Query memory limit tests
|
|
|
|
add_executable(memgraph__e2e__memory__limit_query_alloc_proc_multi_thread query_memory_limit_proc_multi_thread.cpp)
|
|
target_link_libraries(memgraph__e2e__memory__limit_query_alloc_proc_multi_thread gflags mgclient mg-utils mg-io Threads::Threads)
|
|
|
|
add_executable(memgraph__e2e__memory__limit_query_alloc_create query_memory_limit_create.cpp)
|
|
target_link_libraries(memgraph__e2e__memory__limit_query_alloc_create gflags mgclient mg-utils mg-io)
|
|
|
|
add_executable(memgraph__e2e__memory__limit_query_alloc_proc query_memory_limit_proc.cpp)
|
|
target_link_libraries(memgraph__e2e__memory__limit_query_alloc_proc gflags mgclient mg-utils mg-io)
|
|
|
|
add_executable(memgraph__e2e__memory__limit_query_alloc_create_multi_thread query_memory_limit_multi_thread.cpp)
|
|
target_link_libraries(memgraph__e2e__memory__limit_query_alloc_create_multi_thread gflags mgclient mg-utils mg-io Threads::Threads)
|
|
|
|
|
|
# Procedure memory limit tests
|
|
|
|
add_executable(memgraph__e2e__procedure_memory_limit procedure_memory_limit.cpp)
|
|
target_link_libraries(memgraph__e2e__procedure_memory_limit gflags mgclient mg-utils mg-io)
|
|
|
|
add_executable(memgraph__e2e__procedure_memory_limit_multi_proc procedure_memory_limit_multi_proc.cpp)
|
|
target_link_libraries(memgraph__e2e__procedure_memory_limit_multi_proc gflags mgclient mg-utils mg-io)
|