CMake will pick up architecture from the VS command prompt you launch it from. Install VS 2019, install Clang 9, install the most recent CMake, then you can build for 32 bit from the native tools command prompt for 32 bit, I believe. It's not as simple as changing flags, you do in fact have to change the toolchain (sort of--it's complicated. But the previous procedure should work).
You can probably get smaller binaries just by changing CMAKE_BUILD_TYPE to release in CMakeCache.txt. On the whole the size of that executable doesn't matter and the final dll will be on the order of megabytes.
I had to look up those flags. They're not useful flags. The useful flag is probably -flto or some variant thereof.
Please don't send patches for CMake configuration changes: I will probably not merge them at this stage, as that's a moving target. Also if you don't know CMake well, it's easy to get it wrong in ways that seem right.
The idiomatic way to do this is to edit CMakeCache.txt and rebuild.
-- Audiogames-reflector mailing list Audiogamesfirstname.lastname@example.org https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector