aboutsummaryrefslogtreecommitdiff
path: root/src/routines/section/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/section/CMakeLists.txt')
-rw-r--r--src/routines/section/CMakeLists.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/routines/section/CMakeLists.txt b/src/routines/section/CMakeLists.txt
new file mode 100644
index 0000000..ae78d27
--- /dev/null
+++ b/src/routines/section/CMakeLists.txt
@@ -0,0 +1,34 @@
+# nanowasm, a tiny WebAssembly/Wasm interpreter
+# Copyright (C) 2023-2025 Xavier Del Campo Romero
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
+
+target_sources(${PROJECT_NAME} PRIVATE
+ code.c
+ custom.c
+ data.c
+ data_count.c
+ element.c
+ exit.c
+ export.c
+ fbo.c
+ fti.c
+ function.c
+ global.c
+ import.c
+ iti.c
+ lo.c
+ memory.c
+ ops.c
+ skip.c
+ start.c
+ table.c
+ to.c
+ type.c
+)
+
+if(NW_CHECK_CODE)
+ target_compile_definitions(${PROJECT_NAME} PRIVATE NW_CHECK_CODE)
+endif()