added appveyor badge and supressed _CRT_SECURE_NO_WARNINGS with define
This commit is contained in:
parent
07443aa8a8
commit
5bcb073aec
2 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,8 @@ R3
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/c9s/r3.svg?branch=2.0)](https://travis-ci.org/c9s/r3)
|
[![Build Status](https://travis-ci.org/c9s/r3.svg?branch=2.0)](https://travis-ci.org/c9s/r3)
|
||||||
|
|
||||||
|
[![Windows Build Status](https://img.shields.io/appveyor/ci/simon-p-r/r3/master.svg?label=windows&style=flat-square&maxAge=2592000)](https://ci.appveyor.com/project/simon-p-r/r3)
|
||||||
|
|
||||||
[![Coverage Status](https://coveralls.io/repos/c9s/r3/badge.svg)](https://coveralls.io/r/c9s/r3)
|
[![Coverage Status](https://coveralls.io/repos/c9s/r3/badge.svg)](https://coveralls.io/r/c9s/r3)
|
||||||
|
|
||||||
R3 is an URL router library with high performance, thus, it's implemented in C.
|
R3 is an URL router library with high performance, thus, it's implemented in C.
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
function(add_r3_test NAME)
|
function(add_r3_test NAME)
|
||||||
add_executable(${NAME} ${ARGN})
|
add_executable(${NAME} ${ARGN})
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
target_compile_definitions(${NAME}
|
||||||
|
PRIVATE
|
||||||
|
_CRT_SECURE_NO_WARNINGS
|
||||||
|
)
|
||||||
|
endif(WIN32)
|
||||||
|
|
||||||
target_include_directories(${NAME}
|
target_include_directories(${NAME}
|
||||||
PRIVATE
|
PRIVATE
|
||||||
${CHECK_INCLUDE_DIRS}
|
${CHECK_INCLUDE_DIRS}
|
||||||
|
|
Loading…
Reference in a new issue