Davide Pesavento | 29db0fd | 2017-08-29 13:32:00 -0400 | [diff] [blame] | 1 | #!/usr/bin/env bash |
Davide Pesavento | f5006be | 2022-08-19 17:36:36 -0400 | [diff] [blame] | 2 | set -exo pipefail |
Davide Pesavento | 7eaed5c | 2019-01-09 20:03:43 -0500 | [diff] [blame] | 3 | |
Davide Pesavento | 5b9c85a | 2020-04-09 21:10:54 -0400 | [diff] [blame] | 4 | # Build in debug mode |
5 | ./waf --color=yes configure --debug | ||||
Davide Pesavento | f5006be | 2022-08-19 17:36:36 -0400 | [diff] [blame] | 6 | ./waf --color=yes build |
Davide Pesavento | 29db0fd | 2017-08-29 13:32:00 -0400 | [diff] [blame] | 7 | |
Davide Pesavento | 5b9c85a | 2020-04-09 21:10:54 -0400 | [diff] [blame] | 8 | # Cleanup |
9 | ./waf --color=yes distclean | ||||
Davide Pesavento | 29db0fd | 2017-08-29 13:32:00 -0400 | [diff] [blame] | 10 | |
Davide Pesavento | 5b9c85a | 2020-04-09 21:10:54 -0400 | [diff] [blame] | 11 | # Build in release mode |
Davide Pesavento | 29db0fd | 2017-08-29 13:32:00 -0400 | [diff] [blame] | 12 | ./waf --color=yes configure |
Davide Pesavento | f5006be | 2022-08-19 17:36:36 -0400 | [diff] [blame] | 13 | ./waf --color=yes build |
Davide Pesavento | 29db0fd | 2017-08-29 13:32:00 -0400 | [diff] [blame] | 14 | |
Davide Pesavento | 5b9c85a | 2020-04-09 21:10:54 -0400 | [diff] [blame] | 15 | # Install |
Davide Pesavento | f5006be | 2022-08-19 17:36:36 -0400 | [diff] [blame] | 16 | sudo ./waf --color=yes install |