Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
This mainly adds two flags, ResolveExecutable and DependOnExecutable.
First one is basically to skip prefixing the Executable string with the project path. This allows running of programs that are in the environment but not in the project.
My use case was running a shader compiler while not adding the executable to the project.
The second flag is to skip adding the executable to the list of AdditionalInputs, this prevents
a warning when the executable is not found in the project.
The first flag has a workaround by overriding MakeRelativePaths but the second flag does not have any workaround I could find.
I'm not extensively familiar with all potential problems that might come up with these flags so any feedback on it would be appreciated.
This mainly adds two flags,
ResolveExecutable
andDependOnExecutable
.First one is basically to skip prefixing the
Executable
string with the project path. This allows running of programs that are in the environment but not in the project.My use case was running a shader compiler while not adding the executable to the project.
The second flag is to skip adding the executable to the list of
AdditionalInputs
, this prevents a warning when the executable is not found in the project.The first flag has a workaround by overriding
MakeRelativePaths
but the second flag does not have any workaround I could find.I'm not extensively familiar with all potential problems that might come up with these flags so any feedback on it would be appreciated.