The current way that CMake is used in the library is very non-standard and does not work with many CMake utilities as it stands. I am currently working on an overhaul on the CMake build system at github.com/OvermindDL1/Urho3D/t … e-overhaul and at the moment my quick tests show everything seems to compile and works and now works with the utilities I was needing to use as well. I expect that the cmake_*.sh/bat build scripts are utterly broken right now (though fixing should be rather simple, but I question more of why they exist?).
Currently though:
[ul]
[li]The project root is actually the project root now instead of “/Source”[/li]
[li]The arguments listed on the README.md file (like ENABLE_64BIT) are actually exposed to the interactive prompts and GUI now with proper documentation strings and default values[/li]
[li]Found a few other arguments that were not listed on the README.md file that are exposed now too (maybe they should be marked as advanced?)[/li]
[li]Can actually use Urho3D as a CMake ExternalProject dependency now! ^.^[/li]
[li]Been trying to clean up that ‘magic’ file, it makes a lot of assumptions, as did the FindUrho3D.cmake file, it needs a config file made as per CMake standards too[/li][/ul]
But now I must head to work, shall work more on it later. If anyone could download and try out my branch that is linked above and see if it still compiles fine (using cmake directly, not the sh/bat script).
Would this as a pull request be accepted once I finish the work in full? The non-standard CMake setup of the project was really not working well with the normal CMake utilities and I would prefer not to have to keep my fork up to date as the main project gets updated.