I have a dual project where a "#ifdef value" in the code is controlled by project options. After changing in the "select target" window, clicking 'build has no effect, rebuild is required. I get by this by discretely rebuilding the files where the #ifdef exist, but that is error prone. is there a way to make 'build' suffice?
Then the executable should have landed in the target-specific folder. You can check on the "Output " tab: the name of the generated file is shown next to the "Create Executable" button. You may have to make sure you change the executable name after the new object directory has been set.
with a bit of 'fiddle' I got it