summaryrefslogtreecommitdiffhomepage
path: root/examples/example_02_libnebuild
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-07-24 09:24:43 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-07-24 09:24:43 +0100
commitaa43a14ebb7551cdb0116a73dcfb0b2a5bee5dbe (patch)
tree4d31f0bf76dcb0393c2a46a6f1941629a12ba115 /examples/example_02_libnebuild
parentc2ebe8fd7195c24293cb48c7ec57b194e70c6a63 (diff)
fix: example_02_libnebuild: fix include lookup and windows build.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'examples/example_02_libnebuild')
-rw-r--r--examples/example_02_libnebuild/libnebuild.cc2
-rw-r--r--examples/example_02_libnebuild/win64.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/example_02_libnebuild/libnebuild.cc b/examples/example_02_libnebuild/libnebuild.cc
index e6e489d..ddd77ed 100644
--- a/examples/example_02_libnebuild/libnebuild.cc
+++ b/examples/example_02_libnebuild/libnebuild.cc
@@ -4,7 +4,7 @@
#ifndef _WIN32
static auto kPath = "./posix.json";
#else
-static auto kPath = ".\win64.json";
+static auto kPath = ".\\win64.json";
#endif
int main(int argc, char** argv) {
diff --git a/examples/example_02_libnebuild/win64.json b/examples/example_02_libnebuild/win64.json
index a873f5d..3118a36 100644
--- a/examples/example_02_libnebuild/win64.json
+++ b/examples/example_02_libnebuild/win64.json
@@ -2,7 +2,7 @@
"compiler_path": "x86_64-w64-mingw32-g++",
"compiler_std": "c++20",
"headers_path": [
- "../../",
+ "../../dev",
"../../vendor"
],
"sources_path": [