We have a project with some C++ files using #import with *.tlb files. I’ve noticed that with the Ninja Multi-Config generator the tlh and tli files end up in the base of the build folder. However with the single-config Ninja generator they end up in the target’s .../CMakeFiles/target_name.dir folder which seems to be where they are supposed to be. I say this because in the multi-config build those *.tlh files are always dirty, resulting in the source modules being rebuilt and the target relinked for every build.
Is there a way to fix or work around this issue?
I’m using cmake 4.2.3.
Thanks.