-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build nix-util-c with meson + unit tests #10955
Conversation
a7edd1d
to
60cdfc8
Compare
src/libutil-c/meson.build
Outdated
# TODO rename, because it will conflict with downstream projects | ||
configdata.set_quoted('PACKAGE_VERSION', meson.project_version()) | ||
|
||
configdata.set_quoted('SYSTEM', host_machine.system()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW the more we expose these things, the harder it will be to avoid rebuilds. Not a new things, but existing thing we might reconsider with the C libs.
include_directories : include_dirs, | ||
link_with : this_exe, | ||
compile_args : ['-std=c++2a'], | ||
dependencies : [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dependencies : [], |
I defined this elsewhere, but I am now wondering whether it is even necessary or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or maybe it's "header deps" and so should be deps_public
+ subproject deps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can clean this up later :)
f19c8e3
to
05ddea7
Compare
This should be slightly easier to read. We could apply this to all concatMapAttrs calls.
05ddea7
to
ae3304b
Compare
Let's go! |
Motivation
Some more steps in the process of porting the build system to meson.
Context
Priorities and Process
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.