sh1marin on Nostr: meson 还有一个很讨厌的点就是 subdir 本身是和 #include ...
meson 还有一个很讨厌的点就是 subdir 本身是和 #include 类似的,于是没有办法把子目录下面的 meson.build 视作一个单独的作用域,它可以修改全局环境。可能是 nix 写多了,我还是相对更加喜欢 evaluation。
Published at
2024-11-08 14:20:31Event JSON
{
"id": "739eb962c2014bbd1f43823e645b2f30e5bdbe8b784ed9775d16b6c0775c2206",
"pubkey": "71ea5c9d9ef4f01c1ecb1a116f7d15ffb26a241620bf28c856593523a5e8edcb",
"created_at": 1731075631,
"kind": 1,
"tags": [
[
"p",
"71ea5c9d9ef4f01c1ecb1a116f7d15ffb26a241620bf28c856593523a5e8edcb",
"wss://relay.mostr.pub"
],
[
"e",
"42d6880890a3a302217245d8c9a73a6c110b2c7c0d49e42f6b278963ef044f1c",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"include"
],
[
"proxy",
"https://dabr.ca/objects/25431de7-631f-488b-8ff6-bdbac5e5fc8d",
"activitypub"
]
],
"content": "meson 还有一个很讨厌的点就是 subdir 本身是和 #include 类似的,于是没有办法把子目录下面的 meson.build 视作一个单独的作用域,它可以修改全局环境。可能是 nix 写多了,我还是相对更加喜欢 evaluation。",
"sig": "df0a3cc140bb2aebb411bc35210107dc72ad9dbd6744cb5401b5591ffe89dce1df0b7eada33a8536f0711cf06e91af9b286c76279f24ea3ab3d4347597d7bf13"
}