|
@@ -9,10 +9,15 @@
|
|
|
add_subdirectory(alloc_profiler)
|
|
|
add_subdirectory(dbg_info)
|
|
|
|
|
|
-add_library(library-cpp-lfalloc INTERFACE)
|
|
|
-target_link_libraries(library-cpp-lfalloc INTERFACE
|
|
|
+add_library(library-cpp-lfalloc)
|
|
|
+target_compile_options(library-cpp-lfalloc PRIVATE
|
|
|
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
|
|
|
+)
|
|
|
+target_link_libraries(library-cpp-lfalloc PUBLIC
|
|
|
contrib-libs-linux-headers
|
|
|
contrib-libs-cxxsupp
|
|
|
- cpp-malloc-jemalloc
|
|
|
cpp-malloc-api
|
|
|
)
|
|
|
+target_sources(library-cpp-lfalloc PRIVATE
|
|
|
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp
|
|
|
+)
|