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

Change config tags #169

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Conversation

dawlane
Copy link
Contributor

@dawlane dawlane commented Jan 22, 2025

Okay. A few changes.
Removed the hacky ExpandEnv function from transcc to parse for environment variables using various tags. It added to the compile time. I've just modified the EvalConfigTags function to check for system variables if the key was not found in the config variables. You can access them just like you would in the config text file e.g. ${CERBERUSDIR}.

I've added two new config variables: PROJECTDIR and CXLIBSDIR. These are not in the documents yet.
CXLIBSDIR points to the Cerberus libraries directory. This may be removed when I get round to doing the the reworking of the glfw and C++ tool code.
PROJECTDIR point to launch source file.

The transcc test file has been update with the above changes.
@PhilMoe Don't merge this one. Just found a bug that screws up the command line.
Edit: False alarm. It was from part of the test code I was using.

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

Successfully merging this pull request may close these issues.

1 participant