class MsvcEnv::Controller

Included Modules

Defined in:

msvc_env/controller.cr

Constant Summary

PATH_LIKE_VARIABLES = ["PATH", "INCLUDE", "LIB", "LIBPATH"]
YEARS = ["2022", "2019", "2017", "2015"]

Instance Method Summary

Instance methods inherited from module WithEnv

with_env(env : Hash(String, String), &) with_env

Instance Method Detail

def filter_path_value(path : String) : String #

[View source]
def msvc_env(&) #

[View source]
def parse_environment_vars(env_string : String) : Hash(String, String) #

Define a helper method to split environment variable strings into a dictionary.


[View source]
def run(opt : Options) #

[View source]
def run_vc_batch_file(cmd) #

[View source]
def setup_msvcdev_cmd(opt : Options | Nil) #

Define a method to set up the MSVC Developer Command Prompt.


[View source]
def update_env(old_env, new_env) #

[View source]