We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
c3c --print-env
For tooling prospective, it would be nice to have a c3c option that prints its build environment (maybe in json format):
$if(env::LIBC)
project.json
This is a low priority request, though.
The text was updated successfully, but these errors were encountered:
Can you show a mockup of what you want?
Sorry, something went wrong.
I think simple JSON output would be sufficient:
{ "c3c": { "version": "0.6.5", "stdlib": "/some/path", "c3c_exe": "/another/path/c3c.exe", }, { "project": { "path": "/current/project/path", "target": "current target", }, { "environment": { "system_path": "$PATH", "os": "win32", "variables": { // text should match to @if() attribute text in c3 code "env::POSIX": false, "env::win32": true, "LIBC": true, "SOME_USER_DEF": true, // in project.json if it's allowed } } }
No branches or pull requests
For tooling prospective, it would be nice to have a c3c option that prints its build environment (maybe in json format):
$if(env::LIBC)
project.json
maybe?This is a low priority request, though.
The text was updated successfully, but these errors were encountered: