summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 18aaeb1..37e06d2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,6 +29,7 @@ target_compile_options(common INTERFACE
--coverage
-fcondition-coverage
-DAPLWC_BUILD_TYPE_COVERAGE
+ -DNDEBUG
>
$<$<CONFIG:Release>:
@@ -47,8 +48,11 @@ target_link_options(common INTERFACE
)
add_library(aplwc
+ src/lib/eval.c
src/lib/main.c
src/lib/memory.c
+ src/lib/string.c
+ src/lib/syntax.c
)
target_link_libraries(aplwc PRIVATE common)
@@ -75,6 +79,11 @@ set_tests_properties("aplwc-repl-tiny" PROPERTIES
WILL_FAIL TRUE
)
+add_test(NAME "aplwc-repl-large" COMMAND "aplwc-repl")
+set_tests_properties("aplwc-repl-large" PROPERTIES
+ ENVIRONMENT "APLWC_MEM=64000"
+)
+
add_test(NAME "aplwc-repl-emptyvar" COMMAND "aplwc-repl")
set_tests_properties("aplwc-repl-emptyvar" PROPERTIES
ENVIRONMENT "APLWC_MEM="