diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-09 20:35:28 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-09 20:35:28 +0100 |
| commit | 4e6fd1dd8c9762ea6543ec275fe57ca474f23d8f (patch) | |
| tree | 39ec629f5b80beb10919677fd12d7b258aaa2e14 /scripts | |
| parent | 26783733863f62c468a4c8cb2853badd54e30a39 (diff) | |
chore: codebase modernization and hygiene improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/osx-dylib.json | 10 | ||||
| -rw-r--r-- | scripts/osx.json | 10 | ||||
| -rw-r--r-- | scripts/posix-dylib.json | 10 | ||||
| -rw-r--r-- | scripts/posix.json | 10 | ||||
| -rw-r--r-- | scripts/win64.json | 10 |
5 files changed, 50 insertions, 0 deletions
diff --git a/scripts/osx-dylib.json b/scripts/osx-dylib.json new file mode 100644 index 0000000..d5b87bc --- /dev/null +++ b/scripts/osx-dylib.json @@ -0,0 +1,10 @@ +{ + "compiler_path": "clang++", + "compiler_std": "c++20", + "headers_path": ["include", "vendor"], + "sources_path": ["src/lib/*.cc"], + "output_name": "libNeBuildKit.dylib", + "compiler_flags": ["-fPIC", "-shared"], + "cpp_macros": ["NEBUILD_DYLIB", "NEBUILD_OSX"], + "run_after_build": false +} diff --git a/scripts/osx.json b/scripts/osx.json new file mode 100644 index 0000000..bdcab49 --- /dev/null +++ b/scripts/osx.json @@ -0,0 +1,10 @@ +{ + "compiler_path": "clang++", + "compiler_std": "c++20", + "headers_path": ["include", "vendor"], + "sources_path": ["src/lib/*.cc", "src/cli/*.cc"], + "output_name": "nebuild", + "compiler_flags": ["-fPIC"], + "cpp_macros": ["NEBUILD_POSIX", "NEBUILD_OSX"], + "run_after_build": false +} diff --git a/scripts/posix-dylib.json b/scripts/posix-dylib.json new file mode 100644 index 0000000..3326b3e --- /dev/null +++ b/scripts/posix-dylib.json @@ -0,0 +1,10 @@ +{ + "compiler_path": "clang++", + "compiler_std": "c++20", + "headers_path": ["include/", "vendor"], + "sources_path": ["src/lib/*.cc"], + "output_name": "libNeBuildKit.so", + "compiler_flags": ["-fPIC", "-shared"], + "cpp_macros": ["NEBUILD_POSIX", "NEBUILD_DYLIB"], + "run_after_build": false +} diff --git a/scripts/posix.json b/scripts/posix.json new file mode 100644 index 0000000..679296c --- /dev/null +++ b/scripts/posix.json @@ -0,0 +1,10 @@ +{ + "compiler_path": "clang++", + "compiler_std": "c++20", + "headers_path": ["include/", "vendor"], + "sources_path": ["src/lib/*.cc", "src/cli/*.cc"], + "output_name": "nebuild", + "compiler_flags": ["-fPIC"], + "cpp_macros": ["NEBUILD_POSIX"], + "run_after_build": false +} diff --git a/scripts/win64.json b/scripts/win64.json new file mode 100644 index 0000000..75c025a --- /dev/null +++ b/scripts/win64.json @@ -0,0 +1,10 @@ +{ + "compiler_path": "x86_64-w64-mingw32-g++.exe", + "compiler_std": "c++20", + "headers_path": ["include", "vendor"], + "sources_path": ["src/lib/*.cc", "src/cli/*.cc"], + "output_name": "nebuild.exe", + "compiler_flags": ["-fPIC"], + "cpp_macros": ["NEBUILD_WINDOWS"], + "run_after_build": false +} |
