Skip to content

Commit 54f8e42

Browse files
committed
Reorganization of the directory structure
1 parent b29dbd4 commit 54f8e42

25 files changed

+839
-483
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ httpserverapp
44
Sample http application on C++
55

66
For http server on C++
7+
78
See: https://github.com/awwit/httpserver

httpserverapp.sln

Lines changed: 0 additions & 20 deletions
This file was deleted.

httpserverapp.userprefs

Lines changed: 0 additions & 25 deletions
This file was deleted.

httpserverapp/Test.cpp

Lines changed: 0 additions & 81 deletions
This file was deleted.

httpserverapp/Utils.h

Lines changed: 0 additions & 60 deletions
This file was deleted.

httpserverapp/httpserverapp.cproj

Lines changed: 0 additions & 51 deletions
This file was deleted.

httpserverapp/httpserverapp.md.pc

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
TARGET = httpserverapp
2+
TEMPLATE = lib
3+
4+
CONFIG += c++11
5+
CONFIG -= app_bundle
6+
CONFIG -= qt
7+
8+
lessThan(QT_MAJOR_VERSION, 5) {
9+
CONFIG += object_with_source
10+
QMAKE_CXXFLAGS += -std=c++1y
11+
} else {
12+
CONFIG += object_parallel_to_source
13+
}
14+
15+
unix {
16+
DEFINES += POSIX
17+
}
18+
19+
CONFIG(debug, debug|release):DEFINES += DEBUG
20+
21+
SOURCES += \
22+
../../src/FileIncoming.cpp \
23+
../../src/Main.cpp \
24+
../../src/Test.cpp \
25+
../../src/Utils.cpp \
26+
../../src/Socket.cpp \
27+
../../src/System.cpp
28+
29+
HEADERS += \
30+
../../src/FileIncoming.h \
31+
../../src/Main.h \
32+
../../src/Test.h \
33+
../../src/Utils.h \
34+
../../src/RawData.h \
35+
../../src/ServerRequest.h \
36+
../../src/ServerResponse.h \
37+
../../src/Socket.h \
38+
../../src/System.h
39+
40+
unix {
41+
target.path = /usr/lib
42+
INSTALLS += target
43+
}

0 commit comments

Comments
 (0)