update mono-d linux project files

This commit is contained in:
Vadim Lopatin 2016-09-14 11:38:49 +03:00
parent 3f9cff6414
commit 24b0a4baec
8 changed files with 119 additions and 2 deletions

View File

@ -254,6 +254,27 @@
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugConsole|AnyCPU' ">
<OutputPath>bin\DebugConsole</OutputPath>
<ObjectsDirectory>obj/DebugConsole</ObjectsDirectory>
<LinkinThirdPartyLibraries>false</LinkinThirdPartyLibraries>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/i18n
-Jviews/res/shaders
-Jviews/res/mdpi
-Jviews/res/hdpi</ExtraCompilerArguments>
<UnittestMode>false</UnittestMode>
<OutputName>libdlangui-monod-linux</OutputName>
<Target>StaticLibrary</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
<VersionIds>
<VersionIds>
<String>USE_CONSOLE</String>
</VersionIds>
</VersionIds>
</PropertyGroup>
<ItemGroup>
<Compile Include="src\dlangui\core\collections.d" />
<Compile Include="src\dlangui\core\css.d" />
@ -284,7 +305,6 @@
<Compile Include="src\dlangui\dml\tokenizer.d" />
<Compile Include="src\dlangui\graphics\colors.d" />
<Compile Include="src\dlangui\graphics\drawbuf.d" />
<Compile Include="src\dlangui\graphics\domrender.d" />
<Compile Include="src\dlangui\graphics\fonts.d" />
<Compile Include="src\dlangui\graphics\ftfonts.d" />
<Compile Include="src\dlangui\graphics\gldrawbuf.d" />
@ -406,6 +426,11 @@
<Compile Include="3rdparty\dimage\zlib.d" />
<Compile Include="src\dlangui\core\asyncsocket.d" />
<Compile Include="src\dlangui\core\queue.d" />
<Compile Include="src\dlangui\graphics\domrender\domrender.d" />
<Compile Include="src\dlangui\graphics\domrender\renderblock.d" />
<Compile Include="src\dlangui\platforms\console\consoleapp.d" />
<Compile Include="src\dlangui\platforms\console\consolefont.d" />
<Compile Include="src\dlangui\platforms\console\dconsole.d" />
</ItemGroup>
<ItemGroup>
<Folder Include="src\dlangui\platforms\x11\" />

View File

@ -24,10 +24,13 @@ Global
DebugX11|Any CPU = DebugX11|Any CPU
ReleaseX11|Any CPU = ReleaseX11|Any CPU
UnittestX11|Any CPU = UnittestX11|Any CPU
DebugConsole|Any CPU = DebugConsole|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{075C374A-563A-4CAC-9E9F-0B6E1DFEAEC3}.Debug|Any CPU.ActiveCfg = Debug|x64
{075C374A-563A-4CAC-9E9F-0B6E1DFEAEC3}.Debug|Any CPU.Build.0 = Debug|x64
{075C374A-563A-4CAC-9E9F-0B6E1DFEAEC3}.DebugConsole|Any CPU.ActiveCfg = DebugConsole|Any CPU
{075C374A-563A-4CAC-9E9F-0B6E1DFEAEC3}.DebugConsole|Any CPU.Build.0 = DebugConsole|Any CPU
{075C374A-563A-4CAC-9E9F-0B6E1DFEAEC3}.DebugMinimal|Any CPU.ActiveCfg = DebugMinimal|x64
{075C374A-563A-4CAC-9E9F-0B6E1DFEAEC3}.DebugMinimal|Any CPU.Build.0 = DebugMinimal|x64
{075C374A-563A-4CAC-9E9F-0B6E1DFEAEC3}.DebugX11|Any CPU.ActiveCfg = DebugX11|x64
@ -46,6 +49,8 @@ Global
{075C374A-563A-4CAC-9E9F-0B6E1DFEAEC3}.UnittestX11|Any CPU.Build.0 = UnittestX11|x64
{0A3A0D08-E4DC-418E-B92B-561CC91C2306}.Debug|Any CPU.ActiveCfg = Debug|x64
{0A3A0D08-E4DC-418E-B92B-561CC91C2306}.Debug|Any CPU.Build.0 = Debug|x64
{0A3A0D08-E4DC-418E-B92B-561CC91C2306}.DebugConsole|Any CPU.ActiveCfg = DebugConsole|Any CPU
{0A3A0D08-E4DC-418E-B92B-561CC91C2306}.DebugConsole|Any CPU.Build.0 = DebugConsole|Any CPU
{0A3A0D08-E4DC-418E-B92B-561CC91C2306}.DebugMinimal|Any CPU.ActiveCfg = DebugMinimal|x64
{0A3A0D08-E4DC-418E-B92B-561CC91C2306}.DebugMinimal|Any CPU.Build.0 = DebugMinimal|x64
{0A3A0D08-E4DC-418E-B92B-561CC91C2306}.DebugX11|Any CPU.ActiveCfg = DebugX11|x64
@ -64,6 +69,8 @@ Global
{0A3A0D08-E4DC-418E-B92B-561CC91C2306}.UnittestX11|Any CPU.Build.0 = UnittestX11|x64
{54BDE028-6064-4CA9-B6CA-4C0BEEE70F24}.Debug|Any CPU.ActiveCfg = Debug|x64
{54BDE028-6064-4CA9-B6CA-4C0BEEE70F24}.Debug|Any CPU.Build.0 = Debug|x64
{54BDE028-6064-4CA9-B6CA-4C0BEEE70F24}.DebugConsole|Any CPU.ActiveCfg = DebugConsole|Any CPU
{54BDE028-6064-4CA9-B6CA-4C0BEEE70F24}.DebugConsole|Any CPU.Build.0 = DebugConsole|Any CPU
{54BDE028-6064-4CA9-B6CA-4C0BEEE70F24}.DebugMinimal|Any CPU.ActiveCfg = DebugMinimal|x64
{54BDE028-6064-4CA9-B6CA-4C0BEEE70F24}.DebugMinimal|Any CPU.Build.0 = DebugMinimal|x64
{54BDE028-6064-4CA9-B6CA-4C0BEEE70F24}.DebugX11|Any CPU.ActiveCfg = DebugX11|x64
@ -82,6 +89,8 @@ Global
{54BDE028-6064-4CA9-B6CA-4C0BEEE70F24}.UnittestX11|Any CPU.Build.0 = UnittestX11|x64
{5BD82AA8-4026-44C2-8957-B4E2932542F0}.Debug|Any CPU.ActiveCfg = Debug|x64
{5BD82AA8-4026-44C2-8957-B4E2932542F0}.Debug|Any CPU.Build.0 = Debug|x64
{5BD82AA8-4026-44C2-8957-B4E2932542F0}.DebugConsole|Any CPU.ActiveCfg = DebugConsole|Any CPU
{5BD82AA8-4026-44C2-8957-B4E2932542F0}.DebugConsole|Any CPU.Build.0 = DebugConsole|Any CPU
{5BD82AA8-4026-44C2-8957-B4E2932542F0}.DebugMinimal|Any CPU.ActiveCfg = DebugMinimal|x64
{5BD82AA8-4026-44C2-8957-B4E2932542F0}.DebugMinimal|Any CPU.Build.0 = DebugMinimal|x64
{5BD82AA8-4026-44C2-8957-B4E2932542F0}.DebugX11|Any CPU.ActiveCfg = DebugX11|x64
@ -100,6 +109,8 @@ Global
{5BD82AA8-4026-44C2-8957-B4E2932542F0}.UnittestX11|Any CPU.Build.0 = UnittestX11|x64
{8E722D80-CF8D-4D98-BEAE-7BC9E6752AC4}.Debug|Any CPU.ActiveCfg = Debug|x64
{8E722D80-CF8D-4D98-BEAE-7BC9E6752AC4}.Debug|Any CPU.Build.0 = Debug|x64
{8E722D80-CF8D-4D98-BEAE-7BC9E6752AC4}.DebugConsole|Any CPU.ActiveCfg = DebugConsole|Any CPU
{8E722D80-CF8D-4D98-BEAE-7BC9E6752AC4}.DebugConsole|Any CPU.Build.0 = DebugConsole|Any CPU
{8E722D80-CF8D-4D98-BEAE-7BC9E6752AC4}.DebugMinimal|Any CPU.ActiveCfg = DebugMinimal|x64
{8E722D80-CF8D-4D98-BEAE-7BC9E6752AC4}.DebugMinimal|Any CPU.Build.0 = DebugMinimal|x64
{8E722D80-CF8D-4D98-BEAE-7BC9E6752AC4}.DebugX11|Any CPU.ActiveCfg = DebugX11|x64
@ -118,6 +129,8 @@ Global
{8E722D80-CF8D-4D98-BEAE-7BC9E6752AC4}.UnittestX11|Any CPU.Build.0 = UnittestX11|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Debug|Any CPU.ActiveCfg = Debug|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Debug|Any CPU.Build.0 = Debug|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.DebugConsole|Any CPU.ActiveCfg = DebugConsole|Any CPU
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.DebugConsole|Any CPU.Build.0 = DebugConsole|Any CPU
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.DebugMinimal|Any CPU.ActiveCfg = DebugMinimal|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.DebugMinimal|Any CPU.Build.0 = DebugMinimal|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.DebugX11|Any CPU.ActiveCfg = DebugX11|x64

View File

@ -244,6 +244,22 @@
<DebugLevel>0</DebugLevel>
<ExtraLinkerArguments>-lX11</ExtraLinkerArguments>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugConsole|AnyCPU' ">
<OutputPath>bin\DebugConsole</OutputPath>
<ObjectsDirectory>obj/DebugConsole</ObjectsDirectory>
<LinkinThirdPartyLibraries>false</LinkinThirdPartyLibraries>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/hdpi
-Jviews/res/mdpi
-Jviews/res/i18n
</ExtraCompilerArguments>
<UnittestMode>false</UnittestMode>
<OutputName>dmledit-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="src\dmledit.d" />
</ItemGroup>

View File

@ -244,6 +244,27 @@
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugConsole|AnyCPU' ">
<OutputPath>bin\DebugConsole</OutputPath>
<ObjectsDirectory>obj/DebugConsole</ObjectsDirectory>
<LinkinThirdPartyLibraries>false</LinkinThirdPartyLibraries>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/hdpi
-Jviews/res/mdpi
-Jviews/res/i18n
</ExtraCompilerArguments>
<UnittestMode>false</UnittestMode>
<OutputName>example1-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
<VersionIds>
<VersionIds>
<String>USE_CONSOLE</String>
</VersionIds>
</VersionIds>
</PropertyGroup>
<ItemGroup>
<Compile Include="src\example1.d" />
</ItemGroup>

View File

@ -187,6 +187,16 @@
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugConsole|AnyCPU' ">
<OutputPath>bin\DebugConsole</OutputPath>
<ObjectsDirectory>obj/DebugConsole</ObjectsDirectory>
<LinkinThirdPartyLibraries>false</LinkinThirdPartyLibraries>
<UnittestMode>false</UnittestMode>
<OutputName>helloworld-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="src\helloworld.d" />
</ItemGroup>

View File

@ -243,6 +243,22 @@
<DebugLevel>0</DebugLevel>
<ObjectsDirectory>obj/UnittestX11</ObjectsDirectory>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugConsole|AnyCPU' ">
<OutputPath>bin\DebugConsole</OutputPath>
<ObjectsDirectory>obj/DebugConsole</ObjectsDirectory>
<LinkinThirdPartyLibraries>false</LinkinThirdPartyLibraries>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/hdpi
-Jviews/res/mdpi
-Jviews/res/i18n
</ExtraCompilerArguments>
<UnittestMode>false</UnittestMode>
<OutputName>spreadsheet-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="src\spreadsheetapp.d" />
<Compile Include="src\dlangui\widgets\spreadsheet.d" />

View File

@ -235,6 +235,22 @@
-Jviews/res/hdpi
-Jviews/res/mdpi
-Jviews/res/i18n
</ExtraCompilerArguments>
<UnittestMode>false</UnittestMode>
<OutputName>tetris-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugConsole|AnyCPU' ">
<OutputPath>bin\DebugConsole</OutputPath>
<ObjectsDirectory>obj/DebugConsole</ObjectsDirectory>
<LinkinThirdPartyLibraries>false</LinkinThirdPartyLibraries>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/hdpi
-Jviews/res/mdpi
-Jviews/res/i18n
</ExtraCompilerArguments>
<UnittestMode>false</UnittestMode>
<OutputName>tetris-monod-linux</OutputName>

View File

@ -286,7 +286,7 @@ class ConsoleDrawBuf : DrawBuf {
return dr + dg + db;
}
}
static if (Windows) {
version(Windows) {
// windows color table
static immutable RGB[16] CONSOLE_COLORS_RGB = [
RGB(0,0,0),