How can I redirect a new project's Sharpmake.cs resource path to an external directory? #323
Unanswered
JohnKentJr
asked this question in
Q&A
Replies: 1 comment
-
Hello, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TLDR: When building a new project what is the correct method to redirect the new projects resource path to a centralized directory outside the root of each project so each project does not need a copy?
Details -
I'm new to Sharpmake and trying to learn it by adopting it for a personal project that uses the latest version but there are some differences from what I'm accustomed to seeing in work environments.
I followed the tutorials just fine but got stuck trying to redirect the resource folder of Sharpmake itself to a single directory like "/Dev/3rdParty/Sharpmake/Bin/Debug/Net6.0/". so I don't have a resource copy at the root of each project.
Versions I'm accustomed to had a sharpmake.main.sharpmake.cs in the root that allowed you to set the resource path for your dev environment to an external tools directory so Sharpmake lives in its own project but all other Sharpmake.cs files from say /dev/Sharpmake/ for each projects other than Sharpmake itself knew that the resource directory the sharpmake.application used was in that external directory like "/3rdParty/Sharpmake/Bin/Debug/Net6.0/".
A commit from Feb seems to have changed how to set up your dev env but it's not mentioned in the docs if one of the samples is now representative of what used to be SharpmakeGen which was renamed as Sharpmake.main.Sharpmake.cs in most of the forks of this git.
Am I supposed to build my own sharpmake.main.sharpmake.cs by copying it from one of the forks or was a better method of redirecting the new projects Sharpmake files was added?
Beta Was this translation helpful? Give feedback.
All reactions