Classes Summary: | |
CompilerInfo Info about one compiler. [Source] |
Functions Summary: | |
get_temp_file() Returns the temporary filename. [Source] | |
cleanup_temp_file() Removes the temporary file and resets the filename [Source] | |
main() The main function - parses the arguments and controls the program [Source] | |
get_fallback(preferred, is_first_time) Tries to return info from a fallback compiler, and prints a warning message to the user, unless their preferred compiler was 'none' [Source] | |
get_compiler_info(compiler) Returns the compiler info for the given compiler. [Source] | |
load_compiler_infos() Loads the compiler infos from a file [Source] | |
get_compiler_timestamp(compiler) Returns the timestamp for the given compiler, or 0 if not found [Source] | |
refresh_compiler_infos(infos) Refreshes the list of infos, by rediscovering all non-custom compilers in the map. [Source] | |
write_compiler_infos(infos) [Source] | |
find_compiler_info(compiler) [Source] |
Function Details: |
Returns the temporary filename. The temp file is created, but is left empty
Returns the compiler info for the given compiler. The info is returned as a CompilerInfo object, or None if the compiler isn't found.
Refreshes the list of infos, by rediscovering all non-custom compilers in the map. The map is modified in-place.