Completely reorganize the library, moving up to Qt 5.4, using C++11 where reasonably possible, and reorganizing the includes.

This commit is contained in:
Nathan Osman
2016-10-06 21:50:45 -07:00
parent 7930ef4a50
commit 7c460edb57
48 changed files with 312 additions and 247 deletions

View File

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.11)
cmake_minimum_required(VERSION 3.2.0)
project(QHttpEngine)
if(NOT (CMAKE_MAJOR_VERSION VERSION_LESS 3))
@@ -28,7 +28,7 @@ set(CMAKECONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake/${PROJECT_NAME}" CACHE STR
set(DOC_INSTALL_DIR share/doc/${PROJECT_NAME} CACHE STRING "Documentation installation directory relative to the install prefix")
set(EXAMPLES_INSTALL_DIR "${LIB_INSTALL_DIR}/${PROJECT_NAME}/examples" CACHE STRING "Examples installation directory relative to the install prefix")
find_package(Qt5Network 5.1 REQUIRED)
find_package(Qt5Network 5.4 REQUIRED)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)