summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp+git@gmail.com>2024-06-05 22:06:13 +0000
committerFreeyorp <TheFreeYorp+git@gmail.com>2024-06-05 23:57:13 +0000
commitdd024fdf9ca01c02b79371512672f6798468020d (patch)
treed097b70b264bf954d3c1ecd46abacfb0ce95cdec /src
parentbf14f1b157333c53cc0578f20627529e5fd3e539 (diff)
downloadtmwa-dd024fdf9ca01c02b79371512672f6798468020d.tar.gz
tmwa-dd024fdf9ca01c02b79371512672f6798468020d.tar.bz2
tmwa-dd024fdf9ca01c02b79371512672f6798468020d.tar.xz
tmwa-dd024fdf9ca01c02b79371512672f6798468020d.zip
Create generated files in the build directory
Also, just require the use of full paths when #including a generated file. This fixes fresh out-of-tree builds using attoconf, and gets rid of a lot of annoying terminal output when attoconf is tracing dependencies.
Diffstat (limited to 'src')
-rw-r--r--src/mmo/version.cpp2
-rw-r--r--src/shared/lib.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mmo/version.cpp b/src/mmo/version.cpp
index f91b748..c75c25c 100644
--- a/src/mmo/version.cpp
+++ b/src/mmo/version.cpp
@@ -20,7 +20,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-#include "../conf/version.hpp"
+#include "src/conf/version.hpp"
#include "../strings/xstring.hpp"
diff --git a/src/shared/lib.cpp b/src/shared/lib.cpp
index 0eebf17..563bff4 100644
--- a/src/shared/lib.cpp
+++ b/src/shared/lib.cpp
@@ -18,7 +18,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-#include "../conf/install.hpp"
+#include "src/conf/install.hpp"
#include "../strings/literal.hpp"
#include "../strings/astring.hpp"