How can I get Meson to recognize where a media file is located in a given project #13794
Unanswered
dreamer-coding
asked this question in
Q&A
Replies: 1 comment 1 reply
-
There are various tactics for this:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I get Meson to recognize where a media file is located in a given project? The goal would be to allow say for example a game or a utility to find a media file it needs to perform some action without having to input the full path to the media file manually nor make use of file config method for copying the files due to being deprecated in previous versions of Meson and prefers users to make use of the file system module.
Current build file in media directory:
https://github.com/dreamer-coding/fossil-project/blob/main/code/media/meson.build
Follow up question, if it is possible to have something setup so I can have a set of media files for a given project and a set of media files for unit testing purposes that would be great.
As a note the media file itself could be a text file, could be an image file or something else, for simplicity I will refer to it as a media file which is basically a file Meson build or any other build tools shouldn't normally be concerned about due to how enlivenment it is when compiling a program with source files being the main focus.
Beta Was this translation helpful? Give feedback.
All reactions