📝 adjust build config

This commit is contained in:
ValKmjolnir 2024-12-11 20:17:37 +08:00
parent fc6f7c60c7
commit c784b7b490
2 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,10 @@ if(MSVC)
add_compile_options(/utf-8)
endif()
if (APPLE)
add_compile_options(-mmacosx-version-min=10.15)
endif()
# generate release executables
set(CMAKE_BUILD_TYPE "Release")

View File

@ -295,7 +295,7 @@ clean:
@ rm $(NASAL_OBJECT)
.PHONY: test
test:nasal
test:
@ ./nasal -t -d test/andy_gc_test.nas
@ ./nasal test/argparse_test.nas
@ ./nasal -e test/ascii-art.nas