]> Kevux Git Server - kevux-tools/commit
Update: Avoid object name conflicts in static builds of unit tests.
authorKevin Day <Kevin@kevux.org>
Mon, 12 Jan 2026 03:21:24 +0000 (21:21 -0600)
committerKevin Day <Kevin@kevux.org>
Mon, 12 Jan 2026 03:21:24 +0000 (21:21 -0600)
commit87d065e9990c503d8d4241900debc2beb64c0a61
tree715fc9341837a3d274fb9d4343f649161dec2563
parent8fdb75ddb198f9c03a208824b2f3d551d995ef9c
Update: Avoid object name conflicts in static builds of unit tests.

The unit tests cannot be built at the moment due to the inability to use dynamic linker wrapping feature to perform mocks.

However, the rest of the linking process still should work.
The `remove.o` gets created at the top level of the static build settings for two different build paths: `main/remove.c` and `remove/remove.c`.
Restructure the build settings to result in using paths that do not conflict.

I suspect that I should add a feature in the Featureless Make build settings that allows for specifying an organizing directory.
data/build/remove/settings-mocks.remove
data/build/remove/settings-objects