bsf icon indicating copy to clipboard operation
bsf copied to clipboard

Make CMake complain if user is only using precompiled dependencies, but is compiling in 32-bit mode.

Open jonesmz opened this issue 7 years ago • 1 comments

EDITED SUMMARY Make CMake complain if user is only using precompiled dependencies, but is compiling in 32-bit mode.

ORIGINAL ISSUE I don't think BSF is intended to be used as a 32 bit library, so probably the easiest way to resolve this user confusion is to make cmake complain loudly if it's being configured to build a 32 bit binary.

jonesmz avatar May 13 '18 19:05 jonesmz

It can work as 32-bit, you just need to compile the dependencies manually (I just grew tired of updating them). So I wouldn't just straight up disable it in CMake in case someone actually wants this for whatever reason.

PhysX probably complains because it has different naming for 32/64-bit libraries. The other libraries technically get found but would fail during the linking step, so they are invalid too but I'm not sure if there's an easy way to check within CMake. I don't have a clear idea at this moment how would I best warn the user about this.

BearishSun avatar May 13 '18 20:05 BearishSun