Delyan Angelov
065ce39577
compiler: -g and -debug should always add -g at least in the C compiler by default
...
* compiler: -g and -debug should always add -g at least in the C compiler by default.
* Set first the C backend debug_options, so that the optimization_options can override them later.
* Implement cleaner named is_debug, is_vlines, is_keep_c and is_cache options (i.e. -g/-cg, -keep_c, -cache v flags).
* Check and reset file/line numbers in the generated main program, only if v.pref.is_vlines is true.
2019-10-12 13:54:01 +03:00
Alexander Medvednikov
726aaecc46
compiler: make V compilable wit the tcc backend
2019-10-11 06:49:53 +03:00
Alexander Medvednikov
80a6d78595
fix msvc build
2019-10-09 07:22:33 +03:00
Alexander Medvednikov
3f1d7e1260
fix msvc build
2019-10-09 07:15:42 +03:00
Alexander Medvednikov
d8622dd3e5
fix msvc build
2019-10-09 07:10:33 +03:00
Alexander Medvednikov
a9a73d9315
caching modules: almost there
2019-10-09 06:35:58 +03:00
Alexey Lustin
aaf286ec5e
fix find vsdevcmd.bat in VS2019Preview
2019-10-06 16:27:50 +03:00
vitalyster
d2c5b6d964
msvc: generate PDB for prod builds
2019-10-04 16:09:45 +03:00
Alexander Medvednikov
ee8ff39454
rename ModPath to v_modules_path; do not allow long variable names without _
2019-09-29 05:34:17 +03:00
joe-conigliaro
d4bae356ba
compiler/vlib: add error for no new vars in loop ("_,_") & remove "." from errors
2019-09-25 17:59:50 +03:00
Alexander Medvednikov
55d09d23b4
compiler: rename cerror() to verror(); some small optimizations
2019-09-24 19:38:04 +03:00
Delyan Angelov
a585c8c22c
compiler: compile thirdparty object files using module specific flags
2019-09-23 00:51:59 +03:00
luoheng
f1d5f8e2bf
parser: allow !
only with bools
2019-09-21 18:21:45 +03:00
vitalyster
f1bb25bfaf
windows: Unicode input in REPL
2019-09-20 17:03:13 +03:00
vitalyster
52c5f0172e
compiler: always define _UNICODE and UNICODE on Windows
2019-09-17 14:56:32 +03:00
Vitor Oliveira
edd8528049
compiler: rename build to build_module
2019-09-10 17:36:14 +03:00
joe-conigliaro
cb6fadf917
remove freetype submodule accidentally added in #1890
2019-09-08 12:02:03 +03:00
Joe Conigliaro
794cd561cd
fix libpath issue
2019-09-07 12:04:52 +03:00
joe-conigliaro
8ac0a2b2dd
compiler: rework flags & support win path spaces + more
2019-09-06 15:12:04 +03:00
Joe Conigliaro
96e959342a
compiler/msvc: support paths with hyphen
2019-09-05 04:06:13 +03:00
Delyan Angelov
c9a39dfdb5
compiler: build tetris executable on windows with both msvc and mingw gcc
2019-09-03 16:09:43 +03:00
Emily Hudson
04a200d3d8
compiler: fix array initialisation generation for msvc
2019-08-31 00:59:21 +03:00
Emily Hudson
7fc899dfd6
bootstrap: single make.bat, default msvc option for forcing gcc
2019-08-30 00:13:53 +03:00
Delyan Angelov
83954acfd4
compiler: use cerror instead of panic.
2019-08-29 11:50:18 +03:00
Vitaly Takmazov
5124eae47d
msvc: check exit code
2019-08-28 13:26:27 +03:00
joe-conigliaro
02fc7e14cd
make trim use cutset like trim_right/trim_left
2019-08-27 22:53:32 +03:00
Emily Hudson
151686501d
compiler: fix MSVC flag parsing
2019-08-20 16:32:15 +03:00
Emily Hudson
d373b331fa
ompiler: MSVC related fixes and v test v
for windows testing
...
* MSVC related fixes and v test v for windows testing
* If second stage crashes on windows goto error
* use os.exec instead of system so that the error can be printed
* use -debug for osx vid
* Fix some whitespace to trigger a rebuild
2019-08-18 17:25:33 +03:00
Alexander Medvednikov
8a1324c141
os: make exec() return ?Result with exit code and output
2019-08-17 21:11:40 +03:00
Emily Hudson
decdd8be9f
Prevent people on platforms that arent 'windows' from being able to build with msvc
2019-08-12 15:11:13 +03:00
Alexander Medvednikov
b48e23757f
msvc fixes
2019-07-24 00:20:07 +02:00
Emily Hudson
e25ea7f9dd
add MSVC C backend support; fix live code reloading on Windows; other Windows fixes
2019-07-23 23:23:13 +02:00