mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
make gg work on Windows; prebuild glad and cJSON; new ft module
This commit is contained in:
parent
06e7354d18
commit
f834644db4
17 changed files with 6593 additions and 340 deletions
|
@ -247,7 +247,7 @@ void init_consts();')
|
|||
// Embed cjson either in embedvlib or in json.o
|
||||
if imports_json && v.pref.build_mode == .embed_vlib ||
|
||||
(v.pref.build_mode == .build && v.out_name.contains('json.o')) {
|
||||
cgen.genln('#include "cJSON.c" ')
|
||||
//cgen.genln('#include "cJSON.c" ')
|
||||
}
|
||||
// We need the cjson header for all the json decoding user will do in default mode
|
||||
if v.pref.build_mode == .default_mode {
|
||||
|
@ -522,7 +522,7 @@ fn (v mut V) cc() {
|
|||
}
|
||||
linux_host := os.user_os() == 'linux'
|
||||
v.log('cc() isprod=$v.pref.is_prod outname=$v.out_name')
|
||||
mut a := ['-w', '-march=native']// arguments for the C compiler
|
||||
mut a := ['-w'] // arguments for the C compiler
|
||||
flags := v.table.flags.join(' ')
|
||||
//mut shared := ''
|
||||
if v.pref.is_so {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue