Permalink
Browse files

Merge branch 'release/0.3.0'

  • Loading branch information...
2 parents cb6df31 + c167127 commit daa3e6e764ab0908a796dcc6986413ab0eb1765f Mark Ellzey committed May 23, 2011
Showing with 494 additions and 152 deletions.
  1. +2 −2 CMakeLists.txt
  2. +2 −2 CMakeModules/BaseConfig.cmake
  3. +419 −140 evhtp.c
  4. +37 −6 evhtp.h
  5. +1 −1 http_parser
  6. +33 −1 test.c
View
@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 2.8)
project(reason)
set(PROJECT_MAJOR_VERSION 0)
-set(PROJECT_MINOR_VERSION 2)
+set(PROJECT_MINOR_VERSION 3)
set(PROJECT_PATCH_VERSION 0)
-set (PROJECT_VERSION ${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}.${PROJECT_PATCH_VERSION})
+set (PROJECT_VERSION ${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}.${PROJECT_PATCH_VERSION})
set (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules)
include(BaseConfig)
@@ -1,7 +1,7 @@
if (CMAKE_COMPILER_IS_GNUCC)
- set(RSN_BASE_C_FLAGS "-std=c99 -Wall")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${RSN_BASE_C_FLAGS}")
+ set(RSN_BASE_C_FLAGS "-Wall")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${RSN_BASE_C_FLAGS} -DPROJECT_VERSION=\"${PROJECT_VERSION}\"")
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${RSN_BASE_C_FLAGS} -DDEBUG -ggdb")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${RSN_BASE_C_FLAGS}")
Oops, something went wrong. Retry.

0 comments on commit daa3e6e

Please sign in to comment.