Skip to content

Commit

Permalink
Add Mono build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBombSquad committed Apr 8, 2023
1 parent f9a791d commit 8b771b4
Show file tree
Hide file tree
Showing 10 changed files with 203 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ GxUtils/.vs/GxUtils/v16/Server/sqlite3/db.lock
GxUtils/.vs/GxUtils/v16/Server/sqlite3/storage.ide
GxUtils/.vs/GxUtils/v16/Server/sqlite3/storage.ide-shm
GxUtils/.vs/GxUtils/v16/Server/sqlite3/storage.ide-wal
GxUtils/.idea
17 changes: 17 additions & 0 deletions GxUtils/GxExtender/GxExtender.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,23 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug - Mono|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<DefineConstants>DEBUG;TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<OutputPath>bin\Debug - Mono\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release - Mono|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<OutputPath>bin\Release - Mono\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Drawing" />
Expand Down
17 changes: 17 additions & 0 deletions GxUtils/GxLoadSaveTestApp/GxLoadSaveTestApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,23 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug - Mono|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<DefineConstants>DEBUG;TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<OutputPath>bin\Debug - Mono\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release - Mono|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<OutputPath>bin\Release - Mono\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
Expand Down
19 changes: 19 additions & 0 deletions GxUtils/GxModelViewer/GxModelViewer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,25 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug - Mono|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<StartArguments />
<OutputPath>bin\Debug - Mono\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release - Mono|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<StartArguments />
<OutputPath>bin\Release - Mono\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions GxUtils/GxModelViewer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace GxModelViewer

class MainClass
{
#if !__MonoCS__
#if !IS_MONO_BUILD
[DllImport("kernel32.dll")]
private static extern IntPtr GetConsoleWindow();

Expand Down Expand Up @@ -52,7 +52,7 @@ public static void Main (string[] args)

if (args.Length == 0)
{
#if !__MonoCS__
#if !IS_MONO_BUILD
var handle = GetConsoleWindow();
ShowWindow(handle, SW_HIDE);
#endif
Expand Down
17 changes: 17 additions & 0 deletions GxUtils/GxModelViewer_WinFormsExt/GxModelViewer_WinFormsExt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug - Mono|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<DefineConstants>DEBUG;TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<OutputPath>bin\Debug - Mono\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release - Mono|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<OutputPath>bin\Release - Mono\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Drawing" />
Expand Down
30 changes: 30 additions & 0 deletions GxUtils/GxUtils.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,36 +21,66 @@ Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
Debug - Mono|Any CPU = Debug - Mono|Any CPU
Release - Mono|Any CPU = Release - Mono|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C05FE558-F1FB-4817-94F6-50EFC92FFD00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C05FE558-F1FB-4817-94F6-50EFC92FFD00}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C05FE558-F1FB-4817-94F6-50EFC92FFD00}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C05FE558-F1FB-4817-94F6-50EFC92FFD00}.Release|Any CPU.Build.0 = Release|Any CPU
{C05FE558-F1FB-4817-94F6-50EFC92FFD00}.Debug - Mono|Any CPU.ActiveCfg = Debug - Mono|Any CPU
{C05FE558-F1FB-4817-94F6-50EFC92FFD00}.Debug - Mono|Any CPU.Build.0 = Debug - Mono|Any CPU
{C05FE558-F1FB-4817-94F6-50EFC92FFD00}.Release - Mono|Any CPU.ActiveCfg = Release - Mono|Any CPU
{C05FE558-F1FB-4817-94F6-50EFC92FFD00}.Release - Mono|Any CPU.Build.0 = Release - Mono|Any CPU
{407E4B49-2E78-498D-95D0-176B476C5B68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{407E4B49-2E78-498D-95D0-176B476C5B68}.Debug|Any CPU.Build.0 = Debug|Any CPU
{407E4B49-2E78-498D-95D0-176B476C5B68}.Release|Any CPU.ActiveCfg = Release|Any CPU
{407E4B49-2E78-498D-95D0-176B476C5B68}.Release|Any CPU.Build.0 = Release|Any CPU
{407E4B49-2E78-498D-95D0-176B476C5B68}.Debug - Mono|Any CPU.ActiveCfg = Debug - Mono|Any CPU
{407E4B49-2E78-498D-95D0-176B476C5B68}.Debug - Mono|Any CPU.Build.0 = Debug - Mono|Any CPU
{407E4B49-2E78-498D-95D0-176B476C5B68}.Release - Mono|Any CPU.ActiveCfg = Release - Mono|Any CPU
{407E4B49-2E78-498D-95D0-176B476C5B68}.Release - Mono|Any CPU.Build.0 = Release - Mono|Any CPU
{DD0AA96D-7027-4E6B-9D4C-FB9B3EA74F20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD0AA96D-7027-4E6B-9D4C-FB9B3EA74F20}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD0AA96D-7027-4E6B-9D4C-FB9B3EA74F20}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DD0AA96D-7027-4E6B-9D4C-FB9B3EA74F20}.Release|Any CPU.Build.0 = Release|Any CPU
{DD0AA96D-7027-4E6B-9D4C-FB9B3EA74F20}.Debug - Mono|Any CPU.ActiveCfg = Debug - Mono|Any CPU
{DD0AA96D-7027-4E6B-9D4C-FB9B3EA74F20}.Debug - Mono|Any CPU.Build.0 = Debug - Mono|Any CPU
{DD0AA96D-7027-4E6B-9D4C-FB9B3EA74F20}.Release - Mono|Any CPU.ActiveCfg = Release - Mono|Any CPU
{DD0AA96D-7027-4E6B-9D4C-FB9B3EA74F20}.Release - Mono|Any CPU.Build.0 = Release - Mono|Any CPU
{AB5AA934-9B3F-4509-82A2-B79BE5929AA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AB5AA934-9B3F-4509-82A2-B79BE5929AA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AB5AA934-9B3F-4509-82A2-B79BE5929AA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AB5AA934-9B3F-4509-82A2-B79BE5929AA5}.Release|Any CPU.Build.0 = Release|Any CPU
{AB5AA934-9B3F-4509-82A2-B79BE5929AA5}.Debug - Mono|Any CPU.ActiveCfg = Debug - Mono|Any CPU
{AB5AA934-9B3F-4509-82A2-B79BE5929AA5}.Debug - Mono|Any CPU.Build.0 = Debug - Mono|Any CPU
{AB5AA934-9B3F-4509-82A2-B79BE5929AA5}.Release - Mono|Any CPU.ActiveCfg = Release - Mono|Any CPU
{AB5AA934-9B3F-4509-82A2-B79BE5929AA5}.Release - Mono|Any CPU.Build.0 = Release - Mono|Any CPU
{F720FE95-F774-4E85-A40A-EDB931BA59DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F720FE95-F774-4E85-A40A-EDB931BA59DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F720FE95-F774-4E85-A40A-EDB931BA59DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F720FE95-F774-4E85-A40A-EDB931BA59DC}.Release|Any CPU.Build.0 = Release|Any CPU
{F720FE95-F774-4E85-A40A-EDB931BA59DC}.Debug - Mono|Any CPU.ActiveCfg = Debug - Mono|Any CPU
{F720FE95-F774-4E85-A40A-EDB931BA59DC}.Debug - Mono|Any CPU.Build.0 = Debug - Mono|Any CPU
{F720FE95-F774-4E85-A40A-EDB931BA59DC}.Release - Mono|Any CPU.ActiveCfg = Release - Mono|Any CPU
{F720FE95-F774-4E85-A40A-EDB931BA59DC}.Release - Mono|Any CPU.Build.0 = Release - Mono|Any CPU
{1C8C58C7-1CB7-40AB-8AD1-41E01F757F34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1C8C58C7-1CB7-40AB-8AD1-41E01F757F34}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1C8C58C7-1CB7-40AB-8AD1-41E01F757F34}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1C8C58C7-1CB7-40AB-8AD1-41E01F757F34}.Release|Any CPU.Build.0 = Release|Any CPU
{1C8C58C7-1CB7-40AB-8AD1-41E01F757F34}.Debug - Mono|Any CPU.ActiveCfg = Debug - Mono|Any CPU
{1C8C58C7-1CB7-40AB-8AD1-41E01F757F34}.Debug - Mono|Any CPU.Build.0 = Debug - Mono|Any CPU
{1C8C58C7-1CB7-40AB-8AD1-41E01F757F34}.Release - Mono|Any CPU.ActiveCfg = Release - Mono|Any CPU
{1C8C58C7-1CB7-40AB-8AD1-41E01F757F34}.Release - Mono|Any CPU.Build.0 = Release - Mono|Any CPU
{7C2CCE0A-A288-4869-A7B7-CC0D18AF3B8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7C2CCE0A-A288-4869-A7B7-CC0D18AF3B8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7C2CCE0A-A288-4869-A7B7-CC0D18AF3B8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7C2CCE0A-A288-4869-A7B7-CC0D18AF3B8C}.Release|Any CPU.Build.0 = Release|Any CPU
{7C2CCE0A-A288-4869-A7B7-CC0D18AF3B8C}.Debug - Mono|Any CPU.ActiveCfg = Debug - Mono|Any CPU
{7C2CCE0A-A288-4869-A7B7-CC0D18AF3B8C}.Debug - Mono|Any CPU.Build.0 = Debug - Mono|Any CPU
{7C2CCE0A-A288-4869-A7B7-CC0D18AF3B8C}.Release - Mono|Any CPU.ActiveCfg = Release - Mono|Any CPU
{7C2CCE0A-A288-4869-A7B7-CC0D18AF3B8C}.Release - Mono|Any CPU.Build.0 = Release - Mono|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
19 changes: 19 additions & 0 deletions GxUtils/LibGxFormat/LibGxFormat.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,25 @@
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug - Mono|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputPath>bin\Debug - Mono\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release - Mono|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputPath>bin\Release - Mono\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="MiscUtil">
<HintPath>..\MiscUtil.dll</HintPath>
Expand Down
17 changes: 17 additions & 0 deletions GxUtils/LibGxTexture/LibGxTexture.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug - Mono|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<DefineConstants>DEBUG;TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<OutputPath>bin\Debug - Mono\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release - Mono|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE;IS_MONO_BUILD</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<OutputPath>bin\Release - Mono\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
Expand Down
64 changes: 64 additions & 0 deletions GxUtils/TreeViewMS/TreeViewMS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,70 @@
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug - Mono|AnyCPU' ">
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile />
<DefineConstants>DEBUG;TRACE;IS_MONO_BUILD</DefineConstants>
<DocumentationFile />
<DebugSymbols>true</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>true</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>false</Prefer32Bit>
<EnableASPDebugging>false</EnableASPDebugging>
<EnableASPXDebugging>false</EnableASPXDebugging>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<EnableSQLServerDebugging>false</EnableSQLServerDebugging>
<RemoteDebugEnabled>false</RemoteDebugEnabled>
<RemoteDebugMachine />
<StartAction>Project</StartAction>
<StartArguments />
<StartPage />
<StartProgram />
<StartURL />
<StartWorkingDirectory />
<StartWithIE>false</StartWithIE>
<OutputPath>bin\Debug - Mono\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release - Mono|AnyCPU' ">
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile />
<DefineConstants>TRACE;IS_MONO_BUILD</DefineConstants>
<DocumentationFile />
<DebugSymbols>false</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>true</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>none</DebugType>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>false</Prefer32Bit>
<EnableASPDebugging>false</EnableASPDebugging>
<EnableASPXDebugging>false</EnableASPXDebugging>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<EnableSQLServerDebugging>false</EnableSQLServerDebugging>
<RemoteDebugEnabled>false</RemoteDebugEnabled>
<RemoteDebugMachine />
<StartAction>Project</StartAction>
<StartArguments />
<StartPage />
<StartProgram />
<StartURL />
<StartWorkingDirectory />
<StartWithIE>false</StartWithIE>
<OutputPath>bin\Release - Mono\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="System">
<Name>System</Name>
Expand Down

0 comments on commit 8b771b4

Please sign in to comment.