class MsvcEnv::Controller
- MsvcEnv::Controller
- Reference
- Object
Included Modules
Defined in:
msvc_env/controller.crConstant Summary
-
PATH_LIKE_VARIABLES =
["PATH", "INCLUDE", "LIB", "LIBPATH"]
-
YEARS =
["2022", "2019", "2017", "2015"]
Instance Method Summary
- #filter_path_value(path : String) : String
- #msvc_env(&)
-
#parse_environment_vars(env_string : String) : Hash(String, String)
Define a helper method to split environment variable strings into a dictionary.
- #run(opt : Options)
- #run_vc_batch_file(cmd)
-
#setup_msvcdev_cmd(opt : Options | Nil)
Define a method to set up the MSVC Developer Command Prompt.
- #update_env(old_env, new_env)
Instance methods inherited from module WithEnv
with_env(env : Hash(String, String), &)
with_env
Instance Method Detail
def parse_environment_vars(env_string : String) : Hash(String, String)
#
Define a helper method to split environment variable strings into a dictionary.
Define a method to set up the MSVC Developer Command Prompt.