summaryrefslogtreecommitdiff
path: root/source/luametatex/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'source/luametatex/cmake')
-rw-r--r--source/luametatex/cmake/mimalloc.cmake25
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
)