[Geany] Specified compiler in custom filetype doesn't work

Lex Trotman elextr at xxxxx
Fri May 6 22:53:17 UTC 2011


On 7 May 2011 07:40, Eugenio Rustico <jfrusciante at tiscali.it> wrote:
>  Hi,
> I created a custom filetype (filetypes.CUDA.conf), added CUDA-specific
> keywords, and at the end:
>
> ---
> [build_settings]
> compiler=nvcc -c "%f"
> linker=nvcc "%f"
> run_cmd="./%e"
>
> [build-menu]
> FT_00_LB=nvcc
> FT_00_CM=nvcc -o "%e" "%f"
> FT_00_WD=
> ---
>
> If I load a .cu file, the filetype is recognized and the correct
> highlighting is used. However, while the build-menu section is parsed
> and used correctly, the [build_settings] section seems not: when I
> compile a .cu file a make is executed instead (while there is no
> Makefile at all).
>
> Is it my fault, or bug?
> Thanks!
>

Sorry you are going to have to be more specific, exactly what does the
build menu look like? Which menu item are you choosing that runs a
make instead of a compile?

Cheers
Lex

>  Eugenio R.
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>



More information about the Users mailing list