speed-dreams-code/cmake
Xavier Del Campo Romero 880d53d88a
Find speed-dreams-data submodule by default
Now that speed-dreams-data is available as a submodule, this allows the
build system to choose it for in-tree builds. Therefore, CMake will
perform in the following order:

1. Do not search the speed-dreams-data package if SD_ASSUME_DATADIR is
   set.
2. Otherwise, do an in-tree build if the submodule has been updated.
3. Otherwise, search for the speed-dreams-data package on standard
   locations and CMAKE_PREFIX_PATH and/or CMAKE_FIND_ROOT_PATH.
4. Otherwise, return an error message.

SD_HAS_DATADIR was rendered redundant, so it has been removed. However,
SD_DATADIR_INSTALL_PREFIX was introduced because it would not equal
SD_DATADIR_ABS for in-tree builds, where an installed version of the
speed-dreams-data package is not required.

In-tree builds now allow to generate NSIS installers with both code and
data.
2025-01-15 06:36:59 +01:00
..
checks.cmake guiscreen.cpp: Reduce minimum required OpenGL version 2025-01-07 00:28:46 +01:00
CMakeLists.txt add FindcJSON.cmake 2024-07-31 14:26:04 +00:00
config.h.in.cmake Find speed-dreams-data submodule by default 2025-01-15 06:36:59 +01:00
customthirdparty.cmake customthirdparty.cmake: Optionally install libwinpthread 2024-10-28 05:56:09 +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
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 3rdParty-devel: Find libbroad and libmoto 2024-10-27 08:05:35 +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 cmake: Do not install anything as DATA 2024-12-31 06:14:07 +01:00
internaldeps.cmake internaldeps.cmake: Deprecate legacy macros 2024-10-27 07:59:26 +00:00
macros.cmake cmake: Get SD_DATADIR from speed-dreams-data package 2024-12-31 06:14:06 +01:00
options.cmake Revamp Debian and NSIS packaging 2025-01-13 00:07:01 +01: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 cmake: Do not install anything as DATA 2024-12-31 06:14:07 +01: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
speed-dreams-2.rc.in.cmake Set executable icon 2025-01-12 22:46:34 +01: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 Fixed #59 : add uninstall target to the build system + generate clobber.sh/bat script for full in-source build files cleanup + moved files to the cmake folder 2010-09-07 21:34:19 +00:00