Skip to content

Commit c7e181d

Browse files
committed
Calling the batch script to set up the env var
Former-commit-id: 4bab79d92b71f2f653538b55e756b7dca260d780 [formerly 903f8413d37847234ae68855000bb5dfa345c890] [formerly f4a49c3a1ac8912112fafb2ed07045c87ba9a951 [formerly e3fd6d11bc48ea6d916003d37fbbfcff7395ac23]] [formerly e4e49c679637511a23a1d64b9aebe0d11bd790d8 [formerly e0eda86c1f758c744d57beb64b0dcf9c4b69e260] [formerly 1e120ad7f3a69bc5b49abd87d77d99d4663d6816 [formerly 813c81468a999ee824b3417d668753d8b0d111ad]]] Former-commit-id: 0f33c7b4820b3c2d872ba60e1bfebfbee43676a6 [formerly aa1880936c4bb489026557468d2f8e6b8332d166] [formerly da59178cd1ba9e2cac3d70ed79371f0f40dabd7f [formerly b53817560910e604c5dfff9f3d9455339d18bb68]] Former-commit-id: f3d22f0ef29f2d8e0a1f956314be789dead15c5b [formerly bf17f9680501f605d689cd263d4aae2880664281] Former-commit-id: c3d9aa56477be79c0491bc7349de78f5a5284198 Former-commit-id: d441ba5
1 parent fcd38e6 commit c7e181d

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

packages/dclP4DEnvironmentProject.dproj

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,17 @@
4545
<BRCC_OutputDir>..\resources</BRCC_OutputDir>
4646
<DCC_CBuilderOutput>All</DCC_CBuilderOutput>
4747
<DCC_DcuOutput>..\lib\$(Platform)\$(Config)</DCC_DcuOutput>
48-
<DCC_Description>P4D Environments IDE Extension</DCC_Description>
48+
<DCC_Description>P4D - Python Environments Project Menu Extension</DCC_Description>
4949
<DCC_ExeOutput>.\$(Platform)\$(Config)</DCC_ExeOutput>
5050
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
5151
<DesignOnlyPackage>true</DesignOnlyPackage>
5252
<DllSuffix>$(Auto)</DllSuffix>
5353
<GenDll>true</GenDll>
5454
<GenPackage>true</GenPackage>
55+
<PostBuildEvent>
56+
<![CDATA[..\reg_env.bat $(PRODUCTVERSION) "$(PROJECTDIR)\..\"
57+
$(PostBuildEvent)]]>
58+
</PostBuildEvent>
5559
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
5660
<VerInfo_Locale>1033</VerInfo_Locale>
5761
</PropertyGroup>
@@ -94,7 +98,6 @@
9498
</DelphiCompile>
9599
<DCCReference Include="rtl.dcp"/>
96100
<DCCReference Include="designide.dcp"/>
97-
<DCCReference Include="P4DEnvironmentProject.dcp"/>
98101
<DCCReference Include="..\src\Project\IDE\PyEnvironment.Project.IDE.Helper.pas"/>
99102
<DCCReference Include="..\src\Project\IDE\PyEnvironment.Project.IDE.ManagerMenu.pas"/>
100103
<DCCReference Include="..\src\Project\IDE\PyEnvironment.Project.IDE.Menu.pas"/>
@@ -140,4 +143,20 @@
140143
<Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
141144
<Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
142145
<Import Project="$(MSBuildProjectName).deployproj" Condition="Exists('$(MSBuildProjectName).deployproj')"/>
146+
<PropertyGroup Condition="'$(Config)'=='Debug' And '$(Platform)'=='Win32'">
147+
<PreBuildEvent/>
148+
<PreBuildEventIgnoreExitCode>False</PreBuildEventIgnoreExitCode>
149+
<PreLinkEvent/>
150+
<PreLinkEventIgnoreExitCode>False</PreLinkEventIgnoreExitCode>
151+
<PostBuildEvent>..\reg_env.bat $(PRODUCTVERSION) &quot;$(PROJECTDIR)\..\&quot;</PostBuildEvent>
152+
<PostBuildEventIgnoreExitCode>False</PostBuildEventIgnoreExitCode>
153+
</PropertyGroup>
154+
<PropertyGroup Condition="'$(Config)'=='Release' And '$(Platform)'=='Win32'">
155+
<PreBuildEvent/>
156+
<PreBuildEventIgnoreExitCode>False</PreBuildEventIgnoreExitCode>
157+
<PreLinkEvent/>
158+
<PreLinkEventIgnoreExitCode>False</PreLinkEventIgnoreExitCode>
159+
<PostBuildEvent>..\reg_env.bat $(PRODUCTVERSION) &quot;$(PROJECTDIR)\..\&quot;</PostBuildEvent>
160+
<PostBuildEventIgnoreExitCode>False</PostBuildEventIgnoreExitCode>
161+
</PropertyGroup>
143162
</Project>

0 commit comments

Comments
 (0)