2021-06-07 20:45:05 +08:00
|
|
|
add_library(global_memory_limit SHARED global_memory_limit.c)
|
|
|
|
target_include_directories(global_memory_limit PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
|
|
|
|
|
|
|
add_library(global_memory_limit_proc SHARED global_memory_limit_proc.c)
|
|
|
|
target_include_directories(global_memory_limit_proc PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
2023-10-25 22:01:59 +08:00
|
|
|
|
|
|
|
add_library(query_memory_limit_proc_multi_thread SHARED query_memory_limit_proc_multi_thread.cpp)
|
|
|
|
target_include_directories(query_memory_limit_proc_multi_thread PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
|
|
|
target_link_libraries(query_memory_limit_proc_multi_thread mg-utils)
|
|
|
|
|
|
|
|
add_library(query_memory_limit_proc SHARED query_memory_limit_proc.cpp)
|
|
|
|
target_include_directories(query_memory_limit_proc PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
|
|
|
target_link_libraries(query_memory_limit_proc mg-utils)
|
2023-11-07 23:04:29 +08:00
|
|
|
|
2023-11-15 19:42:04 +08:00
|
|
|
add_library(global_memory_limit_thread_proc SHARED global_memory_limit_thread_proc.cpp)
|
|
|
|
target_include_directories(global_memory_limit_thread_proc PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
|
|
|
target_link_libraries(global_memory_limit_thread_proc mg-utils)
|
|
|
|
|
|
|
|
add_library(global_memory_limit_multi_thread_create_proc SHARED global_memory_limit_multi_thread_create_proc.cpp)
|
|
|
|
target_include_directories(global_memory_limit_multi_thread_create_proc PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
|
|
|
target_link_libraries(global_memory_limit_multi_thread_create_proc mg-utils)
|
2023-11-07 23:04:29 +08:00
|
|
|
|
|
|
|
add_library(proc_memory_limit SHARED proc_memory_limit.cpp)
|
|
|
|
target_include_directories(proc_memory_limit PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
|
|
|
target_link_libraries(proc_memory_limit mg-utils)
|