diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-19 14:15:06 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-19 14:15:06 +0100 |
| commit | 2ae776318e6c92079528c35f3f5faf81f54fa10e (patch) | |
| tree | 80ce9d565cf53927243d6d1f6e8c9006e2b790db /examples/example_02_libnebuild | |
| parent | db5d7e371e7183e4b5db26632ae2f511db4e0e41 (diff) | |
chore: Add MailMap, rename `examples` to `example`.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'examples/example_02_libnebuild')
| -rw-r--r-- | examples/example_02_libnebuild/README.md | 7 | ||||
| -rw-r--r-- | examples/example_02_libnebuild/libnebuild.cc | 17 | ||||
| -rw-r--r-- | examples/example_02_libnebuild/posix.json | 20 | ||||
| -rw-r--r-- | examples/example_02_libnebuild/win64.json | 19 |
4 files changed, 0 insertions, 63 deletions
diff --git a/examples/example_02_libnebuild/README.md b/examples/example_02_libnebuild/README.md deleted file mode 100644 index 21e64be..0000000 --- a/examples/example_02_libnebuild/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Notice for Deployment. - -In order to use libNeBuild, it shall live on the same directory, -<br/> -or within a directory recognized in the `$LD_LIBRARY_PATH` or `$DYLD_LIBRARY_PATH` variable. - -## Thanks in advance.
\ No newline at end of file diff --git a/examples/example_02_libnebuild/libnebuild.cc b/examples/example_02_libnebuild/libnebuild.cc deleted file mode 100644 index fffb962..0000000 --- a/examples/example_02_libnebuild/libnebuild.cc +++ /dev/null @@ -1,17 +0,0 @@ -#include <NeBuildKit/JSONManifestBuilder.h> - -int main(int argc, char** argv) { -#ifndef _WIN32 - constexpr auto path = "./posix.json"; -#else - constexpr auto path = ".\\win64.json"; -#endif - - NeBuild::JSONManifestBuilder builder; - NeBuild::BuildConfig config; - - config.path_ = path; - config.dry_run_ = false; - - return builder.BuildTarget(config); -} diff --git a/examples/example_02_libnebuild/posix.json b/examples/example_02_libnebuild/posix.json deleted file mode 100644 index d7ef767..0000000 --- a/examples/example_02_libnebuild/posix.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "compiler_path": "clang++", - "compiler_std": "c++20", - "headers_path": [ - "../../include", - "../../vendor" - ], - "sources_path": [ - "libnebuild.cc" - ], - "output_name": "./libnebuild.elf", - "compiler_flags": [ - "-L/usr/lib", - "-lNeBuildKit" - ], - "cpp_macros": [ - "FOO_MACRO" - ], - "run_after_build": true -}
\ No newline at end of file diff --git a/examples/example_02_libnebuild/win64.json b/examples/example_02_libnebuild/win64.json deleted file mode 100644 index 094208b..0000000 --- a/examples/example_02_libnebuild/win64.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compiler_path": "x86_64-w64-mingw32-g++", - "compiler_std": "c++20", - "headers_path": [ - "../../include", - "../../vendor" - ], - "sources_path": [ - "libbtb.cc" - ], - "output_name": "./libbtb.exe", - "compiler_flags": [ - "-lNeBuild" - ], - "cpp_macros": [ - "FOO_MACRO" - ], - "run_after_build": true -}
\ No newline at end of file |
