Replies: 7 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 |
Beta Was this translation helpful? Give feedback.
-
OK, I see. It's a shame that the documentation implies that By the way, could it be possible to have |
Beta Was this translation helpful? Give feedback.
-
It is not a read-only variable. just |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I know it's the wrong spelling because I don't like |
Beta Was this translation helpful? Give feedback.
-
for english speakers (and I think it's even worse for native speakers) it's a bit misleading, maybe introducing |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions