Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a system for distributing required Folders/Files to build editor #29

Open
VerzatileDev opened this issue Jan 24, 2024 · 0 comments

Comments

@VerzatileDev
Copy link
Contributor

VerzatileDev commented Jan 24, 2024

In reference to the following: #11

Issue

As of currently if the files are not being built to the Build folder of the engine the .exe cannot run from it, only with the local windows debugger, but not directly from the Build folder.

For context:

image

Similarly for context Areas referencing Resources folder, Include->Fonts, Assets. Are provided with relative path from ProjDir so if those are not included within the build the engine cannot open and find them.

Proposal

As previously tackling a solution provided for DLLs can and may be used with Build Events that automatically includes those folders and files to the Build folder.

See the existing proposal here for DLLs #24

Additionally if they do not exist they are avoided, so that no compilation error will be present apart from no files copied.

(To address this in the future it would require that the folders are defined differently, or they are locked to the developers only so that the users wouldn't have access to them, similar to the rooting of Unity where they create a specific " assets " folder which directs user created content into that folder).

Solves

This would solve the issue of an insertion failure when aiming to run the engine through the release or debug folders.

Similarly the following is aimed to address a similar issue to the one of " #8 ", though it would not be as related as that would be an issue in both the Local Debugger as well as debug and release folder versions.

Notes Folders Required by the Engine are:

Resources:
https://github.com/JDSherbert/Sherbert-Engine/tree/main/SherbertEngine/Resources

Assets:
https://github.com/JDSherbert/Sherbert-Engine/tree/main/SherbertEngine/Assets

Font File
fa-solid-900.ttf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant