static string make_cb_path_mac( WhichLib lib ) { var dir_name = lib.AsString_basename_in_cb(); var lib_name = lib.AsString_libname_in_cb(LibSuffix.DYLIB); return(Path.Combine("$cb_bin_path$", dir_name, "mac", lib_name)); }
static string make_cb_path_linux( WhichLib lib, string cpu ) { var dir_name = lib.AsString_basename_in_cb(); var lib_name = lib.AsString_libname_in_cb(LibSuffix.SO); return(Path.Combine("$cb_bin_path$", dir_name, "linux", cpu, lib_name)); }
static string make_cb_path_win( WhichLib lib, string toolset, string flavor, string arch ) { var dir_name = lib.AsString_basename_in_cb(); var lib_name = lib.AsString_libname_in_cb(LibSuffix.DLL); return(Path.Combine("$cb_bin_path$", dir_name, "win", toolset, flavor, arch, lib_name)); }