mirror of
https://github.com/vlang/v.git
synced 2025-08-04 02:07:28 -04:00
This commit is contained in:
parent
7f497b660c
commit
43d9cd6e90
@ -226,7 +226,6 @@ pub fn new_test_session(_vargs string, will_compile bool) TestSession {
|
|||||||
skip_files << 'examples/coroutines/coroutines_bench.v'
|
skip_files << 'examples/coroutines/coroutines_bench.v'
|
||||||
$if msvc {
|
$if msvc {
|
||||||
skip_files << 'vlib/v/tests/consts/const_comptime_eval_before_vinit_test.v' // _constructor used
|
skip_files << 'vlib/v/tests/consts/const_comptime_eval_before_vinit_test.v' // _constructor used
|
||||||
skip_files << 'vlib/v/tests/project_with_cpp_code/compiling_cpp_files_with_a_cplusplus_compiler_test.c.v'
|
|
||||||
}
|
}
|
||||||
$if solaris {
|
$if solaris {
|
||||||
skip_files << 'examples/pico/pico.v'
|
skip_files << 'examples/pico/pico.v'
|
||||||
|
@ -401,7 +401,11 @@ fn (mut v Builder) build_thirdparty_obj_file_with_msvc(mod string, path string,
|
|||||||
}
|
}
|
||||||
println('${obj_path} not found, building it (with msvc)...')
|
println('${obj_path} not found, building it (with msvc)...')
|
||||||
flush_stdout()
|
flush_stdout()
|
||||||
cfile := '${path_without_o_postfix}.c'
|
cfile := if os.exists('${path_without_o_postfix}.c') {
|
||||||
|
'${path_without_o_postfix}.c'
|
||||||
|
} else {
|
||||||
|
'${path_without_o_postfix}.cpp'
|
||||||
|
}
|
||||||
flags := msvc_string_flags(moduleflags)
|
flags := msvc_string_flags(moduleflags)
|
||||||
inc_dirs := flags.inc_paths.join(' ')
|
inc_dirs := flags.inc_paths.join(' ')
|
||||||
defines := flags.defines.join(' ')
|
defines := flags.defines.join(' ')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user