tup icon indicating copy to clipboard operation
tup copied to clipboard

Build all variants in a subdirectory of a specific directory

Open fourier opened this issue 10 years ago • 3 comments

Is where a way not to pollute the topmost directory of the project with the variants? I would like to have a config directory with all the variants config files and the build directory containing all built variants, like this:

.
├── build
│   ├── debug
│   ├── debug-mt
│   ├── debug-mt-profile
│   ├── release
│   ├── release-mt
│   └── release-mt-profile
├── configs
├── doc
├── examples
├── src
└── tests

I don't want to have all these variants in the root directory of the project (I can add more and more variants in the future like different platforms, hardware and different configurations for them).

fourier avatar Apr 08 '15 10:04 fourier

I believe this is now supported with commit 9d76dedd7. Let me know if you have any issues with variants at a deeper level that aren't present when building a variant at the top-level like before.

gittup avatar May 20 '24 04:05 gittup

Hello,

I just tested this with version v0.8-8-g4247a523 (built from commit 4247a523587df54bd4a65ec42c4247a8488c050e), with multiple variants for different compiler configurations and it works very well and smoothly!

I'm eager to see this feature shipped in a release, as it's really a nice one to have in such an awesome build system.

Best regards.

pinicarus avatar Jul 27 '24 10:07 pinicarus

Hello,

This feature has landed in master almost a year ago and just two months after the last release (v0.8). It'd be nice to have a new release, so that new features like this can be shipped to distributions.

Best regards.

pinicarus avatar Apr 15 '25 15:04 pinicarus