get_gcc_compile_args function

(Shortest import: from brian2genn.device import get_gcc_compile_args)

brian2genn.device.get_gcc_compile_args()[source]

Get the compile args for GCC based on the users preferences. Uses Brian’s preferences for the C++ compilation (either codegen.cpp.extra_compile_args or codegen.cpp.extra_compile_args_gcc).

Returns:

(compile_args_gcc, compile_args_msvc, compile_args_nvcc) : (str, str, str)

Tuple with the respective compiler arguments (as strings).