Moved the http server to a subfolder in core.

This commit is contained in:
Relintai 2021-05-15 13:48:46 +02:00
parent f998aed1f9
commit 3a00179b3b
4 changed files with 4 additions and 3 deletions

View File

@ -130,7 +130,7 @@ opts.Add("LINKFLAGS", "Custom flags for the linker")
opts.Update(env_base) opts.Update(env_base)
# add default include paths # add default include paths
env_base.Prepend(CPPPATH=["#", "libs"]) env_base.Prepend(CPPPATH=["#"])
env_base.Prepend(CPPPATH=["#libs"]) env_base.Prepend(CPPPATH=["#libs"])
env_base.Prepend(LINKFLAGS=["-lpthread"]) env_base.Prepend(LINKFLAGS=["-lpthread"])

View File

@ -5,6 +5,7 @@ Import("env")
env.core_sources = [] env.core_sources = []
env.add_source_files(env.core_sources, "*.cpp") env.add_source_files(env.core_sources, "*.cpp")
env.add_source_files(env.core_sources, "./http/*.cpp")
# Build it all as a library # Build it all as a library
lib = env.add_library("core", env.core_sources) lib = env.add_library("core", env.core_sources)

View File

@ -1,7 +1,7 @@
#include "http_server.h" #include "http_server.h"
#include "application.h" #include "core/application.h"
#include "request.h" #include "core/request.h"
#define LOG_VERBOSE 0 #define LOG_VERBOSE 0