Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
resources
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDT4102
VS-Code
resources
Commits
4591025e
Commit
4591025e
authored
1 year ago
by
Rory Fitzgerald
Browse files
Options
Downloads
Patches
Plain Diff
meson.build for sdl2 changed to allow non-Ascii characthers in file path
parent
bea5389a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dependencies/subprojects/sdl2_image_windows/meson.build
+5
-2
5 additions, 2 deletions
dependencies/subprojects/sdl2_image_windows/meson.build
dependencies/subprojects/sdl2_windows/meson.build
+9
-4
9 additions, 4 deletions
dependencies/subprojects/sdl2_windows/meson.build
with
14 additions
and
6 deletions
dependencies/subprojects/sdl2_image_windows/meson.build
+
5
−
2
View file @
4591025e
project
(
'sdl2_image_windows'
,
'cpp'
)
cxx
=
meson
.
get_compiler
(
'cpp'
)
sdl2_main
=
declare_dependency
(
link_args
:
'-L'
+
meson
.
current_source_dir
()
+
'/lib -SDL2_image'
)
sdl2_image_windows_dep
=
declare_dependency
(
dependencies
:
[
cxx
.
find_library
(
'SDL
2_
i
ma
ge'
,
dirs
:
join_paths
(
meson
.
current_source_dir
(),
'lib'
))
],
dependencies
:
[
sdl
2_ma
in
],
include_directories
:
include_directories
(
join_paths
(
'include'
,
'SDL2'
)))
This diff is collapsed.
Click to expand it.
dependencies/subprojects/sdl2_windows/meson.build
+
9
−
4
View file @
4591025e
project
(
'sdl2_windows'
,
'cpp'
)
cxx
=
meson
.
get_compiler
(
'cpp'
)
sdl2_main
=
declare_dependency
(
link_args
:
'-L'
+
meson
.
current_source_dir
()
+
'/lib -lSDL2main'
)
sdl2
=
declare_dependency
(
link_args
:
'-L'
+
meson
.
current_source_dir
()
+
'/lib -lSDL2'
)
sdl2_windows_dep
=
declare_dependency
(
dependencies
:
[
cxx
.
find_library
(
'SDL2main'
,
dirs
:
join_paths
(
meson
.
current_source_dir
(),
'lib'
)),
cxx
.
find_library
(
'SDL2'
,
dirs
:
join_paths
(
meson
.
current_source_dir
(),
'lib'
))],
dependencies
:
[
sdl2_main
,
sdl2
],
link_args
:
[
'-lmingw32'
],
include_directories
:
include_directories
(
join_paths
(
'include'
,
'SDL2'
)))
include_directories
:
include_directories
(
join_paths
(
'include'
,
'SDL2'
)))
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Rory Fitzgerald
@roryf
mentioned in commit
55656b8e
·
1 year ago
mentioned in commit
55656b8e
mentioned in commit 55656b8ef6670d3a549d30190977efbb0f02e96b
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment