For clang this code fails to compile, and it's not hard to see why. Frankly it is amazing it compiled with GCC and CL! What I think happened is the address of the size function from the class was used. You may want to look into that, perhaps this code is never called?
(also added missing version.h file) Change-Id: I1abd44250de93a9a76d17927e3647e87f37c78a3
Packages should install to /usr and non-packages to /usr/local By default, cmake will set the install prefix to /usr/local (yay!) but we can override this at configuration time using the -D switch. cmake -DCMAKE_PREFIX_PATH:PATH=<path> When packaging we need to ensure install points to /usr, which is the correct place for packaged files to be installed. When installing via cmake files get installed to /usr/local, as expected Change-Id: I08d3d6bb21d3040a79caf552e85e14c869079d79
We can't use mirbuild auto-generated rules file as this needs to be published into the public domain. Change-Id: Id7364ac407dc4cb4f30656d9335d65a6ced8ede4
Note: The Win32 project has been removed because this can be generated from CMake. There is no point in maintaining a seperate set of project files that can be auto-generated. Change-Id: I2c25b136fbb4ed53cb9a78200f96939766c4403f