Patch level : 12.0 614

Files correlati     : fp, ve
Commento            :

Aggiunto compilatore per ve0300a.src
This commit is contained in:
AlexBonazzi 2018-08-03 16:02:12 +02:00
parent eeec3674ff
commit d028101e92
11 changed files with 101 additions and 84 deletions

View File

@ -269,27 +269,21 @@
</PropertyGroup>
<ItemDefinitionGroup>
<SrcCompiler>
<CommandLineTemplate>ini32 %(FullPath) $(TargetDir)%(Filename).ini</CommandLineTemplate>
<CommandLineTemplate>call ini32 %(FullPath) $(TargetDir)%(Filename).ini</CommandLineTemplate>
<Outputs>$(TargetDir)%(Filename).ini</Outputs>
<ExecutionDescription>Compiling %(Filename) to $(TargetDir)</ExecutionDescription>
</SrcCompiler>
</ItemDefinitionGroup>
<!-- DA MODIFICARE ALESSANDRO, QUA C'É IL COMANDO CHE TI INTERESSA!!!!!!! -->
<PropertyGroup
Condition="'$(SrcNEWCompilerBeforeTargets)' == '' and '$(SrcNEWCompilerAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
<SrcNEWCompilerBeforeTargets>Midl</SrcNEWCompilerBeforeTargets>
<SrcNEWCompilerAfterTargets>CustomBuild</SrcNEWCompilerAfterTargets>
</PropertyGroup>
<PropertyGroup>
<SrcNEWCompilerDependsOn
Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(SrcNEWCompilerDependsOn)</SrcNEWCompilerDependsOn>
<SrcSimpleCompilerDependsOn
Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(SrcSimpleCompilerDependsOn)</SrcSimpleCompilerDependsOn>
</PropertyGroup>
<ItemDefinitionGroup>
<SrcNEWCompiler>
<CommandLineTemplate>ini32r %(FullPath) $(TargetDir)%(Filename).ini</CommandLineTemplate>
<SrcSimpleCompiler>
<CommandLineTemplate>call ini32r %(FullPath) $(TargetDir)%(Filename).ini</CommandLineTemplate>
<Outputs>$(TargetDir)%(Filename).ini</Outputs>
<ExecutionDescription>Compiling %(Filename) to $(TargetDir)</ExecutionDescription>
</SrcNEWCompiler>
</SrcSimpleCompiler>
</ItemDefinitionGroup>
<PropertyGroup
Condition="'$(SqlCompilerBeforeTargets)' == '' and '$(SqlCompilerAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
@ -307,4 +301,9 @@
<ExecutionDescription>Copia di %(Filename) in $(TargetDir)sql\$(ProjectName)\</ExecutionDescription>
</SqlCompiler>
</ItemDefinitionGroup>
</Project>

View File

@ -185,7 +185,7 @@
<CustomBuildRule
Name="SrcCompiler"
DisplayName="Profile Compiler"
CommandLine="ini32 $(InputPath) $(TargetDir)$(InputName).ini"
CommandLine="call ini32 $(InputPath) $(TargetDir)$(InputName).ini"
Outputs="$(TargetDir)$(InputName).ini"
FileExtensions="*.src"
ExecutionDescription="Compiling $(InputName) to $(TargetDir)"
@ -193,11 +193,10 @@
<Properties>
</Properties>
</CustomBuildRule>
<!-- DA MODIFICARE ALESSANDRO, QUA C'É IL COMANDO CHE TI INTERESSA!!!!!!! -->
<CustomBuildRule
Name="SrcNEWCompiler"
DisplayName="Profile Compiler INI32R"
CommandLine="ini32r $(InputPath) $(TargetDir)$(InputName).ini"
Name="SrcSimpleCompiler"
DisplayName="Profile Compiler Iin32r"
CommandLine="call ini32r $(InputPath) $(TargetDir)$(InputName).ini"
Outputs="$(TargetDir)$(InputName).ini"
FileExtensions="*.src"
ExecutionDescription="Compiling $(InputName) to $(TargetDir)"

View File

@ -71,10 +71,11 @@
Include="SrcCompiler">
<Targets>_SrcCompiler</Targets>
</AvailableItemName>
<!-- DA MODIFICARE ALESSANDRO -->
<AvailableItemName
Include="SrcNEWCompiler">
<Targets>_SrcNEWCompiler</Targets>
Include="SrcSimpleCompiler">
<Targets>_SrcSimpleCompiler</Targets>
</AvailableItemName>
<AvailableItemName
Include="SqlCompiler">
@ -183,9 +184,8 @@
AssemblyName="Microsoft.Build.Tasks.v4.0">
<Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
</UsingTask>
<!-- DA MODIFICARE ALESSANDRO -->
<UsingTask
TaskName="SrcNEWCompiler"
TaskName="SrcSimpleCompiler"
TaskFactory="XamlTaskFactory"
AssemblyName="Microsoft.Build.Tasks.v4.0">
<Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
@ -196,6 +196,7 @@
AssemblyName="Microsoft.Build.Tasks.v4.0">
<Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
</UsingTask>
<Target
Name="_MskCompiler"
BeforeTargets="$(MskCompilerBeforeTargets)"
@ -1284,70 +1285,69 @@
<MakeDir
Directories="@(SrcCompilerDirsToMake-&gt;'%(RootDir)%(Directory)')" />
</Target>
<!-- DA MODIFICARE ALESSANDRO -->
<Target
Name="_SrcNEWCompiler"
BeforeTargets="$(SrcNEWCompilerBeforeTargets)"
AfterTargets="$(SrcNEWCompilerAfterTargets)"
Condition="'@(SrcNEWCompiler)' != ''"
DependsOnTargets="$(SrcNEWCompilerDependsOn);ComputeSrcNEWCompilerOutput"
Outputs="%(SrcNEWCompiler.Outputs)"
Inputs="%(SrcNEWCompiler.Identity);%(SrcDebugCompiler.AdditionalDependencies);$(MSBuildProjectFile)">
Name="_SrcSimpleCompiler"
BeforeTargets="$(SrcSimpleCompilerBeforeTargets)"
AfterTargets="$(SrcSimpleCompilerAfterTargets)"
Condition="'@(SrcSimpleCompiler)' != ''"
DependsOnTargets="$(SrcSimpleCompilerDependsOn);ComputeSrcSimpleCompilerOutput"
Outputs="%(SrcSimpleCompiler.Outputs)"
Inputs="%(SrcSimpleCompiler.Identity);%(SrcDebugCompiler.AdditionalDependencies);$(MSBuildProjectFile)">
<ItemGroup
Condition="'@(SelectedFiles)' != ''">
<SrcNEWCompiler
Remove="@(SrcNEWCompiler)"
<SrcSimpleCompiler
Remove="@(SrcSimpleCompiler)"
Condition="'%(Identity)' != '@(SelectedFiles)'" />
</ItemGroup>
<ItemGroup>
<SrcNEWCompiler_tlog
Include="%(SrcNEWCompiler.Outputs)"
Condition="'%(SrcNEWCompiler.Outputs)' != '' and '%(SrcNEWCompiler.ExcludedFromBuild)' != 'true'">
<Source>@(SrcNEWCompiler, '|')</Source>
</SrcNEWCompiler_tlog>
<SrcSimpleCompiler_tlog
Include="%(SrcSimpleCompiler.Outputs)"
Condition="'%(SrcSimpleCompiler.Outputs)' != '' and '%(SrcSimpleCompiler.ExcludedFromBuild)' != 'true'">
<Source>@(SrcSimpleCompiler, '|')</Source>
</SrcSimpleCompiler_tlog>
</ItemGroup>
<Message
Importance="High"
Text="%(SrcNEWCompiler.ExecutionDescription)" />
Text="%(SrcSimpleCompiler.ExecutionDescription)" />
<WriteLinesToFile
Condition="'@(SrcNEWCompiler_tlog)' != '' and '%(SrcNEWCompiler_tlog.ExcludedFromBuild)' != 'true'"
Condition="'@(SrcSimpleCompiler_tlog)' != '' and '%(SrcSimpleCompiler_tlog.ExcludedFromBuild)' != 'true'"
File="$(IntDir)$(ProjectName).write.1.tlog"
Lines="^%(SrcNEWCompiler_tlog.Source);@(SrcNEWCompiler_tlog-&gt;'%(Fullpath)')" />
<SrcNEWCompiler
Condition="'@(SrcNEWCompiler)' != '' and '%(SrcNEWCompiler.ExcludedFromBuild)' != 'true'"
CommandLineTemplate="%(SrcNEWCompiler.CommandLineTemplate)"
AdditionalOptions="%(SrcNEWCompiler.AdditionalOptions)"
Inputs="%(SrcNEWCompiler.Identity)" />
Lines="^%(SrcSimpleCompiler_tlog.Source);@(SrcSimpleCompiler_tlog-&gt;'%(Fullpath)')" />
<SrcSimpleCompiler
Condition="'@(SrcSimpleCompiler)' != '' and '%(SrcSimpleCompiler.ExcludedFromBuild)' != 'true'"
CommandLineTemplate="%(SrcSimpleCompiler.CommandLineTemplate)"
AdditionalOptions="%(SrcSimpleCompiler.AdditionalOptions)"
Inputs="%(SrcSimpleCompiler.Identity)" />
</Target>
<PropertyGroup>
<ComputeLinkInputsTargets>
$(ComputeLinkInputsTargets);
ComputeSrcNEWCompilerOutput;
ComputeSrcSimpleCompilerOutput;
</ComputeLinkInputsTargets>
<ComputeLibInputsTargets>
$(ComputeLibInputsTargets);
ComputeSrcNEWCompilerOutput;
ComputeSrcSimpleCompilerOutput;
</ComputeLibInputsTargets>
</PropertyGroup>
<Target
Name="ComputeSrcNEWCompilerOutput"
Condition="'@(SrcNEWCompiler)' != ''">
Name="ComputeSrcSimpleCompilerOutput"
Condition="'@(SrcSimpleCompiler)' != ''">
<ItemGroup>
<SrcNEWCompilerDirsToMake
Condition="'@(SrcNEWCompiler)' != '' and '%(SrcNEWCompiler.ExcludedFromBuild)' != 'true'"
Include="%(SrcNEWCompiler.Outputs)" />
<SrcSimpleCompilerDirsToMake
Condition="'@(SrcSimpleCompiler)' != '' and '%(SrcSimpleCompiler.ExcludedFromBuild)' != 'true'"
Include="%(SrcSimpleCompiler.Outputs)" />
<Link
Include="%(SrcNEWCompilerDirsToMake.Identity)"
Include="%(SrcSimpleCompilerDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
<Lib
Include="%(SrcNEWCompilerDirsToMake.Identity)"
Include="%(SrcSimpleCompilerDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
<ImpLib
Include="%(SrcNEWCompilerDirsToMake.Identity)"
Include="%(SrcSimpleCompilerDirsToMake.Identity)"
Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
</ItemGroup>
<MakeDir
Directories="@(SrcNEWCompilerDirsToMake-&gt;'%(RootDir)%(Directory)')" />
Directories="@(SrcSimpleCompilerDirsToMake-&gt;'%(RootDir)%(Directory)')" />
</Target>
<Target
Name="_SqlCompiler"
@ -1413,4 +1413,5 @@
<MakeDir
Directories="@(SqlCompilerDirsToMake-&gt;'%(RootDir)%(Directory)')" />
</Target>
</Project>

View File

@ -2108,16 +2108,15 @@
Name="SrcCompiler"
DisplayName="Profile Debug Compiler"
ItemType="SrcCompiler" />
<!-- DA MODIFICARE ALESSANDRO -->
<Rule
Name="SrcNEWCompiler"
Name="SrcSimpleCompiler"
PageTemplate="tool"
DisplayName="Profile Compiler INI32R"
DisplayName="Profile Compiler Ini32r"
Order="200">
<Rule.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType="SrcNEWCompiler" />
ItemType="SrcSimpleCompiler" />
</Rule.DataSource>
<Rule.Categories>
<Category
@ -2142,7 +2141,7 @@
<StringListProperty.DataSource>
<DataSource
Persistence="ProjectFile"
ItemType="SrcNEWCompiler"
ItemType="SrcSimpleCompiler"
SourceType="Item" />
</StringListProperty.DataSource>
</StringListProperty>
@ -2152,7 +2151,7 @@
Visible="False"
IncludeInCommandLine="False" />
<DynamicEnumProperty
Name="SrcNEWCompilerBeforeTargets"
Name="SrcSimpleCompilerBeforeTargets"
Category="General"
EnumProvider="Targets"
IncludeInCommandLine="False">
@ -2165,7 +2164,7 @@
<DynamicEnumProperty.ProviderSettings>
<NameValuePair
Name="Exclude"
Value="^SrcNEWCompilerBeforeTargets|^Compute" />
Value="^SrcSimpleCompilerBeforeTargets|^Compute" />
</DynamicEnumProperty.ProviderSettings>
<DynamicEnumProperty.DataSource>
<DataSource
@ -2174,7 +2173,7 @@
</DynamicEnumProperty.DataSource>
</DynamicEnumProperty>
<DynamicEnumProperty
Name="SrcNEWCompilerAfterTargets"
Name="SrcSimpleCompilerAfterTargets"
Category="General"
EnumProvider="Targets"
IncludeInCommandLine="False">
@ -2187,7 +2186,7 @@
<DynamicEnumProperty.ProviderSettings>
<NameValuePair
Name="Exclude"
Value="^SrcNEWCompilerAfterTargets|^Compute" />
Value="^SrcSimpleCompilerAfterTargets|^Compute" />
</DynamicEnumProperty.ProviderSettings>
<DynamicEnumProperty.DataSource>
<DataSource
@ -2224,15 +2223,15 @@
</StringProperty>
</Rule>
<ItemType
Name="SrcNEWCompiler"
DisplayName="Profile Compiler INI32R" />
Name="SrcSimpleCompiler"
DisplayName="Profile Compiler Ini32r" />
<FileExtension
Name="*.src"
ContentType="SrcNEWCompiler" />
ContentType="SrcSimpleCompiler" />
<ContentType
Name="SrcNEWCompiler"
DisplayName="Profile Compiler INI32R"
ItemType="SrcNEWCompiler" />
Name="SrcSimpleCompiler"
DisplayName="Profile Compiler Ini32r"
ItemType="SrcSimpleCompiler" />
<Rule
Name="SqlCompiler"
PageTemplate="tool"
@ -2357,4 +2356,5 @@
Name="SqlCompiler"
DisplayName="SqlCompiler Compiler"
ItemType="SqlCompiler" />
</ProjectSchemaDefinitions>

View File

@ -4,7 +4,11 @@ echo Generating %1 ini file
set oldinc=%include
set include=..\src\include;..\src\xvaga;..\src\ve;%~p1
srcini %1 %2
call srcini32 %1 %2
cd %~p2
echo Generating %2 msk file
ve0 -3 %2 -f /uADMIN
set include=%oldinc
set oldinc=

View File

@ -4,4 +4,7 @@ echo Generating %1 ini file
set oldinc=%include
set include=..\src\include;..\src\xvaga;..\src\ve;%~p1
srcini %1 %2
call srcini32 %1 %2
set include=%oldinc
set oldinc=

View File

@ -8,6 +8,9 @@
<Filter Include="Dat">
<UniqueIdentifier>{37b2ae10-489f-4bdb-b43e-2ade94ddca5d}</UniqueIdentifier>
</Filter>
<Filter Include="Src">
<UniqueIdentifier>{4d816024-06a3-4d7c-963b-7dd4af001f48}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<SrcCompiler Include="..\src\ve\bollac.src">
@ -35,18 +38,10 @@
<Filter>Sources</Filter>
</SrcCompiler>
</ItemGroup>
<ItemGroup>
<IniCompiler Include="..\src\ve\ve0300c.ini">
<Filter>Dat</Filter>
</IniCompiler>
</ItemGroup>
<ItemGroup>
<SrcCompiler Include="..\src\ve\fatturac.src">
<Filter>Sources</Filter>
</SrcCompiler>
<SrcCompiler Include="..\src\ve\ve0300a.src">
<Filter>Dat</Filter>
</SrcCompiler>
<SrcCompiler Include="..\src\ve\bolacq.src">
<Filter>Sources</Filter>
</SrcCompiler>
@ -56,4 +51,14 @@
<Filter>Sources</Filter>
</DatCompiler>
</ItemGroup>
<ItemGroup>
<IniCompiler Include="..\src\ve\ve0300c.ini">
<Filter>Dat</Filter>
</IniCompiler>
</ItemGroup>
<ItemGroup>
<SrcSimpleCompiler Include="..\src\ve\ve0300a.src">
<Filter>Src</Filter>
</SrcSimpleCompiler>
</ItemGroup>
</Project>

View File

@ -41,7 +41,7 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\exed\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\exe\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\$(ProjectName)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\exe\</OutDir>

View File

@ -202,6 +202,7 @@
<ClInclude Include="..\src\ve\velib04e.h" />
<ClInclude Include="..\src\ve\velib05.h" />
<ClInclude Include="..\src\ve\velib07.h" />
<ClInclude Include="..\src\ve\veuml.h" />
</ItemGroup>
<ItemGroup>
<CustomBuildStep Include="..\Lib\AgaLib.lib">

View File

@ -90,6 +90,9 @@
<ClInclude Include="..\src\ve\velib07.h">
<Filter>Headers</Filter>
</ClInclude>
<ClInclude Include="..\src\ve\veuml.h">
<Filter>Headers</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="campo.rc" />

View File

@ -141,6 +141,8 @@
<ItemGroup>
<MskCompiler Include="..\src\ve\ve0100a.uml">
<FileType>Document</FileType>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</ExcludedFromBuild>
</MskCompiler>
<MskCompiler Include="..\src\ve\ve0100b.uml">
<FileType>Document</FileType>