Skip to content
Discussion options

You must be logged in to vote
function (target)
    local msvc = target:toolchain("msvc")
    local runenvs = msvc:runenvs()
    local cl = target:tool("cc")
    local fxc = cl:gsub("cl%.exe", "fxc.exe")
    os.execv(fxc, {}, {envs = runenvs})
end

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@JX-Master
Comment options

@waruqi
Comment options

@JX-Master
Comment options

@waruqi
Comment options

@JX-Master
Comment options

Answer selected by JX-Master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants