summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAltoXorg <atrl101@yahoo.com>2024-04-28 19:24:12 +0800
committerLywx <kiritodev01@gmail.com>2024-05-13 23:07:08 -0600
commitf78c4525a702f110a70118316ce6d113f24aca4d (patch)
tree00d097467c7a2c9c8677c73835e36e99bca37a60
parente236c28bcef84598c7d3f4f97fc6006fdd13de68 (diff)
header path must match yaml path with subdirs
-rw-r--r--src/Companion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp
index 021597f..0ca56f6 100644
--- a/src/Companion.cpp
+++ b/src/Companion.cpp
@@ -765,7 +765,7 @@ void Companion::ProcessFile(YAML::Node root) {
switch (this->gConfig.exporterType) {
case ExportType::Header: {
- fsout /= filename + ".h";
+ fsout /= this->gCurrentDirectory.parent_path() / (filename + ".h");
break;
}
case ExportType::Code: {