Jeroen van Rijn
ed56a7ca10
Parse odin version date out of HEAD commit if available
2025-05-13 18:09:30 +02:00
Jeroen van Rijn
329b15961a
Don't run demo if building Odin fails.
...
`cl`'s return value was stomped by `mt`, so we ran the demo if `cl` failed, but `mt` succeeded.
This obscures `cl`'s output, so we're now checking both for errors.
2025-04-08 11:44:35 +02:00
G'lek Tarssza
b9aa51849b
Use Microsoft "best practices" for using vswhere
...
See https://github.com/microsoft/vswhere/wiki/Find-VC for more details.
2025-03-27 14:25:20 -06:00
gingerBill
a4b071e864
Add /nologo
2024-12-05 12:30:17 +00:00
Jeroen van Rijn
ef5546aea5
Add misc\get-date.c
...
Prints the current date as YYYYMMDD without relying on PowerShell.
Hopefully fixes #4540
2024-12-03 12:42:13 +01:00
avanspector
bb29304029
remove wmic and mandatory git requirement
2024-10-06 20:46:41 +02:00
Thomas la Cour
954dd86f7a
nightly define fix
2024-09-09 19:55:00 +02:00
Thomas la Cour
6298b23e07
tag nightly builds
2024-09-09 19:34:19 +02:00
Thomas la Cour
053425e8d7
trim version digits, release=YYYY.MM.0.0 else YYYY.MM.DD.0
2024-09-09 19:29:43 +02:00
Thomas la Cour
171d917b7e
odin manifest file
2024-08-21 16:26:10 +02:00
Karl Zylinski
26633bbce6
Added a hint at end of build.bat about release mode when building in debug mode.
2024-08-08 14:15:32 +02:00
Jeroen van Rijn
b02291b20a
Compile demo with -vet -strict-style.
2024-07-10 19:26:35 +02:00
Jeroen van Rijn
f7243eac74
Force cl.exe to parse Odin source as utf-8.
2024-07-01 20:48:00 +02:00
Jeroen van Rijn
4aa8834d39
Add os.args to demo.
2023-11-27 21:01:27 +01:00
Jeroen van Rijn
e19460cbd7
Add -microarch:?
2023-11-10 19:37:08 +01:00
gingerBill
fa6be4ec58
Revert build.bat
2023-09-21 17:27:17 +01:00
gingerBill
735bb147e2
Add asan lib for Windows
2023-09-21 11:03:25 +01:00
gingerBill
9bf111bd3d
Add comments for tilde building
2023-08-03 13:26:42 +01:00
gingerBill
8060da2132
Toggle tilde backend in the build script
2023-08-03 13:16:23 +01:00
gingerBill
b495a302b0
Merge branch 'master' into tilde
2023-08-03 13:14:09 +01:00
Hasan Yasin Ozturk
963eeee361
Fix dropped "dev-" prefix from version tag
...
In commit c3a31666 , "dev-" prefix was dropped unintentionally. This commit fixes
that.
2023-07-31 17:46:45 +03:00
Hasan Yasin Ozturk
3d16880d95
Set version date to commit date instead of build date
...
Fixes #2688
This commit updates `build_odin.sh` and `build.bat` so that date of the commit
is used for the version tag, instead of the build time.
2023-07-31 17:29:56 +03:00
gingerBill
360cb9eb9a
Add tb.lib to build.bat
2023-07-24 10:28:56 +01:00
gingerBill
fc4a5e61c2
Add ODIN_IGNORE_MSVC_CHECK check to build.bat
2023-06-13 13:21:15 +01:00
Jeroen van Rijn
b42bb5be26
Only try to parse git hash if .git is present
...
Closes 2451
2023-04-11 11:55:29 +02:00
Colin Davidson
e019673a18
fix build
2022-12-28 21:52:41 -08:00
gingerBill
c1f5be24e2
Remove dead code in the compiler
2022-12-18 22:49:10 +00:00
Oskar Nordquist
a06f75b6fb
Automatically initialize x64 environment if CL.exe is missing + make sure found CL.exe is for x64 (credit to mmozeiko)
2022-11-26 11:50:06 -05:00
gingerBill
8fb9db3deb
Revert build.bat
2022-09-08 17:18:54 +01:00
gingerBill
af76d26771
Simplify win32 resource file linking
2022-09-07 11:22:43 +01:00
Fabian Sperber
0992239d86
Embed natvis in windows debug build for easier viewing of strings and Arrays
2022-07-19 00:46:27 +02:00
gingerBill
76054dddb7
Revert build.bat
2021-11-09 22:11:18 +00:00
gingerBill
321d93bff1
Merge branch 'master' into target-js_wasm32
2021-11-09 18:06:19 +00:00
gingerBill
6855538729
Merge branch 'master' into llvm-12.0.1-windows
2021-09-18 12:55:13 +01:00
gingerBill
43ebee4e91
Revert build.bat
2021-09-14 21:44:41 +01:00
gingerBill
cb2437959c
Add stb_image_resize to vendor:stb/image
2021-09-14 21:44:26 +01:00
gingerBill
7189625cf5
Add stb libraries (image+image_write, rect_pack, truetype)
2021-09-14 17:54:50 +01:00
gingerBill
c51c002ffa
Update Windows to LLVM 12.0.1
2021-09-11 17:06:29 +01:00
gingerBill
abaf8c127d
Correct build.bat
2021-08-22 17:12:19 +01:00
gingerBill
0c5fa2cdd5
Fix build.bat
2021-08-22 17:09:40 +01:00
gingerBill
36cb1f868b
Embed the SDL2 libraries into vendor:sdl2
2021-08-22 17:05:06 +01:00
gingerBill
e722af7f61
Remove unneeded disabled warnings from build.bat
2021-08-19 15:43:51 +01:00
gingerBill
b397254696
Rename libtommath.c to libtommath.cpp
2021-07-11 16:33:58 +01:00
gingerBill
a1a1668dcf
Update build.bat and Makefile
2021-07-11 16:23:25 +01:00
gingerBill
460e14e586
Change the compiler's big integer library to use libTomMath
...
This now replaces Bill's crappy big int implementation
2021-07-11 16:08:16 +01:00
gingerBill
3061dd2497
Update build.bat to use wmic os get LocalDateTime /value instead of %DATE% which is not consistent across computers
2021-04-28 11:56:47 +01:00
gingerBill
5a88fef483
Make corrections
2021-04-26 18:07:34 +01:00
gingerBill
bbf79fc1d4
Add ODIN_VERSION_RAW define to build.bat
2021-04-25 22:10:52 +01:00
gingerBill
2af8e956a6
Change versioning system from v0.13.1 to dev-2021-04
2021-04-25 22:09:22 +01:00
gingerBill
07f9e551c1
Revert build.bat
2021-04-25 21:38:29 +01:00