I was curious if merkaartor can be built with `CMAKE_UNITY_BUILD" turned on. Only a few build errors needed to be fixed.
I also changed how the QtLockedFile class is built. It was compiled once without the namespace and once with the namespace. This interfered with the unity build. It is now only built within the namespace.
A full release build now takes on my machine, a Ryzen 9 3900X about 15 seconds. Before it was about 25 seconds.
I was curious if merkaartor can be built with `CMAKE_UNITY_BUILD" turned on. Only a few build errors needed to be fixed.
I also changed how the QtLockedFile class is built. It was compiled once without the namespace and once with the namespace. This interfered with the unity build. It is now only built within the namespace.
A full release build now takes on my machine, a Ryzen 9 3900X about 15 seconds. Before it was about 25 seconds.