From d20a92ae35ba36d6ce4d2edf17b83c3e58d2fa4c Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Wed, 14 Aug 2024 12:07:39 +0200 Subject: [IMP] Add build rules for OSHS and HTTP DLLs. Signed-off-by: Amlal EL Mahrouss --- Srv/HTTP/.keepme | 0 Srv/HTTP/build.json | 10 ++++++++++ Srv/OSHS/.keepme | 0 Srv/OSHS/Start.cxx | 11 ----------- Srv/OSHS/build.json | 10 ++++++++++ 5 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 Srv/HTTP/.keepme create mode 100644 Srv/HTTP/build.json create mode 100644 Srv/OSHS/.keepme delete mode 100644 Srv/OSHS/Start.cxx create mode 100644 Srv/OSHS/build.json diff --git a/Srv/HTTP/.keepme b/Srv/HTTP/.keepme new file mode 100644 index 00000000..e69de29b diff --git a/Srv/HTTP/build.json b/Srv/HTTP/build.json new file mode 100644 index 00000000..10470542 --- /dev/null +++ b/Srv/HTTP/build.json @@ -0,0 +1,10 @@ +{ + "compiler_path": "x86_64-w64-mingw32-g++", + "compiler_std": "c++20", + "headers_path": ["../", "./"], + "sources_path": ["*.cxx"], + "output_name": "httpsrv.dll", + "compiler_flags": ["-ffreestanding", "-shared", "-fno-rtti", "-fno-exceptions", " -Wl,--subsystem=17"], + "cpp_macros": ["__HTTP_AMD64__", "cHTTPVersion=0x0100", "cHTTPVersionHighest=0x0100", "cHTTPVersionLowest=0x0100"] + } + \ No newline at end of file diff --git a/Srv/OSHS/.keepme b/Srv/OSHS/.keepme new file mode 100644 index 00000000..e69de29b diff --git a/Srv/OSHS/Start.cxx b/Srv/OSHS/Start.cxx deleted file mode 100644 index 9b335020..00000000 --- a/Srv/OSHS/Start.cxx +++ /dev/null @@ -1,11 +0,0 @@ -/*** - * - * (C) ZKA Technologies. - * - */ - -int main(int argc, char const *argv[]) -{ - /* code */ - return 0; -} diff --git a/Srv/OSHS/build.json b/Srv/OSHS/build.json new file mode 100644 index 00000000..b8d41ae3 --- /dev/null +++ b/Srv/OSHS/build.json @@ -0,0 +1,10 @@ +{ + "compiler_path": "x86_64-w64-mingw32-g++", + "compiler_std": "c++20", + "headers_path": ["../", "./"], + "sources_path": ["*.cxx"], + "output_name": "oshs.dll", + "compiler_flags": ["-ffreestanding", "-shared", "-fno-rtti", "-fno-exceptions", " -Wl,--subsystem=17"], + "cpp_macros": ["__OSHS_AMD64__", "cOSHSVersion=0x0100", "cOSHSVersionHighest=0x0100", "cOSHSVersionLowest=0x0100"] + } + \ No newline at end of file -- cgit v1.2.3