提交 fd38fb71 编写于 作者: M Max Bruckner

CMake: Add compile options

上级 ba638929
......@@ -6,6 +6,8 @@ set(CJSON_VERSION_PATCH 0)
set(CJSON_VERSION_SO 1)
set(CJSON_VERSION "${CJSON_VERSION_MAJOR}.${CJSON_VERSION_MINOR}.${CJSON_VERSION_PATCH}")
add_compile_options(-ansi -pedantic -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings)
#cJSON
set(PROJ_CJSON cJSON)
set(CJSON_LIB cjson)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册