Changeset 25e1490 in mainline for uspace/lib/clui/meson.build


Ignore:
Timestamp:
2024-01-10T11:32:40Z (13 months ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
5907aa4
Parents:
de96d3b (diff), 6deab5a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Vojtech Horky <vojtech.horky@…> (2024-01-10 11:32:40)
git-committer:
GitHub <noreply@…> (2024-01-10 11:32:40)
Message:

Add export-dev for exporting all libraries (see #230)

The new target export-dev builds all libraries and copies the
created .a archives and library headers to export-dev/
subdirectory.

Unlike the existing approach from tools/export.sh we do not
list the libraries manually but copy all of them automatically.

The approach relies as much on Meson to do the heavy-lifting
as possible and the invoked shell script merely copies the files.
The script honors exported DESTDIR variable if set and
ensures thin archives are converted before export.

Also helenos-pkg-config was rewritten to Python for better
maintainability.

Usage:

ninja export-dev
env DESTDIR=harbour-export ninja export-dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/clui/meson.build

    rde96d3b r25e1490  
    2929deps = [ 'clipboard', 'console' ]
    3030src = files(
    31         'nchoice.c',
    32         'tinput.c',
     31        'src/nchoice.c',
     32        'src/tinput.c',
    3333)
Note: See TracChangeset for help on using the changeset viewer.