fn comptime_flag_value(p &Preferences, name string) bool
fn comptime_optional_flag_value #
fn comptime_optional_flag_value(p &Preferences, name string) bool
fn comptime_pkgconfig_value #
fn comptime_pkgconfig_value(name string) bool
fn file_has_incompatible_os_suffix #
fn file_has_incompatible_os_suffix(file string, current_os string) bool
fn get_v_files_from_dir #
fn get_v_files_from_dir(dir string, user_defines []string, target_os string) []string
fn new_preferences() &Preferences
fn normalized_os(target_os string) string
struct Preferences {
pub mut:
verbose bool
output_file string
target_os string = os.user_os()
user_defines []string
backend string = 'c'
vroot string = detect_vroot()
}
fn (Preferences) get_vlib_module_path #
fn (p &Preferences) get_vlib_module_path(mod string) string
fn (Preferences) get_module_path #
fn (p &Preferences) get_module_path(mod string, importing_file_path string) string
fn (Preferences) normalized_target_os #
fn (p &Preferences) normalized_target_os() string
fn (Preferences) is_cross_target #
fn (p &Preferences) is_cross_target() bool