Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-08

lazbuild question

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 13 lines
> Michael Van Canneyt hat am 19. August 2014 um 14:25 > geschrieben: > > > > Hi, > > Does LazBuild update the packagefiles.xml file if it compiles a package it > didn't encounter before ? No.

OK. A pity, it means I must update the packagefiles.xml myself :(

Second question:

I have 2 packages (A, B) and a project (C), checked out as:

/projects/A/X
/projects/A/Y
/projects/B
/projects/C

Package B depends on Package A, min version X
Project C depends on Package A, min version Y
Project C depends on Package B.

I would expect Lazbuild to check that the versions X = Y or something similar when constructing the command-line for project C.

As far as I can see, it does not, it just adds a path to both versions of package A when compiling C: -Fu/projects/A/X -Fu/projects/A/Y -Fu/projects/B

Is this intentional ? I would expect
- Either an error message that different versions are used.
- Either only 1 version (the biggest) of package A. or am I missing something ?

Michael.

Reply by email

Michael Van Canneyt
to Mattias Gaertner: No. Mattias
Mattias Gaertner wrote 13 lines
> Michael Van Canneyt hat am 19. August 2014 um 14:25 > geschrieben: > > > > Hi, > > Does LazBuild update the packagefiles.xml file if it compiles a package it > didn't encounter before ? No.

Returning to this:

I must beg to differ here.

I just tried the following:
- Compile project A that depends on Package B. Lazbuild complains it didn't find package B.
- Explicitly Compiled package B with Lazbuild.
- Compile project A that depends on Package B. Works like a charm. I then checked packagefiles.xml, and it definitely put the location of the package file B in packagefiles.xml with today's date as 'lastused'.

Michael.

Reply by email