📝 adjust build config
This commit is contained in:
parent
fc6f7c60c7
commit
c784b7b490
|
@ -15,6 +15,10 @@ if(MSVC)
|
||||||
add_compile_options(/utf-8)
|
add_compile_options(/utf-8)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
add_compile_options(-mmacosx-version-min=10.15)
|
||||||
|
endif()
|
||||||
|
|
||||||
# generate release executables
|
# generate release executables
|
||||||
set(CMAKE_BUILD_TYPE "Release")
|
set(CMAKE_BUILD_TYPE "Release")
|
||||||
|
|
||||||
|
|
2
makefile
2
makefile
|
@ -295,7 +295,7 @@ clean:
|
||||||
@ rm $(NASAL_OBJECT)
|
@ rm $(NASAL_OBJECT)
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:nasal
|
test:
|
||||||
@ ./nasal -t -d test/andy_gc_test.nas
|
@ ./nasal -t -d test/andy_gc_test.nas
|
||||||
@ ./nasal test/argparse_test.nas
|
@ ./nasal test/argparse_test.nas
|
||||||
@ ./nasal -e test/ascii-art.nas
|
@ ./nasal -e test/ascii-art.nas
|
||||||
|
|
Loading…
Reference in New Issue