Differences From Artifact [e523f05d4d]:
- File
meson.build
— part of check-in
[1ee33c9983]
at
2024-08-03 14:50:31
on branch trunk
— Don't depend on global constructors for commands
This breaks when using ObjC, as these can run before the ObjC module is initialized, resulting in non-working message sends as the selectors are not registered yet. (user: js, size: 2021) [annotate] [blame] [check-ins using]
To Artifact [c35ae25a1c]:
- File meson.build — part of check-in [f00c286569] at 2024-08-04 22:26:24 on branch trunk — Fix building on Windows (user: js, size: 676) [annotate] [blame] [check-ins using] [more...]
1 | project('Cube', ['c', 'objcpp'], | | < < < < | < < < < < < < < < < < < | < < < | < < < < < < < < < < < < < < < < < | | | < | < < | < < < < < < < | < < < < | | < < < < < | < | > | < < < < < < < < < < < | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | project('Cube', ['c', 'objcpp'], meson_version: '>=1.5.0') add_global_arguments( [ '-fobjc-arc', '-fobjc-arc-exceptions' ], language: 'objcpp') objfw_dep = dependency('objfw') sdl12_dep = dependency('sdl12_compat') sdlimage_dep = dependency('SDL_image') sdlmixer_dep = dependency('SDL_mixer') zlib_dep = dependency('zlib') client_link_args = [] server_link_args = [] extra_deps = [] if host_machine.system() == 'windows' client_link_args += ['-lopengl32', '-lglu32', '-lwinmm'] server_link_args += ['-lwinmm'] else extra_deps += dependency('gl') extra_deps += dependency('glu') extra_deps += dependency('x11') endif subdir('enet') subdir('src') |