speed-dreams-code/cmake
xavi92 221a933702 Define xmlversion as ExternalProject
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
2024-10-27 08:01:23 +00:00
..
checks.cmake cmake: Remove SD_FIND_CUSTOM_3RDPARTY 2024-10-27 07:57:27 +00:00
CMakeLists.txt add FindcJSON.cmake 2024-07-31 14:26:04 +00:00
config.h.in.cmake Remove trailing newlines 2024-07-30 22:17:48 +00:00
customthirdparty.cmake cmake: Remove SD_FIND_CUSTOM_3RDPARTY 2024-10-27 07:57:27 +00:00
doxygenconfig.in.cmake String trailing whitespaces 2024-07-30 21:45:07 +00:00
FindcJSON.cmake fix for FindCJSON.cmake from Joe 2024-08-04 17:38:07 +00:00
FindENET.cmake String trailing whitespaces 2024-07-30 21:45:07 +00:00
FindGLM.cmake String trailing whitespaces 2024-07-30 21:45:07 +00:00
Findminizip.cmake cmake: Set INTERFACE_* properties 2024-10-27 08:00:07 +00:00
FindNSIS.cmake Added OPTION_PACKAGING to control custom packaging (WIP) 2019-06-04 00:55:22 +00:00
FindOGG.cmake Simplified and made to work on OS X 2015-08-22 17:00:14 +00:00
FindPLIB.cmake FindPLIB.cmake: Add ssgAux as name hint 2024-10-27 07:39:00 +00:00
Findrhash.cmake cmake: Set INTERFACE_* properties 2024-10-27 08:00:07 +00:00
FindSDL2.cmake FindSDL2.cmake: Do not require mingw32 library 2024-10-27 08:00:54 +00:00
FindSDL2_mixer.cmake Redo musicplayer to use sdl2_mixer 2021-08-31 15:49:49 +00:00
FindSOLID.cmake Remove trailing newlines 2024-07-30 22:17:48 +00:00
FindSpeedDreams.cmake Remove trailing newlines 2024-07-30 22:17:48 +00:00
FindSQLITE3.cmake String trailing whitespaces 2024-07-30 21:45:07 +00:00
FindTinyGLTF.cmake String trailing whitespaces 2024-07-30 21:45:07 +00:00
FindVORBIS.cmake Simplified and made to work on OS X 2015-08-22 17:00:14 +00:00
FindVORBISFILE.cmake Simplified and made to work on OS X 2015-08-22 17:00:14 +00:00
fixbundle.cmake.in Cleaned up some MacOS install code 2020-04-12 21:41:22 +00:00
install.cmake Define xmlversion as ExternalProject 2024-10-27 08:01:23 +00:00
internaldeps.cmake internaldeps.cmake: Deprecate legacy macros 2024-10-27 07:59:26 +00:00
macros.cmake Define xmlversion as ExternalProject 2024-10-27 08:01:23 +00:00
options.cmake Remove svn:keywords property from the repository 2024-10-02 15:30:18 +00:00
packagemaker-dmg.cmake Fix trailing whitespaces and ending newlines 2024-09-30 05:23:49 +00:00
packagemaker-nsis.cmake Fix trailing whitespaces and ending newlines 2024-09-30 05:23:49 +00:00
packagemaker.cmake String trailing whitespaces 2024-07-30 21:45:07 +00:00
prerelease.cmake Remove $Id$ 2024-09-30 05:17:15 +00:00
prereleaseutils.cmake Fix trailing whitespaces and ending newlines 2024-09-30 05:23:49 +00:00
robot.cmake Remove svn:keywords property from the repository 2024-10-02 15:30:18 +00:00
robot.def.in.cmake Re #307 Split the big macros.cmake into several smaller and better readable files 2012-09-14 18:39:40 +00:00
splitargn.cmake Remove svn:keywords property from the repository 2024-10-02 15:30:18 +00:00
thirdpartydeps.cmake cmake: Rely on CURL::libcurl instead of CURL_LIBRARY 2024-10-27 07:54:00 +00:00
uninstall.cmake