mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
I have been thinking about some shader related techniques for the Vulkan renderer and for that we will need to add embedded files in a different environment than they are right now since the actual shader code will not be needed in the engine. For this reason, I extracted the "default file" mechanism to be more generic so that all that is necessary to include a file is to just call a custom CMake command and the function keeps track of what needs to be done. Also, since the "generic" code has worked pretty well so far I see no reason to keep around two systems which just increases the amount of code we need to maintain. So, I just removed the windows exclusive implementation. Now all platforms use the same "generic" way of embedding files.
8 lines
66 B
Plaintext
8 lines
66 B
Plaintext
|
|
@INCLUDE_LIST@
|
|
|
|
def_file Default_files[] =
|
|
{
|
|
@ARRAY_ELEMENTS@
|
|
};
|