Closed umlaeute closed 5 months ago
This is already fixed here: https://github.com/charlesneimog/pd.cmake/commit/8c710285ae8aa282f82c758386435aeeb1dc4d4c.
Obs.: I will do my messy commits there, then I make it clear here.
afaics, that commit only touches a single GitHub workflow file.
I fail to see how this could possibly relate to fixing out-of-tree builds
being able to build the same source into different flavours (defined by the build-system) is decidedly cool.
for this to work in all cases, the only directory we ever want to put stuff into is the build directory, never the source directory. that is, the following should not return anything:
this means, that we must never put anything into
CMAKE_(CURRENT_)SOURCE_DIR
, only ever useCMAKE_(CURRENT_)BINARY_DIR
to write files to.i think c1acbcde3770129a481b2e6369da92086ba4a52c tried to fix this, but got it wrong.
personally i would prefer if the default output path would just be the build directory, and not some subdir where i have to first search for the externals: