forked from dlang/visuald
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add project template for DMD,LDC and GDC
- Loading branch information
Showing
6 changed files
with
131 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
96 changes: 96 additions & 0 deletions
96
visuald/Templates/ProjectItems/ConsoleDLG/ConsoleApp.visualdproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
<DProject> | ||
<ProjectGuid>$guid1$</ProjectGuid> | ||
<Config name="Debug DMD" platform="Win32"> | ||
<isX86_64>0</isX86_64> | ||
<compiler>0</compiler> | ||
<runCv2pdb>1</runCv2pdb> | ||
<symdebug>1</symdebug> | ||
<release>0</release> | ||
</Config> | ||
<Config name="Release DMD" platform="Win32"> | ||
<isX86_64>0</isX86_64> | ||
<compiler>0</compiler> | ||
<runCv2pdb>0</runCv2pdb> | ||
<release>1</release> | ||
<optimize>1</optimize> | ||
<useInline>1</useInline> | ||
</Config> | ||
<Config name="Debug DMD" platform="x64"> | ||
<isX86_64>1</isX86_64> | ||
<compiler>0</compiler> | ||
<runCv2pdb>1</runCv2pdb> | ||
<symdebug>1</symdebug> | ||
<release>0</release> | ||
</Config> | ||
<Config name="Release DMD" platform="x64"> | ||
<isX86_64>1</isX86_64> | ||
<compiler>0</compiler> | ||
<runCv2pdb>0</runCv2pdb> | ||
<release>1</release> | ||
<optimize>1</optimize> | ||
<useInline>1</useInline> | ||
</Config> | ||
<Config name="Debug LDC" platform="Win32"> | ||
<isX86_64>0</isX86_64> | ||
<compiler>2</compiler> | ||
<runCv2pdb>1</runCv2pdb> | ||
<symdebug>1</symdebug> | ||
<release>0</release> | ||
</Config> | ||
<Config name="Release LDC" platform="Win32"> | ||
<isX86_64>0</isX86_64> | ||
<compiler>2</compiler> | ||
<runCv2pdb>0</runCv2pdb> | ||
<release>1</release> | ||
<optimize>1</optimize> | ||
<useInline>1</useInline> | ||
</Config> | ||
<Config name="Debug LDC" platform="x64"> | ||
<isX86_64>1</isX86_64> | ||
<compiler>2</compiler> | ||
<runCv2pdb>1</runCv2pdb> | ||
<symdebug>1</symdebug> | ||
<release>0</release> | ||
</Config> | ||
<Config name="Release LDC" platform="x64"> | ||
<isX86_64>1</isX86_64> | ||
<compiler>2</compiler> | ||
<runCv2pdb>0</runCv2pdb> | ||
<release>1</release> | ||
<optimize>1</optimize> | ||
<useInline>1</useInline> | ||
</Config> | ||
<Config name="Debug GDC" platform="Win32"> | ||
<isX86_64>0</isX86_64> | ||
<compiler>1</compiler> | ||
<runCv2pdb>1</runCv2pdb> | ||
<symdebug>1</symdebug> | ||
<release>0</release> | ||
</Config> | ||
<Config name="Release GDC" platform="Win32"> | ||
<isX86_64>0</isX86_64> | ||
<compiler>1</compiler> | ||
<runCv2pdb>0</runCv2pdb> | ||
<release>1</release> | ||
<optimize>1</optimize> | ||
<useInline>1</useInline> | ||
</Config> | ||
<Config name="Debug GDC" platform="x64"> | ||
<isX86_64>1</isX86_64> | ||
<compiler>1</compiler> | ||
<runCv2pdb>1</runCv2pdb> | ||
<symdebug>1</symdebug> | ||
<release>0</release> | ||
</Config> | ||
<Config name="Release GDC" platform="x64"> | ||
<isX86_64>1</isX86_64> | ||
<compiler>1</compiler> | ||
<runCv2pdb>0</runCv2pdb> | ||
<release>1</release> | ||
<optimize>1</optimize> | ||
<useInline>1</useInline> | ||
</Config> | ||
<Folder name="$safeprojectname$"> | ||
<File path="main.d"></File> | ||
</Folder> | ||
</DProject> |
18 changes: 18 additions & 0 deletions
18
visuald/Templates/ProjectItems/ConsoleDLG/ConsoleApp.vstemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<VSTemplate Version="2.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"> | ||
<TemplateData> | ||
<Name>Console Application DMD/LDC/GDC x86/x64</Name> | ||
<Description>A project for creating a command-line application with DMD/LDC/GDC for x86/x64</Description> | ||
<Icon>__TemplateIcon.ico</Icon> | ||
<ProjectType>D</ProjectType> | ||
<SortOrder>50</SortOrder> | ||
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp> | ||
<CreateNewFolder>true</CreateNewFolder> | ||
<DefaultName>ConsoleApplication</DefaultName> | ||
<ProvideDefaultName>true</ProvideDefaultName> | ||
</TemplateData> | ||
<TemplateContent> | ||
<Project File="ConsoleApp.visualdproj" ReplaceParameters="true"> | ||
<ProjectItem ReplaceParameters="true" OpenInEditor="true">main.d</ProjectItem> | ||
</Project> | ||
</TemplateContent> | ||
</VSTemplate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import std.stdio; | ||
|
||
int main(string[] argv) | ||
{ | ||
writeln("Hello D-World!"); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters