221a933702
xmlversion is meant to be a build-time tool, which means it must never be cross-compiled. Since toolchain settings are shared among all libraries within a project, the only way in CMake to build an executable using the host toolchain (instead of the cross-toolchain) is to define it inside of an ExternalProject. xmlversion also depends on several in-house libraries that must be also build with the host toolchain, so those libraries shall be both cross-compiled and natively compiled. On the other hand, since a known install prefix is assigned to xmlversion, _XMLVER_EXE, _XMLVER_DIR and _XMLVER_NAME no longer need to be calculated. Note that CMAKE_FIND_ROOT_PATH must not be passed to the ExternalProject since xmlversion must never be cross-compiled. git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9594 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: d3332d5a3d388b6a6f0179b72e509606ec0055aa Former-commit-id: 31997c4074f9e9395cb1ccfd9f7487e02584eaf4 |
||
---|---|---|
.. | ||
checks.cmake | ||
CMakeLists.txt | ||
config.h.in.cmake | ||
customthirdparty.cmake | ||
doxygenconfig.in.cmake | ||
FindcJSON.cmake | ||
FindENET.cmake | ||
FindGLM.cmake | ||
Findminizip.cmake | ||
FindNSIS.cmake | ||
FindOGG.cmake | ||
FindPLIB.cmake | ||
Findrhash.cmake | ||
FindSDL2.cmake | ||
FindSDL2_mixer.cmake | ||
FindSOLID.cmake | ||
FindSpeedDreams.cmake | ||
FindSQLITE3.cmake | ||
FindTinyGLTF.cmake | ||
FindVORBIS.cmake | ||
FindVORBISFILE.cmake | ||
fixbundle.cmake.in | ||
install.cmake | ||
internaldeps.cmake | ||
macros.cmake | ||
options.cmake | ||
packagemaker-dmg.cmake | ||
packagemaker-nsis.cmake | ||
packagemaker.cmake | ||
prerelease.cmake | ||
prereleaseutils.cmake | ||
robot.cmake | ||
robot.def.in.cmake | ||
splitargn.cmake | ||
thirdpartydeps.cmake | ||
uninstall.cmake |