-
-
Notifications
You must be signed in to change notification settings - Fork 816
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Allow editing (including comments) of xmake.conf #3079
Comments
xmake.conf is an internal file used by xmake to retains its configuration across runs, it's not made to be edited (but you can export/import it using xmake config --export/import). You can configure the buildir using |
OK, I see. It's a shame that the documentation implies that By the way, could it be possible to have |
It is not a read-only variable. just |
|
I know it's the wrong spelling because I don't like |
for english speakers (and I think it's even worse for native speakers) it's a bit misleading, maybe introducing |
I wouldn't exactly say changing FWIW I there is an advantage to having a clear consistent naming convention, eg using snake_case or camelCase. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Is your feature request related to a problem? Please describe.
Imagine that you want to use a different directory than
build
for the build. Maybe you are trying out Xmake as a possible alternative build system for an existing project, and you don't want it making modifications in the existingbuild
directory that the current build system uses.After poking around, you discover that (on Linux)
.xmake/linux/x86_64/xmake.conf
contains a useful-looking settingbuildir = "build"
. Maybe this is build directory. So you add a comment-- Changed to not clash with old build system
and edit the line to buildir = "xbuild". Now you run xmake again and it removes the comment from the file.Describe the solution you'd like
I don't necessarily mind that the config files are in hidden directories, but it is painful that they are not editable. Can we allow edits and comments in the file and have xmake respect them? (Also, it would be good for the first line of the .conf file always to be a comment. Then you would not have to guess what the format is for comments!)
Describe alternatives you've considered
I had a look at #820 but it didn't seem to be quite the same issue.
Additional context
No response
The text was updated successfully, but these errors were encountered: