I have the following problem I have been working on:
I need to make a 32bit (x86) library dll play well with a more complex library that leverages it but works in 64bit (x64). The way that I have decided to make this is through a TCP server (instead of the recommended COM) for other reasons that are not relevant. The problem I have is that I can't get the compiler to be happy and build all of it in one go. I am working with CMake to make the build with MSVC 2019 compiler.
I have been scouring SO and the CMake forums searching for a solution but to no avail. From what I have been able to understand, ninja (from CMake) is unable to work with 32bit but when changing the CMakePresets.json to a Win32 system it still complains the same way and it seems it cannot compartmentalize what needs to be built in 64 and what in 32.
Is this something that is straight up not doable or do I have to modify my setup in some way?