Now uses std::regex instead of boost::regex
This commit is contained in:
parent
7fb40a1be9
commit
78d68b063b
2 changed files with 7 additions and 21 deletions
|
|
@ -2,25 +2,11 @@ cmake_minimum_required (VERSION 2.8.8)
|
|||
project (Simple-Web-Server)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra")
|
||||
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8)
|
||||
message(FATAL_ERROR "GCC version >=4.8 required.")
|
||||
endif()
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.3)
|
||||
message(FATAL_ERROR "Clang version >=3.3 required.")
|
||||
endif()
|
||||
elseif (MSVC14) #TODO: What about other MSVC versions?
|
||||
else()
|
||||
message(WARNING "Your compiler (${CMAKE_CXX_COMPILER_ID}) has not been tested on this project. Only Clang and GCC has been tested. Please report any problems at the project page on GitHub.")
|
||||
endif()
|
||||
|
||||
|
||||
include_directories(.)
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
find_package(Boost 1.53.0 COMPONENTS regex system thread filesystem date_time REQUIRED)
|
||||
find_package(Boost 1.53.0 COMPONENTS system thread filesystem date_time REQUIRED)
|
||||
include_directories(SYSTEM ${Boost_INCLUDE_DIR})
|
||||
|
||||
if(APPLE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue