mirror of
https://github.com/fumiama/simple-dict.git
synced 2026-06-25 06:08:06 +08:00
add option c99
This commit is contained in:
@@ -13,6 +13,10 @@ ENDIF()
|
|||||||
include_directories("/usr/local/include")
|
include_directories("/usr/local/include")
|
||||||
link_directories("/usr/local/lib")
|
link_directories("/usr/local/lib")
|
||||||
|
|
||||||
|
#在编译选项中加入c99支持
|
||||||
|
add_compile_options(-std=c99)
|
||||||
|
message(STATUS "optional:-std=c99")
|
||||||
|
|
||||||
add_executable(simple-dict-server server.c dict.c crypto.c)
|
add_executable(simple-dict-server server.c dict.c crypto.c)
|
||||||
add_executable(simple-dict-client client.c crypto.c)
|
add_executable(simple-dict-client client.c crypto.c)
|
||||||
add_executable(migrate migrate.c)
|
add_executable(migrate migrate.c)
|
||||||
|
|||||||
Reference in New Issue
Block a user