diff options
author | Hans Hagen <pragma@wxs.nl> | 2023-04-01 10:50:35 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2023-04-01 10:50:35 +0200 |
commit | 059fc69b2c7853b937ddb4cfc9d36304dee07893 (patch) | |
tree | a58b878377348a05b55bf9b2c6ee44dcd8508c2c /source/luametatex/cmake | |
parent | 97f560d2993c367fb84ef62eefbe90ca03c19ebc (diff) | |
download | context-059fc69b2c7853b937ddb4cfc9d36304dee07893.tar.gz |
2023-04-01 09:31:00
Diffstat (limited to 'source/luametatex/cmake')
-rw-r--r-- | source/luametatex/cmake/mimalloc.cmake | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/source/luametatex/cmake/mimalloc.cmake b/source/luametatex/cmake/mimalloc.cmake index 78d3944e2..02992344e 100644 --- a/source/luametatex/cmake/mimalloc.cmake +++ b/source/luametatex/cmake/mimalloc.cmake @@ -1,24 +1,26 @@ include("source/libraries/mimalloc/cmake/mimalloc-config-version.cmake") set(mimalloc_sources - - source/libraries/mimalloc/src/stats.c - source/libraries/mimalloc/src/random.c - source/libraries/mimalloc/src/os.c - source/libraries/mimalloc/src/bitmap.c - source/libraries/mimalloc/src/arena.c - # source/libraries/mimalloc/src/region.c - source/libraries/mimalloc/src/segment-cache.c - source/libraries/mimalloc/src/segment.c - source/libraries/mimalloc/src/page.c source/libraries/mimalloc/src/alloc.c source/libraries/mimalloc/src/alloc-aligned.c source/libraries/mimalloc/src/alloc-posix.c + source/libraries/mimalloc/src/arena.c + source/libraries/mimalloc/src/bitmap.c source/libraries/mimalloc/src/heap.c - source/libraries/mimalloc/src/options.c source/libraries/mimalloc/src/init.c + source/libraries/mimalloc/src/options.c + source/libraries/mimalloc/src/os.c + source/libraries/mimalloc/src/page.c + source/libraries/mimalloc/src/random.c + source/libraries/mimalloc/src/segment.c + source/libraries/mimalloc/src/segment-cache.c + source/libraries/mimalloc/src/stats.c + source/libraries/mimalloc/src/prim/prim.c ) +set(mi_cflags "") +set(mi_libraries "") + add_library(mimalloc STATIC ${mimalloc_sources}) # set(CMAKE_C_STANDARD 11) @@ -27,6 +29,7 @@ add_library(mimalloc STATIC ${mimalloc_sources}) target_include_directories(mimalloc PRIVATE source/libraries/mimalloc source/libraries/mimalloc/src + source/libraries/mimalloc/prim source/libraries/mimalloc/include ) |