neovim/cmake
dundargoc b80a8e2c16 build: adjust how find order is prioritized
Ensure bundled libraries and include directories are always searched
first before any others. This will provide a more consistent experience
as the search order of the builtin find_ functions can vary depending on
system. This should make the build process faster when building with
bundled deps as we limit the search to only the .deps directory.
Separating the search between .deps and everything makes debugging
find_-related problems simpler if you need to check how dependencies are
found.

For libraries, we divide the search process into the following order:
1. Only search in .deps directory and only search for static libraries.
2. Only search in .deps directory and search for all libraries.
3. Search everywhere and search for all libraries.

Make an exception for FindLibintl.cmake as changing the search order
seems to break some tests on macos.
2023-10-16 20:15:41 +02:00
..
ConvertPo.cmake build: cmake cleanup 2023-05-13 12:12:29 +02:00
Deps.cmake build: download busted from own neovim/deps repository 2023-09-03 00:38:10 +02:00
Find.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindIconv.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindLibintl.cmake build: cmake cleanup (#22251) 2023-03-02 22:50:43 +01:00
FindLibtermkey.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindLibuv.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindLibvterm.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindLpeg.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindLuajit.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindLuv.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindMsgpack.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindTreesitter.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindUnibilium.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
Format.cmake build: don't format deleted files 2023-05-18 16:28:46 +02:00
GenerateVersion.cmake build: various fixes 2023-09-04 00:00:26 +02:00
InstallHelpers.cmake build: cmake cleanup 2023-05-13 12:12:29 +02:00
PreventInTreeBuilds.cmake build: prevent in-tree builds for the time being, as it's not supported 2016-10-11 20:20:31 -04:00
RunTests.cmake fix(tests): set SHELL=sh #24941 2023-09-11 10:01:00 -07:00
UninstallHelper.cmake build(cmake): simplify and speed up the uninstall target 2022-06-19 18:34:28 +02:00
Util.cmake ci: introduce CI_LINT option 2023-06-24 00:29:53 +02:00
WindowsDllCopy.cmake build: various fixes 2023-09-04 00:00:26 +02:00