Move include and src files.

This commit is contained in:
Nathan Osman
2017-07-07 21:02:01 -07:00
parent 396168a0dd
commit 4866f85380
40 changed files with 15 additions and 15 deletions

View File

@@ -1,22 +1,22 @@
configure_file(qhttpengine_global.h.in "${CMAKE_CURRENT_BINARY_DIR}/qhttpengine_global.h") configure_file(qhttpengine_global.h.in "${CMAKE_CURRENT_BINARY_DIR}/qhttpengine_global.h")
file(GLOB HEADERS "${CMAKE_SOURCE_DIR}/include/qhttpengine/*") file(GLOB HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/include/qhttpengine/*")
set(HEADERS "${HEADERS}" "${CMAKE_CURRENT_BINARY_DIR}/qhttpengine_global.h") set(HEADERS "${HEADERS}" "${CMAKE_CURRENT_BINARY_DIR}/qhttpengine_global.h")
set(SRC set(SRC
filesystemhandler.cpp src/filesystemhandler.cpp
basicauthmiddleware.cpp src/basicauthmiddleware.cpp
handler.cpp src/handler.cpp
parser.cpp src/parser.cpp
range.cpp src/range.cpp
server.cpp src/server.cpp
socket.cpp src/socket.cpp
qiodevicecopier.cpp src/qiodevicecopier.cpp
localauthmiddleware.cpp src/localauthmiddleware.cpp
localfile.cpp src/localfile.cpp
qobjecthandler.cpp src/qobjecthandler.cpp
proxyhandler.cpp src/proxyhandler.cpp
proxysocket.cpp src/proxysocket.cpp
) )
if(WIN32) if(WIN32)
@@ -41,7 +41,7 @@ set_target_properties(QHttpEngine PROPERTIES
) )
target_include_directories(QHttpEngine PUBLIC target_include_directories(QHttpEngine PUBLIC
"$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>" "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>" "$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>"
"$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>" "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>"
) )