add new solution and project for development using Mono-D under linux

This commit is contained in:
Vadim Lopatin 2015-11-12 14:13:36 +03:00
parent a2a9e7ea67
commit 167942fb90
3 changed files with 253 additions and 1 deletions

194
dlangide-monod-linux.dproj Normal file
View File

@ -0,0 +1,194 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
<ProjectGuid>{85ECF79F-B75F-4459-8A90-3857961F2029}</ProjectGuid>
<Compiler>DMD2</Compiler>
<PreferOneStepBuild>true</PreferOneStepBuild>
<UseDefaultCompiler>true</UseDefaultCompiler>
<IncrementalLinking>true</IncrementalLinking>
<DependentProjectIds>
<DependentProjectIds>
<String>{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}</String>
</DependentProjectIds>
</DependentProjectIds>
<Includes>
<Includes>
<Path>../dlangui/src</Path>
<Path>../dlangui/deps/dlib</Path>
<Path>../dlangui/deps/gl3n</Path>
<Path>../dlangui/deps/DerelictSDL2/source</Path>
<Path>../dlangui/deps/DerelictFT/source</Path>
<Path>../dlangui/deps/DerelictGL3/source</Path>
<Path>../dlangui/deps/DerelictUtil/source</Path>
</Includes>
</Includes>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug</OutputPath>
<VersionIds>
<VersionIds>
<String>USE_OPENGL</String>
<String>USE_SDL</String>
<String>USE_FREETYPE</String>
<String>EmbedStandardResources</String>
</VersionIds>
</VersionIds>
<ObjectsDirectory>obj/Debug</ObjectsDirectory>
<LinkinThirdPartyLibraries>true</LinkinThirdPartyLibraries>
<UnittestMode>false</UnittestMode>
<OutputName>dlangide-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/i18n
-Jviews/res/mdpi
-Jviews/res/hdpi</ExtraCompilerArguments>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
<OutputPath>bin\Release</OutputPath>
<VersionIds>
<VersionIds>
<String>USE_OPENGL</String>
<String>USE_SDL</String>
<String>USE_FREETYPE</String>
<String>EmbedStandardResources</String>
</VersionIds>
</VersionIds>
<ObjectsDirectory>obj/Release</ObjectsDirectory>
<LinkinThirdPartyLibraries>true</LinkinThirdPartyLibraries>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/i18n
-Jviews/res/mdpi
-Jviews/res/hdpi</ExtraCompilerArguments>
<UnittestMode>false</UnittestMode>
<OutputName>dlangide-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Unittest|x64' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Unittest</OutputPath>
<VersionIds>
<VersionIds>
<String>USE_OPENGL</String>
<String>USE_SDL</String>
<String>USE_FREETYPE</String>
<String>EmbedStandardResources</String>
</VersionIds>
</VersionIds>
<ObjectsDirectory>obj/Unittest</ObjectsDirectory>
<LinkinThirdPartyLibraries>true</LinkinThirdPartyLibraries>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/i18n
-Jviews/res/mdpi
-Jviews/res/hdpi</ExtraCompilerArguments>
<UnittestMode>true</UnittestMode>
<OutputName>dlangide-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMinimal|x64' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug</OutputPath>
<VersionIds>
<VersionIds>
<String>USE_SDL</String>
<String>USE_FREETYPE</String>
<String>EmbedStandardResources</String>
</VersionIds>
</VersionIds>
<ObjectsDirectory>obj/Debug</ObjectsDirectory>
<LinkinThirdPartyLibraries>true</LinkinThirdPartyLibraries>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/i18n
-Jviews/res/mdpi
-Jviews/res/hdpi</ExtraCompilerArguments>
<UnittestMode>false</UnittestMode>
<OutputName>dlangide-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseMinimal|x64' ">
<OutputPath>bin\Release</OutputPath>
<VersionIds>
<VersionIds>
<String>USE_SDL</String>
<String>USE_FREETYPE</String>
<String>EmbedStandardResources</String>
</VersionIds>
</VersionIds>
<ObjectsDirectory>obj/Release</ObjectsDirectory>
<LinkinThirdPartyLibraries>true</LinkinThirdPartyLibraries>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/i18n
-Jviews/res/mdpi
-Jviews/res/hdpi</ExtraCompilerArguments>
<UnittestMode>false</UnittestMode>
<OutputName>dlangide-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'UnittestMinimal|x64' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Unittest</OutputPath>
<VersionIds>
<VersionIds>
<String>USE_SDL</String>
<String>USE_FREETYPE</String>
<String>EmbedStandardResources</String>
</VersionIds>
</VersionIds>
<ObjectsDirectory>obj/Unittest</ObjectsDirectory>
<LinkinThirdPartyLibraries>true</LinkinThirdPartyLibraries>
<ExtraCompilerArguments>-Jviews
-Jviews/res
-Jviews/res/i18n
-Jviews/res/mdpi
-Jviews/res/hdpi</ExtraCompilerArguments>
<UnittestMode>true</UnittestMode>
<OutputName>dlangide-monod-linux</OutputName>
<Target>Executable</Target>
<Externalconsole>true</Externalconsole>
<DebugLevel>0</DebugLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="src\dlangide.d" />
<Compile Include="src\ddc\lexer\exceptions.d" />
<Compile Include="src\ddc\lexer\Lexer.d" />
<Compile Include="src\ddc\lexer\LexerException.d" />
<Compile Include="src\ddc\lexer\textsource.d" />
<Compile Include="src\ddc\lexer\tokenizer.d" />
<Compile Include="src\dlangide\builders\builder.d" />
<Compile Include="src\dlangide\builders\extprocess.d" />
<Compile Include="src\dlangide\tools\editortool.d" />
<Compile Include="src\dlangide\tools\d\dcdinterface.d" />
<Compile Include="src\dlangide\tools\d\dcdserver.d" />
<Compile Include="src\dlangide\tools\d\deditortool.d" />
<Compile Include="src\dlangide\tools\d\dparser.d" />
<Compile Include="src\dlangide\tools\d\dsyntax.d" />
<Compile Include="src\dlangide\ui\commands.d" />
<Compile Include="src\dlangide\ui\dsourceedit.d" />
<Compile Include="src\dlangide\ui\frame.d" />
<Compile Include="src\dlangide\ui\homescreen.d" />
<Compile Include="src\dlangide\ui\newproject.d" />
<Compile Include="src\dlangide\ui\outputpanel.d" />
<Compile Include="src\dlangide\ui\searchPanel.d" />
<Compile Include="src\dlangide\ui\settings.d" />
<Compile Include="src\dlangide\ui\wspanel.d" />
<Compile Include="src\dlangide\workspace\project.d" />
<Compile Include="src\dlangide\workspace\workspace.d" />
</ItemGroup>
</Project>

58
dlangide-monod-linux.sln Normal file
View File

@ -0,0 +1,58 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{3947E667-4C90-4C3A-BEB9-7148D6FE0D7C}") = "dlangide-monod-linux", "dlangide-monod-linux.dproj", "{85ECF79F-B75F-4459-8A90-3857961F2029}"
EndProject
Project("{3947E667-4C90-4C3A-BEB9-7148D6FE0D7C}") = "dlangui-monod-linux", "..\dlangui\dlangui-monod-linux.dproj", "{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
Unittest|Any CPU = Unittest|Any CPU
Debug|x64 = Debug|x64
Release|x64 = Release|x64
Unittest|x64 = Unittest|x64
DebugMinimal|x64 = DebugMinimal|x64
ReleaseMinimal|x64 = ReleaseMinimal|x64
UnittestMinimal|x64 = UnittestMinimal|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{85ECF79F-B75F-4459-8A90-3857961F2029}.Debug|Any CPU.ActiveCfg = Debug|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Debug|Any CPU.Build.0 = Debug|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Debug|x64.ActiveCfg = Debug|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Debug|x64.Build.0 = Debug|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.DebugMinimal|x64.ActiveCfg = DebugMinimal|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.DebugMinimal|x64.Build.0 = DebugMinimal|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Release|Any CPU.ActiveCfg = Release|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Release|Any CPU.Build.0 = Release|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Release|x64.ActiveCfg = Release|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Release|x64.Build.0 = Release|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.ReleaseMinimal|x64.ActiveCfg = ReleaseMinimal|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.ReleaseMinimal|x64.Build.0 = ReleaseMinimal|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Unittest|Any CPU.ActiveCfg = Unittest|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Unittest|Any CPU.Build.0 = Unittest|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Unittest|x64.ActiveCfg = Unittest|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.Unittest|x64.Build.0 = Unittest|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.UnittestMinimal|x64.ActiveCfg = UnittestMinimal|x64
{85ECF79F-B75F-4459-8A90-3857961F2029}.UnittestMinimal|x64.Build.0 = UnittestMinimal|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}.Debug|x64.ActiveCfg = Debug|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Debug|x64.Build.0 = Debug|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.DebugMinimal|x64.ActiveCfg = DebugMinimal|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.DebugMinimal|x64.Build.0 = DebugMinimal|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Release|Any CPU.ActiveCfg = Release|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Release|Any CPU.Build.0 = Release|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Release|x64.ActiveCfg = Release|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Release|x64.Build.0 = Release|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.ReleaseMinimal|x64.ActiveCfg = ReleaseMinimal|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.ReleaseMinimal|x64.Build.0 = ReleaseMinimal|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Unittest|Any CPU.ActiveCfg = Unittest|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Unittest|Any CPU.Build.0 = Unittest|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Unittest|x64.ActiveCfg = Unittest|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.Unittest|x64.Build.0 = Unittest|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.UnittestMinimal|x64.ActiveCfg = UnittestMinimal|x64
{A38BEF21-AAFE-4115-A978-63B7C8C2FBD1}.UnittestMinimal|x64.Build.0 = UnittestMinimal|x64
EndGlobalSection
EndGlobal

View File

@ -61,7 +61,7 @@ extern (C) int UIAppMain(string[] args) {
}
// create window
Window window = Platform.instance.createWindow("Dlang IDE", null, WindowFlag.Resizable, 700, 470);
Window window = Platform.instance.createWindow("Dlang IDE", null, WindowFlag.Resizable, 800, 600);
// set window icon
window.windowIcon = drawableCache.getImage("dlangui-logo1");