win32 dub build is working for both library and example1

This commit is contained in:
Vadim Lopatin 2014-04-17 01:11:35 +04:00
parent 85b8f895b9
commit 53eab3f14a
4 changed files with 6 additions and 2 deletions

View File

@ -67,8 +67,12 @@
], ],
"versions-windows": ["USE_OPENGL", "Unicode"], "versions-windows": ["USE_OPENGL", "Unicode"],
"subPackages": [
"./examples/example1/"
],
"dependencies": { "dependencies": {
"dlangui:example1": "~master",
"derelict-gl3": "~master", "derelict-gl3": "~master",
"derelict-fi": "~master", "derelict-fi": "~master",
"derelict-ft": "~master" "derelict-ft": "~master"

View File

@ -52,6 +52,6 @@
<Target>Executable</Target> <Target>Executable</Target>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="main.d" /> <Compile Include="src/main.d" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -189,6 +189,6 @@
<filesToClean>*.obj;*.cmd;*.build;*.json;*.dep</filesToClean> <filesToClean>*.obj;*.cmd;*.build;*.json;*.dep</filesToClean>
</Config> </Config>
<Folder name="example1"> <Folder name="example1">
<File path="main.d" /> <File path="src/main.d" />
</Folder> </Folder>
</DProject> </DProject>