mirror of
https://github.com/kakwa/uts-server
synced 2024-11-13 04:58:55 +01:00
Merge branch 'master' of https://github.com/kakwa/uts-server
This commit is contained in:
commit
3461d11f94
@ -8,6 +8,8 @@ set(VERSION 0.1.0)
|
||||
option(DEBUG "compile with debug symbol" OFF)
|
||||
option(BUNDLE_CIVETWEB "bundle civetweb with uts-server" OFF)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_BSD_SOURCE -D_XOPEN_SOURCE=700")
|
||||
|
||||
if(DEBUG)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -g")
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
@ -19,7 +21,7 @@ add_custom_target(tag
|
||||
git push origin ${VERSION}
|
||||
)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -DUTS_VERSION='\"${VERSION}\"'")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUTS_VERSION='\"${VERSION}\"'")
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
|
||||
|
||||
|
@ -7,6 +7,8 @@
|
||||
#include <argp.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <libgen.h>
|
||||
#include <limits.h>
|
||||
#include <linux/limits.h>
|
||||
#include "http.h"
|
||||
|
||||
const char *argp_program_version = UTS_VERSION;
|
||||
|
Loading…
Reference in New Issue
Block a user