View Issue Details

IDProjectCategoryView StatusLast Update
0036439LazarusPackagespublic2019-12-24 08:40
ReporterCyraxAssigned ToMattias Gaertner 
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product Version2.1 (SVN)Product Buildr62382 
Target VersionFixed in Version 
Summary0036439: [patch] Update some component packages to include "$(IDEOptions)" macro in their compiler options settings.
DescriptionSee summary and attached patch.
Tagspatch
Fixed in Revision62388 - 62392.
LazTarget-
Widgetset
Attached Files
  • components.diff (5,878 bytes)
    diff --git a/components/h2pas/h2paswizard.lpk b/components/h2pas/h2paswizard.lpk
    index 94be08c1a7..a3dc6eb5ef 100644
    --- a/components/h2pas/h2paswizard.lpk
    +++ b/components/h2pas/h2paswizard.lpk
    @@ -1,7 +1,8 @@
     <?xml version="1.0" encoding="UTF-8"?>
     <CONFIG>
    -  <Package Version="4">
    +  <Package Version="5">
         <Name Value="H2PasWizard"/>
    +    <Type Value="RunAndDesignTime"/>
         <AddToProjectUsesSection Value="True"/>
         <CompilerOptions>
           <Version Value="11"/>
    @@ -13,6 +14,9 @@
               <UseAnsiStrings Value="False"/>
             </SyntaxOptions>
           </Parsing>
    +      <Other>
    +        <CustomOptions Value="$(IDEBuildOptions)"/>
    +      </Other>
         </CompilerOptions>
         <Files Count="6">
           <Item1>
    @@ -45,7 +49,6 @@
           <EnableI18N Value="True"/>
           <OutDir Value="languages"/>
         </i18n>
    -    <Type Value="RunAndDesignTime"/>
         <RequiredPkgs Count="5">
           <Item1>
             <PackageName Value="LCL"/>
    @@ -65,11 +68,10 @@
           </Item5>
         </RequiredPkgs>
         <UsageOptions>
    -      <UnitPath Value="$(PkgOutDir)/"/>
    +      <UnitPath Value="$(PkgOutDir)"/>
         </UsageOptions>
         <PublishOptions>
           <Version Value="2"/>
    -      <IgnoreBinaries Value="False"/>
         </PublishOptions>
       </Package>
     </CONFIG>
    diff --git a/components/lazcontrols/design/lazcontroldsgn.lpk b/components/lazcontrols/design/lazcontroldsgn.lpk
    index 9f7b10e93c..aabcd94858 100644
    --- a/components/lazcontrols/design/lazcontroldsgn.lpk
    +++ b/components/lazcontrols/design/lazcontroldsgn.lpk
    @@ -1,6 +1,6 @@
     <?xml version="1.0" encoding="UTF-8"?>
     <CONFIG>
    -  <Package Version="4">
    +  <Package Version="5">
         <PathDelim Value="\"/>
         <Name Value="LazControlDsgn"/>
         <Type Value="DesignTime"/>
    @@ -10,6 +10,9 @@
           <SearchPaths>
             <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\$(LCLWidgetType)"/>
           </SearchPaths>
    +      <Other>
    +        <CustomOptions Value="$(IDEBuildOptions)"/>
    +      </Other>
         </CompilerOptions>
         <Files Count="1">
           <Item1>
    diff --git a/components/lclextensions/lclextensions_package.lpk b/components/lclextensions/lclextensions_package.lpk
    index a626c9abdf..aa7287c377 100644
    --- a/components/lclextensions/lclextensions_package.lpk
    +++ b/components/lclextensions/lclextensions_package.lpk
    @@ -1,6 +1,6 @@
     <?xml version="1.0" encoding="UTF-8"?>
     <CONFIG>
    -  <Package Version="4">
    +  <Package Version="5">
         <Name Value="lclextensions_package"/>
         <Author Value="Luiz Americo Pereira Câmara"/>
         <CompilerOptions>
    @@ -14,6 +14,9 @@
               <UseAnsiStrings Value="False"/>
             </SyntaxOptions>
           </Parsing>
    +      <Other>
    +        <CustomOptions Value="$(IDEBuildOptions)"/>
    +      </Other>
         </CompilerOptions>
         <Description Value="LCL Extensions provides additional functions to be used together with LCL
     "/>
    @@ -44,7 +47,6 @@
         </UsageOptions>
         <PublishOptions>
           <Version Value="2"/>
    -      <IgnoreBinaries Value="False"/>
         </PublishOptions>
         <CustomOptions Items="ExternHelp" Version="2">
           <_ExternHelp Items="Count"/>
    diff --git a/components/projecttemplates/projtemplates.lpk b/components/projecttemplates/projtemplates.lpk
    index 14d531e96f..675cb672c1 100644
    --- a/components/projecttemplates/projtemplates.lpk
    +++ b/components/projecttemplates/projtemplates.lpk
    @@ -1,7 +1,8 @@
    -<?xml version="1.0"?>
    +<?xml version="1.0" encoding="UTF-8"?>
     <CONFIG>
    -  <Package Version="4">
    +  <Package Version="5">
         <Name Value="ProjTemplates"/>
    +    <Type Value="DesignTime"/>
         <Author Value="Michael Van Canneyt"/>
         <CompilerOptions>
           <Version Value="11"/>
    @@ -14,7 +15,7 @@
             </SyntaxOptions>
           </Parsing>
           <Other>
    -        <CompilerPath Value="$(CompPath)"/>
    +        <CustomOptions Value="$(IDEBuildOptions)"/>
           </Other>
         </CompilerOptions>
         <Description Value="IDE extension to create projects based on project templates
    @@ -58,7 +59,6 @@
           <EnableI18N Value="True"/>
           <OutDir Value="languages"/>
         </i18n>
    -    <Type Value="DesignTime"/>
         <RequiredPkgs Count="2">
           <Item1>
             <PackageName Value="FCL"/>
    @@ -73,7 +73,6 @@
         </UsageOptions>
         <PublishOptions>
           <Version Value="2"/>
    -      <IgnoreBinaries Value="False"/>
         </PublishOptions>
       </Package>
     </CONFIG>
    diff --git a/components/virtualtreeview/laz.virtualtreeview_package.lpk b/components/virtualtreeview/laz.virtualtreeview_package.lpk
    index 1f49ae4fdf..9f93efffba 100644
    --- a/components/virtualtreeview/laz.virtualtreeview_package.lpk
    +++ b/components/virtualtreeview/laz.virtualtreeview_package.lpk
    @@ -1,6 +1,6 @@
     <?xml version="1.0" encoding="UTF-8"?>
     <CONFIG>
    -  <Package Version="4">
    +  <Package Version="5">
         <Name Value="laz.virtualtreeview_package"/>
         <Type Value="RunAndDesignTime"/>
         <Author Value="Mike Lischke (LCL Port: Luiz Américo)"/>
    @@ -11,11 +11,11 @@
             <OtherUnitFiles Value="units/$(LCLWidgetType)"/>
             <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)"/>
           </SearchPaths>
    -      <Conditionals Value="if VirtualTreeView_Debug = 'True' then
    +      <Conditionals Value="if VirtualTreeView_Debug = &apos;True&apos; then
     begin
    -  CustomOptions := '-dDEBUG_VTV';
    -  UnitPath += ';$PkgOutDir(multiloglaz)';
    -  UsageUnitPath += ';$PkgOutDir(multiloglaz)';
    +  CustomOptions := &apos;-dDEBUG_VTV&apos;;
    +  UnitPath += &apos;;$PkgOutDir(multiloglaz)&apos;;
    +  UsageUnitPath += &apos;;$PkgOutDir(multiloglaz)&apos;;
     end;"/>
           <BuildMacros>
             <Count Value="1"/>
    @@ -35,6 +35,9 @@ end;"/>
               <UseAnsiStrings Value="False"/>
             </SyntaxOptions>
           </Parsing>
    +      <Other>
    +        <CustomOptions Value="$(IDEBuildOptions)"/>
    +      </Other>
         </CompilerOptions>
         <Description Value="Virtual Treeview is an advanced TreeView component
     "/>
    -- 
    2.24.1
    
    
    components.diff (5,878 bytes)

Relationships

related to 0036468 closedJuha Manninen [patch] Update some component packages to include "$(IDEBuildOptions)" macro in their compiler options settings. Part 2. 

Activities

Cyrax

2019-12-14 12:51

reporter  

components.diff (5,878 bytes)
diff --git a/components/h2pas/h2paswizard.lpk b/components/h2pas/h2paswizard.lpk
index 94be08c1a7..a3dc6eb5ef 100644
--- a/components/h2pas/h2paswizard.lpk
+++ b/components/h2pas/h2paswizard.lpk
@@ -1,7 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
-  <Package Version="4">
+  <Package Version="5">
     <Name Value="H2PasWizard"/>
+    <Type Value="RunAndDesignTime"/>
     <AddToProjectUsesSection Value="True"/>
     <CompilerOptions>
       <Version Value="11"/>
@@ -13,6 +14,9 @@
           <UseAnsiStrings Value="False"/>
         </SyntaxOptions>
       </Parsing>
+      <Other>
+        <CustomOptions Value="$(IDEBuildOptions)"/>
+      </Other>
     </CompilerOptions>
     <Files Count="6">
       <Item1>
@@ -45,7 +49,6 @@
       <EnableI18N Value="True"/>
       <OutDir Value="languages"/>
     </i18n>
-    <Type Value="RunAndDesignTime"/>
     <RequiredPkgs Count="5">
       <Item1>
         <PackageName Value="LCL"/>
@@ -65,11 +68,10 @@
       </Item5>
     </RequiredPkgs>
     <UsageOptions>
-      <UnitPath Value="$(PkgOutDir)/"/>
+      <UnitPath Value="$(PkgOutDir)"/>
     </UsageOptions>
     <PublishOptions>
       <Version Value="2"/>
-      <IgnoreBinaries Value="False"/>
     </PublishOptions>
   </Package>
 </CONFIG>
diff --git a/components/lazcontrols/design/lazcontroldsgn.lpk b/components/lazcontrols/design/lazcontroldsgn.lpk
index 9f7b10e93c..aabcd94858 100644
--- a/components/lazcontrols/design/lazcontroldsgn.lpk
+++ b/components/lazcontrols/design/lazcontroldsgn.lpk
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
-  <Package Version="4">
+  <Package Version="5">
     <PathDelim Value="\"/>
     <Name Value="LazControlDsgn"/>
     <Type Value="DesignTime"/>
@@ -10,6 +10,9 @@
       <SearchPaths>
         <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)\$(LCLWidgetType)"/>
       </SearchPaths>
+      <Other>
+        <CustomOptions Value="$(IDEBuildOptions)"/>
+      </Other>
     </CompilerOptions>
     <Files Count="1">
       <Item1>
diff --git a/components/lclextensions/lclextensions_package.lpk b/components/lclextensions/lclextensions_package.lpk
index a626c9abdf..aa7287c377 100644
--- a/components/lclextensions/lclextensions_package.lpk
+++ b/components/lclextensions/lclextensions_package.lpk
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
-  <Package Version="4">
+  <Package Version="5">
     <Name Value="lclextensions_package"/>
     <Author Value="Luiz Americo Pereira Câmara"/>
     <CompilerOptions>
@@ -14,6 +14,9 @@
           <UseAnsiStrings Value="False"/>
         </SyntaxOptions>
       </Parsing>
+      <Other>
+        <CustomOptions Value="$(IDEBuildOptions)"/>
+      </Other>
     </CompilerOptions>
     <Description Value="LCL Extensions provides additional functions to be used together with LCL
 "/>
@@ -44,7 +47,6 @@
     </UsageOptions>
     <PublishOptions>
       <Version Value="2"/>
-      <IgnoreBinaries Value="False"/>
     </PublishOptions>
     <CustomOptions Items="ExternHelp" Version="2">
       <_ExternHelp Items="Count"/>
diff --git a/components/projecttemplates/projtemplates.lpk b/components/projecttemplates/projtemplates.lpk
index 14d531e96f..675cb672c1 100644
--- a/components/projecttemplates/projtemplates.lpk
+++ b/components/projecttemplates/projtemplates.lpk
@@ -1,7 +1,8 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
-  <Package Version="4">
+  <Package Version="5">
     <Name Value="ProjTemplates"/>
+    <Type Value="DesignTime"/>
     <Author Value="Michael Van Canneyt"/>
     <CompilerOptions>
       <Version Value="11"/>
@@ -14,7 +15,7 @@
         </SyntaxOptions>
       </Parsing>
       <Other>
-        <CompilerPath Value="$(CompPath)"/>
+        <CustomOptions Value="$(IDEBuildOptions)"/>
       </Other>
     </CompilerOptions>
     <Description Value="IDE extension to create projects based on project templates
@@ -58,7 +59,6 @@
       <EnableI18N Value="True"/>
       <OutDir Value="languages"/>
     </i18n>
-    <Type Value="DesignTime"/>
     <RequiredPkgs Count="2">
       <Item1>
         <PackageName Value="FCL"/>
@@ -73,7 +73,6 @@
     </UsageOptions>
     <PublishOptions>
       <Version Value="2"/>
-      <IgnoreBinaries Value="False"/>
     </PublishOptions>
   </Package>
 </CONFIG>
diff --git a/components/virtualtreeview/laz.virtualtreeview_package.lpk b/components/virtualtreeview/laz.virtualtreeview_package.lpk
index 1f49ae4fdf..9f93efffba 100644
--- a/components/virtualtreeview/laz.virtualtreeview_package.lpk
+++ b/components/virtualtreeview/laz.virtualtreeview_package.lpk
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
-  <Package Version="4">
+  <Package Version="5">
     <Name Value="laz.virtualtreeview_package"/>
     <Type Value="RunAndDesignTime"/>
     <Author Value="Mike Lischke (LCL Port: Luiz Américo)"/>
@@ -11,11 +11,11 @@
         <OtherUnitFiles Value="units/$(LCLWidgetType)"/>
         <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)"/>
       </SearchPaths>
-      <Conditionals Value="if VirtualTreeView_Debug = 'True' then
+      <Conditionals Value="if VirtualTreeView_Debug = &apos;True&apos; then
 begin
-  CustomOptions := '-dDEBUG_VTV';
-  UnitPath += ';$PkgOutDir(multiloglaz)';
-  UsageUnitPath += ';$PkgOutDir(multiloglaz)';
+  CustomOptions := &apos;-dDEBUG_VTV&apos;;
+  UnitPath += &apos;;$PkgOutDir(multiloglaz)&apos;;
+  UsageUnitPath += &apos;;$PkgOutDir(multiloglaz)&apos;;
 end;"/>
       <BuildMacros>
         <Count Value="1"/>
@@ -35,6 +35,9 @@ end;"/>
           <UseAnsiStrings Value="False"/>
         </SyntaxOptions>
       </Parsing>
+      <Other>
+        <CustomOptions Value="$(IDEBuildOptions)"/>
+      </Other>
     </CompilerOptions>
     <Description Value="Virtual Treeview is an advanced TreeView component
 "/>
-- 
2.24.1

components.diff (5,878 bytes)

Cyrax

2019-12-14 12:52

reporter   ~0119834

It is "$(IDEBuildOptions)", not "$(IDEOptions)".

Mattias Gaertner

2019-12-14 18:37

manager   ~0119849

Thank You!

Issue History

Date Modified Username Field Change
2019-12-14 12:51 Cyrax New Issue
2019-12-14 12:51 Cyrax File Added: components.diff
2019-12-14 12:52 Cyrax Note Added: 0119834
2019-12-14 12:53 Cyrax Tag Attached: patch
2019-12-14 18:37 Mattias Gaertner Assigned To => Mattias Gaertner
2019-12-14 18:37 Mattias Gaertner Status new => resolved
2019-12-14 18:37 Mattias Gaertner Resolution open => fixed
2019-12-14 18:37 Mattias Gaertner Fixed in Revision => 62388 - 62392.
2019-12-14 18:37 Mattias Gaertner LazTarget => -
2019-12-14 18:37 Mattias Gaertner Note Added: 0119849
2019-12-22 14:18 Juha Manninen Relationship added related to 0036468
2019-12-24 08:40 Cyrax Status resolved => closed