mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
msvc fixes
This commit is contained in:
parent
be7f89f664
commit
b48e23757f
|
@ -664,11 +664,12 @@ fn (v mut V) cc() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$if windows {
|
||||||
if v.os == .msvc {
|
if v.os == .msvc {
|
||||||
cc_msvc(v)
|
cc_msvc(v)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
}
|
||||||
linux_host := os.user_os() == 'linux'
|
linux_host := os.user_os() == 'linux'
|
||||||
v.log('cc() isprod=$v.pref.is_prod outname=$v.out_name')
|
v.log('cc() isprod=$v.pref.is_prod outname=$v.out_name')
|
||||||
mut a := [v.pref.cflags, '-w'] // arguments for the C compiler
|
mut a := [v.pref.cflags, '-w'] // arguments for the C compiler
|
||||||
|
|
8
compiler/msvc_nix.v
Normal file
8
compiler/msvc_nix.v
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
module main
|
||||||
|
|
||||||
|
fn cc_msvc(v *V) {
|
||||||
|
}
|
||||||
|
|
||||||
|
fn build_thirdparty_obj_file_with_msvc(flag string) {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user