Commit Graph

95 Commits

Author SHA1 Message Date
Triang3l 12a907bfa5 [GPU] Shaders to common, xb buildshaders instead of buildhlsl 2021-06-05 18:53:53 +03:00
amine4567 165c6f0e4d
[Build] Support building with the standalone VS Build Tools 2021-05-15 18:50:59 -05:00
gibbed 536f6772da Fix reference to old var name in xenia-build.
Fix reference to old variable name in xenia-build.
2021-05-15 18:13:32 -05:00
Joel Linn 4f020e32c8 [xb] Remove whitespace 2021-05-03 22:50:44 -05:00
Joel Linn 0a662afd73 [xb] Only write version.h when changed 2021-05-03 22:50:44 -05:00
Satori 30b9719ee3 [Build] Add stub command for source file generation 2020-11-25 14:15:58 -06:00
Triang3l 7cb3cc3564 [Build] Fix a typo in get_premake_target_os comment 2020-11-21 16:32:07 +03:00
Triang3l 14157e063a [Build] Support cross-compilation via xb premake --target_os 2020-11-21 16:23:01 +03:00
Triang3l 25606774e1 [Build] xenia-build Android host OS detection 2020-11-21 16:22:48 +03:00
Joel Linn 171c97c929 Start CLion by invoking `xb devenv` when available 2020-11-14 13:30:06 -06:00
Joel Linn 9dea6b3f62 Add premake cmake generator.
`./build/CMakeLists.txt` is generated by `./xb.bat premake --devenv=cmake` and enables use of other IDEs like `CLion` for example.
2020-11-14 13:30:06 -06:00
Joel Linn adebaba799 Allow building without git. 2020-10-28 20:31:36 -05:00
Joel Linn c8ab1e9f36 Replace deprecated gmake with gmake2 action.
https://github.com/premake/premake-core/issues/1099
2020-04-08 16:17:06 -05:00
Joel Linn df1ee6268f Linux development environment.
- Fix CodeLite project generation.
- Implement `xb devenv` for CodeLite.
2020-04-08 16:17:06 -05:00
gibbed 2393381cff Make 'xb test' also run xenia-base-tests. 2020-04-07 16:09:41 -05:00
Rick Gibbed a0f486b0fa
Bump minimum Python version (#1581)
Bump minimum Python version to 3.6.
2020-03-30 17:37:32 -05:00
gibbed de50780107 Force -style=file for xb lint. 2020-02-22 13:29:07 -06:00
gibbed 5aeeed72b9 Lint all files in a sorted manner. 2020-02-22 12:31:21 -06:00
gibbed 39765093d6 Fix xb lint --all on Windows. 2020-02-22 12:31:21 -06:00
gibbed ec15da8b14 Use newer clang+llvm+clang-format. 2020-02-22 12:31:21 -06:00
Prism Tutaj f6e6641568 [XB] Fix python not expecting UTF-8 for the output of vswhere 2020-02-21 00:37:24 -06:00
Rick Gibbed 754e64fcf1 Fix warning that newer Python is whining about.
Fix a warning that a newer version of Python is whining about:
SyntaxWarning: "is" with a literal. Did you mean "=="?
2020-02-08 16:25:13 -06:00
gibbed c19dc9c7d6 Prefer vsdevcmd over vcvarsall. 2019-08-17 08:32:20 -05:00
gibbed 1ebc13df94 Oops. Call set after vsdevcmd. 2019-08-17 08:32:20 -05:00
Triang3l 352f12f92e [D3D12] Switch from gflags to cvars 2019-08-03 16:53:23 +03:00
Jonathan Goyvaerts eaf92cc7dc Default the number of parallel build threads to 4 so clang doesn't run out of memory (both local and on travis-ci) 2019-08-03 02:34:29 +02:00
gibbed e024cbc3f0 Merge remote-tracking branch 'origin/master' into d3d12 2019-07-18 12:33:52 -05:00
Margen67 efdc78ee22
Fix typo in xenia-build 2019-07-17 17:52:01 -07:00
Triang3l db44eaf2e4 Merge branch 'master' into d3d12 2019-07-11 09:26:57 +03:00
Margen67 d9ace8a923 [xenia-build] Update old link and fix VS Preview not being found
-prerelease allows preview/prerelease versions of VS to work in xb.
https://github.com/microsoft/vswhere/issues/185#issuecomment-499962802
2019-06-30 17:06:53 -05:00
Silent 17924bc945
[xenia-build] Make vswhere.exe output in UTF-8 so Python doesn't fail to parse regional characters in output 2019-06-29 13:08:54 +02:00
gibbed 6789873620 Merge branch 'master' into d3d12 2019-05-12 07:48:18 -05:00
Margen67 24c290e8a9 Fix/remove OpenGL leftovers 2019-05-08 08:31:04 -07:00
gibbed 827567a21a Merge branch 'master' into d3d12 2019-04-18 11:23:41 -05:00
gibbed 3d56d6c46c Use vcvarsall in Xenia build script when available, VcDevCmd otherwise. 2019-04-18 10:56:27 -05:00
gibbed 2dbd86ae23 Rework Xenia/premake build scripts to use VsDevCmd for VS2017+ instead
of vcvarsall.bat, this removes Windows Universal CRT SDK as a required
dependency.
2019-04-18 10:18:43 -05:00
Triang3l ec92d46480 Merge branch 'master' into d3d12 2019-04-18 17:54:57 +03:00
gibbed ffbc99926b - Update premake build script for VS2017+ build support.
- Update premake (for VS2019 support).
- Update Xenia build script to detect VS2017+ version.
- Update Xenia premake scripts due to updated premake.
- Fix cc override in Xenia build script.
2019-04-18 09:28:31 -05:00
Triang3l 2b646ff425 [D3D12] Fake per-edge tessellation with continuous 2018-12-12 22:12:32 +03:00
Triang3l 5b9e4b5886 Merge branch 'master' into d3d12 2018-11-27 11:05:14 +03:00
gibbed af206addd1 Optimize SPIRV code generated via genspirv command. 2018-11-26 11:49:36 -06:00
Triang3l da280347c4 Merge branch 'master' into d3d12 2018-11-22 21:01:05 +03:00
Margen67 896ac4a682 Update documentation.
- Convert http to https, provide archive link when possible.
- Made CPU-JIT.png more readable on dark themes;
Added a white background so there isn't black text on a black
background.
2018-11-22 09:20:09 -06:00
Triang3l abdb37464d
Merge branch 'master' into d3d12 2018-10-22 23:15:07 +03:00
Justin Moore 2fa7607547
Merge pull request #1086 from bwrsandman/xenia-build-test-bin-path
[Test] Fix build_bin_path for case sensitive FS
2018-10-12 15:08:04 -05:00
Triang3l be2d522e19 [D3D12] Rename shaders/bin to shaders/dxbc because of .gitignore 2018-09-16 20:35:10 +03:00
Triang3l 550caf4a72 [D3D12] Use shader model 5_1 because of dynamic indexing 2018-07-20 20:46:01 +03:00
Triang3l 03da2929aa [D3D12] Add HLSL building to xenia-build 2018-07-18 13:16:12 +03:00
Dr. Chat efc36e50be Use the same python as the currently executing python to run scripts 2018-04-28 20:15:16 -05:00
DrChat 14abe1a407 Fixup 360 support 2018-04-03 19:02:49 -05:00