https://github.com/frida/releng
Frida release engineering tools
https://github.com/frida/releng
Last synced: 11 months ago
JSON representation
Frida release engineering tools
- Host: GitHub
- URL: https://github.com/frida/releng
- Owner: frida
- Created: 2024-01-25T20:54:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-05T11:44:36.000Z (12 months ago)
- Last Synced: 2025-06-19T05:58:40.356Z (12 months ago)
- Language: Python
- Size: 1.44 MB
- Stars: 13
- Watchers: 6
- Forks: 16
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# releng
Build system infrastructure to ensure fast and consistent builds across projects.
Intended to be used as a git submodule at `/releng` in projects.
## Setting up a new project
1. Set up the repo:
```sh
$ git init my-project
$ cd my-project
$ git submodule add https://github.com/frida/releng.git
$ cp releng/meson-scripts/* .
$ echo -e '/build/\n/deps/' > .gitignore
```
2. Create `meson.build` containing:
```meson
project('my-project', 'vala', version: '1.0.0')
executable('hello', 'hello.vala', dependencies: dependency('glib-2.0'))
```
3. Create `hello.vala` containing:
```vala
int main (string[] args) {
print ("Hello World from Vala!\n");
return 0;
}
```
4. Build and run:
```sh
$ make
$ ./build/hello
Hello World from Vala!
$
```
## Cross-compiling
### iOS
```sh
$ ./configure --host=ios-arm64
$ make
```
### Android
```sh
$ ./configure --host=android-arm64
$ make
```
### Raspberry Pi
```sh
$ sudo apt-get install g++-arm-linux-gnueabihf
$ ./configure --host=arm-linux-gnueabihf
$ make
```