Commit graph

129 commits

Author SHA1 Message Date
刘皓
8277390e13
Move embedtool.cpp into tools directory 2025-04-15 12:20:22 -04:00
刘皓
7182a57fe1
Use std::ios::binary mode in embedtool.cpp
Required for it to work properly on Windows.
2025-03-03 10:41:01 -05:00
刘皓
5be1f6962e
Explicitly request 7-character Git hash in meson.build
It seems the length of the hash generated by
`git rev-parse --short HEAD` is nondeterministic. GitHub Actions
generates 7-character hashes, while my computer currently generates
8-character hashes. To be consistent, I'm forcing the hashes to be 7
characters long.
2025-02-28 00:40:32 -05:00
刘皓
5c0e06eaf4
Use vcs_tag to get Git version instead of run_command
This way Meson will automatically keep the Git hash updated as you make
new Git commits, rather than forcing you to reconfigure the build again
every time you make a new commit to keep the commit hash updated.

(cherry picked from commit b9bb3535ae)
2025-02-27 23:41:40 -05:00
刘皓
f162e8a494
Replace xxd with a custom executable
This removes the need to have xxd installed and provides a portable way
to specify the name of the output array (xxd has an `-n` option for
this, but it isn't present in older versions of xxd), which helps reduce
the possibility of symbol conflicts in libretro builds and also prevents
portability issues since the name of xxd's output array depends on the
relative path to the input file, which can break if Meson changes the
structure of the build directory or if the user sets the build directory
to a different location.

Also, this custom executable declares the array as const so that it goes
into the read-only data section of the binary instead of the data
section.
2025-02-27 22:55:22 -05:00
刘皓
ceea260b82
Make the xxd command in shader/meson.build less fragile 2025-02-18 22:58:58 -05:00
Splendide Imaginarius
631ed45c28 Support Windows resources outside of repo directory 2023-10-26 04:10:26 +00:00
Splendide Imaginarius
77d05ed600 Make the Windows resources customisable at build time
Ported from original mkxp-zr commit by Riley Pierce.
2023-10-25 23:12:35 +00:00
Struma
fa0e60b7fc Add git hash to System::VERSION
I don't really plan on putting out another "release tag" anytime soon,
so the hash for the current git commit is being added to the version string
to help tell the difference between one build and the other.
2023-05-19 08:49:32 -04:00
Struma
10cdc672dd bump version to 2.4.2 2023-05-04 16:42:31 -04:00
Struma
b573566d78 version bump to 2.4.1 2023-04-25 23:25:22 -04:00
Struma
f07e32e07b don't crash when no conf is present 2022-07-05 21:38:12 -04:00
Struma
7ecad29d77 Remove boost::unordered dependency (it broke) 2022-07-05 20:53:47 -04:00
Struma
0ec885e640 version bump 2022-07-05 04:30:22 -04:00
Struma
6c5616f65a Use win_subsystem instead of gui_app 2022-04-02 20:58:52 -04:00
Struma
cfc62d44fb Update minimum required meson version 2022-04-02 20:57:13 -04:00
Struma
9c84e208db Restore MP3 support; update configs 2022-04-02 19:58:49 -04:00
Struma
d82220fb99 Adjust name of executable when using steamshim 2022-01-20 02:26:22 -05:00
Struma
9b5341deef fix building steamshim on linux 2022-01-19 04:06:43 -05:00
Struma
2f02159dcc try to fix building steamshim with meson
Shot in the dark, no PC
2022-01-13 16:29:17 -05:00
Struma
231f80cac5 bump version to 2.3 2022-01-13 15:40:40 -05:00
Struma
85c4211e6b Bump version to 2.2.3 2021-09-30 19:07:35 -04:00
Struma
7400b42bea bump version to 2.2.2 2021-06-25 22:35:54 -04:00
Struma
baaa162e2c Remove libsigc++, use sigslot instead 2021-06-14 10:03:56 -04:00
Struma
95e17244fd Remove Windows API emulation 2021-06-08 19:02:15 -04:00
Struma
ff25161b10 satisfy meson 2021-06-08 11:40:26 -04:00
Struma
ca596cbaf9 cleanup 2021-05-23 21:55:02 -04:00
Struma
0758779f4f bump version to 2.2.1 2021-05-22 06:36:25 -04:00
Struma
d7336552eb Bump version to 2.2 2021-05-03 13:43:16 -04:00
Struma
0ee00d1137 version bump to 2.1.2 2021-04-30 14:47:37 -04:00
Struma
c3e86649a7 use nanosleep delay on Windows+Linux 2021-03-28 15:32:24 -04:00
Struma
b5e2d7792e bump version to 2.1.1 2021-03-25 20:22:06 -04:00
Struma
02cc1a0630 Remove 'console' build option 2021-03-15 23:13:25 -04:00
Struma
ced6daede7 Separate tileset script from main executable 2021-02-24 02:38:31 -05:00
Struma
ad03754378 link linux binary (mostly) statically 2021-02-21 22:23:31 -05:00
Struma
8a1c0f9679 bump version to 2.1 2021-02-20 14:47:53 -05:00
Struma
a833c96109 Zap SDL2_sound subdir 2021-01-11 03:11:17 -05:00
Struma
dde28c2c6d Remove flags GCC doesn't support from meson build 2021-01-08 09:59:39 -05:00
Struma
59078356ac add System::VERSION 2020-12-31 17:26:14 -05:00
Struma
69514de7c6 Attept 64-bit MiniFFI on Windows 2020-12-31 16:58:47 -05:00
Struma
7db1c1219e Prefix mkxp-z preprocessor definitions with MKXPZ_ 2020-12-31 14:50:07 -05:00
Struma
f7449ab7e6 add '-masm=intel' when building using GCC 2020-12-31 14:26:12 -05:00
Struma
5d4758edaa Bump version, update Meson build 2020-12-30 18:21:59 -05:00
Struma
e511d71875 Housecleaning 2020-12-30 16:45:03 -05:00
Struma
c4ce877186 Use experimental/ghc filesystem for meson builds 2020-11-23 02:25:02 -05:00
Struma
0e278c3e5c Drop ObjFW as a dependency 2020-11-22 03:48:03 -05:00
Struma
bbdf83fafc Build with OpenGL until MetalANGLE works properly 2020-11-19 20:26:16 -05:00
Struma
7e21066a70 Experimental Xcode builds (dependencies included) 2020-11-19 03:56:35 -05:00
Struma
a9d7e0783a Preliminary attempt at Metal support 2020-11-16 20:26:49 -05:00
Struma
bd549a65ad Support building with Ruby 1.9 2020-11-15 18:47:21 -05:00