Waf integration for Emacs Waf Documentation: https://github.com/waf-project/waf
(use-package waf-mode
:ensure t
:pin melpa
:init
(setq waf-mode-keymap-prefix (kbd "C-c b")) ;; Or any other prefix - you prefer. By defaul it will be "C-c ^".
(add-hook 'python-mode-hook #'waf-conditionally-enable)
(add-hook 'c++-mode-hook #'waf-conditionally-enable)
(add-hook 'c-mode-common-hook #'waf-conditionally-enable))
- "C-c ^" - prefix
- " b" - build
- " c" - clean
- " C" - configure
- " r" - re-build
- " R" - re-configure
- " B" - re-build all