From 4f47a0d7ff4a43c0c86b03ca3bad6162a9495734 Mon Sep 17 00:00:00 2001 From: Xottab_DUTY Date: Wed, 2 Oct 2024 11:48:52 +0300 Subject: [PATCH] Support BugTrap client as a static library --- .github/workflows/build.yml | 12 +++++++- source/BugTrap.props | 33 ++++++++++++++++++-- source/BugTrap.sln | 48 +++++++++++++++++++++++++++++ source/project_configuration.props | 4 +++ source/project_configurations.props | 32 +++++++++++++++++++ 5 files changed, 125 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b651fc5..16ec68b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,17 @@ jobs: strategy: fail-fast: false matrix: - configuration: [.NET Debug, .NET Release, Debug, Release, Unicode Debug, Unicode Release] + configuration: + - .NET Debug + - .NET Release + - Debug + - Release + - Debug Static + - Release Static + - Unicode Debug + - Unicode Release + - Unicode Debug Static + - Unicode Release Static platform: [x64, Win32] steps: - uses: actions/checkout@main diff --git a/source/BugTrap.props b/source/BugTrap.props index 4946a48..0bb6e48 100644 --- a/source/BugTrap.props +++ b/source/BugTrap.props @@ -27,27 +27,54 @@ $(ProjectName)N-x64 + + $(ProjectName)D + $(ProjectName)D-x64 + + $(ProjectName) + $(ProjectName)-x64 + + $(ProjectName)DS + + + $(ProjectName)DS-x64 + + + $(ProjectName)S + + + $(ProjectName)S-x64 + $(ProjectName)UD-x64 $(ProjectName)U-x64 - - $(ProjectName)D - $(ProjectName)UD $(ProjectName)U + + $(ProjectName)UDS-x64 + + + $(ProjectName)US-x64 + + + $(ProjectName)UDS + + + $(ProjectName)US + diff --git a/source/BugTrap.sln b/source/BugTrap.sln index 5e048e1..d578583 100644 --- a/source/BugTrap.sln +++ b/source/BugTrap.sln @@ -25,12 +25,20 @@ Global .NET Debug|x64 = .NET Debug|x64 .NET Release|Win32 = .NET Release|Win32 .NET Release|x64 = .NET Release|x64 + Debug Static|Win32 = Debug Static|Win32 + Debug Static|x64 = Debug Static|x64 Debug|Win32 = Debug|Win32 Debug|x64 = Debug|x64 + Release Static|Win32 = Release Static|Win32 + Release Static|x64 = Release Static|x64 Release|Win32 = Release|Win32 Release|x64 = Release|x64 + Unicode Debug Static|Win32 = Unicode Debug Static|Win32 + Unicode Debug Static|x64 = Unicode Debug Static|x64 Unicode Debug|Win32 = Unicode Debug|Win32 Unicode Debug|x64 = Unicode Debug|x64 + Unicode Release Static|Win32 = Unicode Release Static|Win32 + Unicode Release Static|x64 = Unicode Release Static|x64 Unicode Release|Win32 = Unicode Release|Win32 Unicode Release|x64 = Unicode Release|x64 EndGlobalSection @@ -43,18 +51,34 @@ Global {E8CF1ADA-264A-4127-86C2-FD7057D3792C}..NET Release|Win32.Build.0 = .NET Release|Win32 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}..NET Release|x64.ActiveCfg = .NET Release|x64 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}..NET Release|x64.Build.0 = .NET Release|x64 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Debug Static|Win32.ActiveCfg = Debug Static|Win32 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Debug Static|Win32.Build.0 = Debug Static|Win32 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Debug Static|x64.ActiveCfg = Debug Static|x64 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Debug Static|x64.Build.0 = Debug Static|x64 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Debug|Win32.ActiveCfg = Debug|Win32 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Debug|Win32.Build.0 = Debug|Win32 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Debug|x64.ActiveCfg = Debug|x64 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Debug|x64.Build.0 = Debug|x64 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Release Static|Win32.ActiveCfg = Release Static|Win32 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Release Static|Win32.Build.0 = Release Static|Win32 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Release Static|x64.ActiveCfg = Release Static|x64 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Release Static|x64.Build.0 = Release Static|x64 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Release|Win32.ActiveCfg = Release|Win32 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Release|Win32.Build.0 = Release|Win32 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Release|x64.ActiveCfg = Release|x64 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Release|x64.Build.0 = Release|x64 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Debug Static|Win32.ActiveCfg = Unicode Debug Static|Win32 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Debug Static|Win32.Build.0 = Unicode Debug Static|Win32 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Debug Static|x64.ActiveCfg = Unicode Debug Static|x64 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Debug Static|x64.Build.0 = Unicode Debug Static|x64 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Debug|Win32.ActiveCfg = Unicode Debug|Win32 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Debug|Win32.Build.0 = Unicode Debug|Win32 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Debug|x64.ActiveCfg = Unicode Debug|x64 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Debug|x64.Build.0 = Unicode Debug|x64 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Release Static|Win32.ActiveCfg = Unicode Release Static|Win32 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Release Static|Win32.Build.0 = Unicode Release Static|Win32 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Release Static|x64.ActiveCfg = Unicode Release Static|x64 + {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Release Static|x64.Build.0 = Unicode Release Static|x64 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Release|Win32.ActiveCfg = Unicode Release|Win32 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Release|Win32.Build.0 = Unicode Release|Win32 {E8CF1ADA-264A-4127-86C2-FD7057D3792C}.Unicode Release|x64.ActiveCfg = Unicode Release|x64 @@ -67,18 +91,34 @@ Global {B5919129-6716-499D-9516-04EC34C86CDF}..NET Release|Win32.Build.0 = MD Release|Win32 {B5919129-6716-499D-9516-04EC34C86CDF}..NET Release|x64.ActiveCfg = MD Release|x64 {B5919129-6716-499D-9516-04EC34C86CDF}..NET Release|x64.Build.0 = MD Release|x64 + {B5919129-6716-499D-9516-04EC34C86CDF}.Debug Static|Win32.ActiveCfg = Debug|Win32 + {B5919129-6716-499D-9516-04EC34C86CDF}.Debug Static|Win32.Build.0 = Debug|Win32 + {B5919129-6716-499D-9516-04EC34C86CDF}.Debug Static|x64.ActiveCfg = Debug|x64 + {B5919129-6716-499D-9516-04EC34C86CDF}.Debug Static|x64.Build.0 = Debug|x64 {B5919129-6716-499D-9516-04EC34C86CDF}.Debug|Win32.ActiveCfg = Debug|Win32 {B5919129-6716-499D-9516-04EC34C86CDF}.Debug|Win32.Build.0 = Debug|Win32 {B5919129-6716-499D-9516-04EC34C86CDF}.Debug|x64.ActiveCfg = Debug|x64 {B5919129-6716-499D-9516-04EC34C86CDF}.Debug|x64.Build.0 = Debug|x64 + {B5919129-6716-499D-9516-04EC34C86CDF}.Release Static|Win32.ActiveCfg = Release|Win32 + {B5919129-6716-499D-9516-04EC34C86CDF}.Release Static|Win32.Build.0 = Release|Win32 + {B5919129-6716-499D-9516-04EC34C86CDF}.Release Static|x64.ActiveCfg = Release|x64 + {B5919129-6716-499D-9516-04EC34C86CDF}.Release Static|x64.Build.0 = Release|x64 {B5919129-6716-499D-9516-04EC34C86CDF}.Release|Win32.ActiveCfg = Release|Win32 {B5919129-6716-499D-9516-04EC34C86CDF}.Release|Win32.Build.0 = Release|Win32 {B5919129-6716-499D-9516-04EC34C86CDF}.Release|x64.ActiveCfg = Release|x64 {B5919129-6716-499D-9516-04EC34C86CDF}.Release|x64.Build.0 = Release|x64 + {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Debug Static|Win32.ActiveCfg = Debug|Win32 + {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Debug Static|Win32.Build.0 = Debug|Win32 + {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Debug Static|x64.ActiveCfg = Debug|x64 + {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Debug Static|x64.Build.0 = Debug|x64 {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Debug|Win32.ActiveCfg = Debug|Win32 {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Debug|Win32.Build.0 = Debug|Win32 {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Debug|x64.ActiveCfg = Debug|x64 {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Debug|x64.Build.0 = Debug|x64 + {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Release Static|Win32.ActiveCfg = Release|Win32 + {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Release Static|Win32.Build.0 = Release|Win32 + {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Release Static|x64.ActiveCfg = Release|x64 + {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Release Static|x64.Build.0 = Release|x64 {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Release|Win32.ActiveCfg = Release|Win32 {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Release|Win32.Build.0 = Release|Win32 {B5919129-6716-499D-9516-04EC34C86CDF}.Unicode Release|x64.ActiveCfg = Release|x64 @@ -87,12 +127,20 @@ Global {E6EDE286-05E0-4396-B551-AB273111E967}..NET Debug|x64.ActiveCfg = Debug|Win32 {E6EDE286-05E0-4396-B551-AB273111E967}..NET Release|Win32.ActiveCfg = Release|Win32 {E6EDE286-05E0-4396-B551-AB273111E967}..NET Release|x64.ActiveCfg = Release|Win32 + {E6EDE286-05E0-4396-B551-AB273111E967}.Debug Static|Win32.ActiveCfg = Debug|Win32 + {E6EDE286-05E0-4396-B551-AB273111E967}.Debug Static|x64.ActiveCfg = Debug|Win32 {E6EDE286-05E0-4396-B551-AB273111E967}.Debug|Win32.ActiveCfg = Debug|Win32 {E6EDE286-05E0-4396-B551-AB273111E967}.Debug|x64.ActiveCfg = Debug|Win32 + {E6EDE286-05E0-4396-B551-AB273111E967}.Release Static|Win32.ActiveCfg = Release|Win32 + {E6EDE286-05E0-4396-B551-AB273111E967}.Release Static|x64.ActiveCfg = Release|Win32 {E6EDE286-05E0-4396-B551-AB273111E967}.Release|Win32.ActiveCfg = Release|Win32 {E6EDE286-05E0-4396-B551-AB273111E967}.Release|x64.ActiveCfg = Release|Win32 + {E6EDE286-05E0-4396-B551-AB273111E967}.Unicode Debug Static|Win32.ActiveCfg = Debug|Win32 + {E6EDE286-05E0-4396-B551-AB273111E967}.Unicode Debug Static|x64.ActiveCfg = Debug|Win32 {E6EDE286-05E0-4396-B551-AB273111E967}.Unicode Debug|Win32.ActiveCfg = Debug|Win32 {E6EDE286-05E0-4396-B551-AB273111E967}.Unicode Debug|x64.ActiveCfg = Debug|Win32 + {E6EDE286-05E0-4396-B551-AB273111E967}.Unicode Release Static|Win32.ActiveCfg = Release|Win32 + {E6EDE286-05E0-4396-B551-AB273111E967}.Unicode Release Static|x64.ActiveCfg = Release|Win32 {E6EDE286-05E0-4396-B551-AB273111E967}.Unicode Release|Win32.ActiveCfg = Release|Win32 {E6EDE286-05E0-4396-B551-AB273111E967}.Unicode Release|x64.ActiveCfg = Release|Win32 EndGlobalSection diff --git a/source/project_configuration.props b/source/project_configuration.props index 5e717a9..890cdd6 100644 --- a/source/project_configuration.props +++ b/source/project_configuration.props @@ -6,6 +6,10 @@ + + StaticLibrary + + Unicode diff --git a/source/project_configurations.props b/source/project_configurations.props index 75a85e6..81dc339 100644 --- a/source/project_configurations.props +++ b/source/project_configurations.props @@ -33,6 +33,22 @@ Release x64 + + Debug Static + Win32 + + + Debug Static + x64 + + + Release Static + Win32 + + + Release Static + x64 + Unicode Debug Win32 @@ -49,5 +65,21 @@ Unicode Release x64 + + Unicode Debug Static + Win32 + + + Unicode Debug Static + x64 + + + Unicode Release Static + Win32 + + + Unicode Release Static + x64 + \ No newline at end of file