diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-14 12:07:39 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-14 12:07:39 +0200 |
| commit | d20a92ae35ba36d6ce4d2edf17b83c3e58d2fa4c (patch) | |
| tree | 48f24373b4838e5cf9a52e582adba9a177043ab0 | |
| parent | 03a97d76ba9d9c1f477ecfab54d6d94340648931 (diff) | |
[IMP] Add build rules for OSHS and HTTP DLLs.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
| -rw-r--r-- | Srv/HTTP/.keepme | 0 | ||||
| -rw-r--r-- | Srv/HTTP/build.json | 10 | ||||
| -rw-r--r-- | Srv/OSHS/.keepme | 0 | ||||
| -rw-r--r-- | Srv/OSHS/Start.cxx | 11 | ||||
| -rw-r--r-- | Srv/OSHS/build.json | 10 |
5 files changed, 20 insertions, 11 deletions
diff --git a/Srv/HTTP/.keepme b/Srv/HTTP/.keepme new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/Srv/HTTP/.keepme 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 --- /dev/null +++ b/Srv/OSHS/.keepme 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 |
