aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-29 22:07:17 +0100
committerdec05eba <dec05eba@protonmail.com>2018-10-29 22:07:20 +0100
commita5e2adedf38f84a8be5e8d844e02991d3bbfecca (patch)
tree0663747e2b28defc2249a56ecbe194a7c8fa089b
parentb1296f2c97c6fdc1c6a9922dc09c951b5cafdc12 (diff)
Move files, expose include dir
-rw-r--r--include/dchat/FileUtil.hpp (renamed from include/FileUtil.hpp)2
-rw-r--r--include/dchat/env.hpp (renamed from include/env.hpp)0
-rw-r--r--project.conf3
-rw-r--r--src/Cache.cpp2
-rw-r--r--src/FileUtil.cpp4
-rw-r--r--src/Gif.cpp2
6 files changed, 8 insertions, 5 deletions
diff --git a/include/FileUtil.hpp b/include/dchat/FileUtil.hpp
index cb4e308..097b607 100644
--- a/include/FileUtil.hpp
+++ b/include/dchat/FileUtil.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include "dchat/StringView.hpp"
+#include "StringView.hpp"
#include <boost/filesystem/path.hpp>
#include <stdexcept>
diff --git a/include/env.hpp b/include/dchat/env.hpp
index 4061518..4061518 100644
--- a/include/env.hpp
+++ b/include/dchat/env.hpp
diff --git a/project.conf b/project.conf
index 7bfa3b1..a705bed 100644
--- a/project.conf
+++ b/project.conf
@@ -4,6 +4,9 @@ type = "dynamic"
version = "0.1.0"
platforms = ["any"]
+[config]
+expose_include_dirs = ["include"]
+
[dependencies]
tiny-process = "2"
boost-filesystem = "1.66"
diff --git a/src/Cache.cpp b/src/Cache.cpp
index 0bde89d..712a716 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -1,6 +1,6 @@
#include "../include/dchat/Cache.hpp"
#include "../include/env.hpp"
-#include "../include/FileUtil.hpp"
+#include "../include/dchat/FileUtil.hpp"
#include "../include/dchat/Gif.hpp"
#include <boost/filesystem/convenience.hpp>
#include <process.hpp>
diff --git a/src/FileUtil.cpp b/src/FileUtil.cpp
index 08efd00..d464288 100644
--- a/src/FileUtil.cpp
+++ b/src/FileUtil.cpp
@@ -1,5 +1,5 @@
-#include "../include/FileUtil.hpp"
-#include "../include/env.hpp"
+#include "../include/dchat/FileUtil.hpp"
+#include "../include/dchat/env.hpp"
#include <stdio.h>
namespace dchat
diff --git a/src/Gif.cpp b/src/Gif.cpp
index 0c52f7d..2391872 100644
--- a/src/Gif.cpp
+++ b/src/Gif.cpp
@@ -1,5 +1,5 @@
#include "../include/dchat/Gif.hpp"
-#include "../include/FileUtil.hpp"
+#include "../include/dchat/FileUtil.hpp"
using namespace std;