You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My apologies if this isn't the right forum for asking a question like this!
I managed to use CMake for generating the build system for the project I'm working on. CMake generates the build system inside of the specified build directory, so that there aren't in-source builds co-mingling the build artifacts with the source files. This means my build.ninja file is not located at the root of my project, and I'm wondering if there's an option for specifying where it's located to the permuter, or if there's a workaround for getting this to work.
Thanks for your great work on this project!
The text was updated successfully, but these errors were encountered:
Asking here is fine; I'm also around in discord in a few decomp servers.
There is no support for this at the moment, but I'm happy to take PRs! Maybe some setting in tools/permuter_settings.toml is reasonable, or maybe we can hard-code the path build/? Or do you think the build dir path needs to customizable for each user? A cmdline argument seems more sensible then, if a bit cumbersome to use.
maybe we can hard-code the path build/? Or do you think the build dir path needs to customizable for each user? A cmdline argument seems more sensible then, if a bit cumbersome to use.
It wouldn't be ideal to hardcode a path because CMake allows the user to specify the name of the build directory. For example, this is the command I use to generate the build system cmake -S . -B build -G Ninja. Like you suggested, a commandline argument would be useful, or also setting the Makefile/build.ninja location in the permuter_settings.toml.
My apologies if this isn't the right forum for asking a question like this!
I managed to use CMake for generating the build system for the project I'm working on. CMake generates the build system inside of the specified
build
directory, so that there aren't in-source builds co-mingling the build artifacts with the source files. This means mybuild.ninja
file is not located at the root of my project, and I'm wondering if there's an option for specifying where it's located to the permuter, or if there's a workaround for getting this to work.Thanks for your great work on this project!
The text was updated successfully, but these errors were encountered: