diff options
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 +} |
