[Github-comments] [geany/geany] Questions/discussions about build.c code (#2274)

LarsGit223 notifications at xxxxx
Wed Aug 28 16:09:12 UTC 2019


> How do I do this? The manual doesn't explain or give an example.

I think you e.g. have to edit the section in the filetypes files. E.g. find below the ```build-menu``` section from ```filetypes.c```:
```
[build-menu]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
FT_00_LB=_Compile
FT_00_CM=gcc -Wall -c "%f"
FT_00_WD=
FT_01_LB=_Build
FT_01_CM=gcc -Wall -o "%e" "%f"
FT_01_WD=
FT_02_LB=_Lint
FT_02_CM=cppcheck --language=c --enable=warning,style --template=gcc "%f"
FT_02_WD=
EX_00_LB=_Execute
EX_00_CM="./%e"
EX_00_WD=
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2274#issuecomment-525814140
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190828/259ba59a/attachment.html>


More information about the Github-comments mailing list