15 Commits
Author SHA1 Message Date
Ole André Vadla Ravnås 3f505e3419 meson: Refactor scripts
- Add more type annotations.
- Improve naming.
2024-04-28 10:39:52 +02:00
Ole André Vadla Ravnås 98355a748b meson: Fix .lib redaction for Windows/x86 2024-04-28 08:44:05 +02:00
Ole André Vadla Ravnås 2bd052b366 meson: Fix .lib fetching for Windows/x86 2024-04-26 23:25:37 +02:00
Ole André Vadla Ravnås e619b53d76 detect-version: Fix releng logic when subproject 2024-04-24 11:14:27 +02:00
Ole André Vadla Ravnås a0be6d937f meson: Fix version property of the installed package.json 2024-04-23 13:48:19 +02:00
Ole André Vadla Ravnås 025b422cfe meson: Rework the script execution logic
Using executable scripts with shebang is risky on UNIX, where python3
may not be present. Instead, use find_program('python3'), which Meson
provides a fallback for if it cannot find it in the environment.
2024-04-23 10:50:51 +02:00
Ole André Vadla Ravnås 8efaee9133 meson: Compute version from VCS tags when building from git 2024-04-22 23:39:33 +02:00
Ole André Vadla Ravnås 64a4daece7 meson: Simplify script execution
- Let Meson's find_program() do the heavy lifting.
- Make scripts executable.
- Add shebang to scripts.
2024-04-22 23:36:08 +02:00
Ole André Vadla Ravnås 833020bc7a build: Drop legacy build system in favor of Meson 2024-04-22 14:20:47 +02:00
Ole André Vadla Ravnås 6bd438fe71 meson: Disable V8 deprecation warnings
To avoid warnings from nan.
2024-03-14 15:24:13 +01:00
Ole André Vadla Ravnås 5a0eef7a74 meson: Lift to parity with legacy build system
- Import preprocessor definitions from config.gypi, to avoid ABI
  compatibility issues.
- Support compiling for specific runtimes and target versions.
- Add prebuild packaging logic.
- Wire up Windows support.
2024-03-04 23:57:26 +01:00
Ole André Vadla Ravnås 40d20b299f meson: Download Node.js headers if missing 2024-02-27 15:39:33 +01:00
Ole André Vadla Ravnås e91888dd1e build: Add Meson build system 2024-02-27 11:44:42 +01:00
Ole André Vadla Ravnås 31762b61db Revert install script back to the simple version
It was actually working on Windows, problem was elsewhere. Oops.
2017-01-23 18:08:43 +01:00
Ole André Vadla Ravnås 94bb870952 Actually fix the install script on Windows 2017-01-23 18:50:47 +01:00