#include <build_version.h>
#include <env_vars.h>
#include <settings/environment.h>
#include <map>
#include <wx/regex.h>
#include <wx/translation.h>
#include <wx/utils.h>
Go to the source code of this file.
◆ DEP
◆ STRING_MAP
◆ initialiseEnvVarHelp()
static void initialiseEnvVarHelp |
( |
STRING_MAP & |
aMap | ) |
|
|
static |
◆ versionedEnvVarRegex()
const wxRegEx versionedEnvVarRegex |
( |
wxS("KICAD[0-9]+_[A-Z0-9_]+(_DIR)?") |
| ) |
|
◆ predefinedEnvVars
Initial value:= {
wxS( "KIPRJMOD" ),
wxS( "KICAD_USER_TEMPLATE_DIR" ),
wxS( "KICAD_PTEMPLATES" ),
}
KICOMMON_API wxString GetVersionedEnvVarName(const wxString &aBaseName)
Construct a versioned environment variable based on this KiCad major version.
List of pre-defined environment variables.
- Todo:
- Instead of defining these values here, extract them from elsewhere in the program (where they are originally defined).
Definition at line 38 of file env_vars.cpp.
Referenced by ENV_VAR::GetPredefinedEnvVars(), and ENV_VAR::IsEnvVarImmutable().