aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake
Commit message (Collapse)AuthorAge
* build(cmake): add modelines to enable syntax highlightingdundargoc2022-10-21
|
* build: rely on default cmake installation if possibledundargoc2022-10-21
| | | | | | The default cmake installation process for dependencies that use cmake on all platforms is in general more robust and less verbose, so we rely on that if possible.
* build(deps): disable shared library for libvterm. (#20566)Wei Tang2022-10-10
| | | | | | | | | | | | | | | build(deps): disable shared library for libvterm Problem: Cannot build both static and share libraries for libvterm under Windows. The static and shared library would have the same name "vterm.lib", thus there would be multiple rules to build the same target. Solution: Disable shared library for libvterm. This makes it possible to use Ninja on Windows to build dependencies (2x speedup!). But not for Release builds yet. Co-authored-by: Wei Tang <gauchyler@uestc.edu.cn>
* build(deps): add build type for libuv (#20575)Wei Tang2022-10-10
| | | | | | | Problem: Build type is not set in BuildLibuv.cmake, so libuv is always built for Debug type. Solution: Add build type for libuv.
* build(deps): restore support for USE_EXISTING_SRC_DIR (#20491)James McCoy2022-10-06
| | | | | | | | | | | | | | | 59d5f692f removed cmake.deps/cmake/DownloadAndExtractFile.cmake and support for USE_EXISTING_SRC_DIR. The Ubuntu nightly PPA still relies on USE_EXISTING_SRC_DIR functionality since it can't access the network during the build. Supplying an empty value for ExternalProject_Add()'s URL value appears to provide the needed mechanism to avoid re-downloading when the sources are already present. This is undocumented behavior, though, so it may break in the future. Now, if USE_EXISTING_SRC_DIR is set, the ExternalProject's URL variable is unset, preventing the download and erroring out if the source doesn't actually exist.
* build: define EP_PREFIX propertydundargoc2022-10-02
| | | | | This is just to avoid the boilerplate of definining PREFIX for each dependency.
* build: rely on builtin cmake downloading rather than custom scriptdundargoc2022-10-02
| | | | | | | DownloadAndExtractFile.cmake was initially introduced as a workaround to avoid the massive amounts of logs generated by the download progress. This is not a problem anymore as ExternalProject_Add has had the DOWNLOAD_NO_PROGRESS option since cmake version 3.1.
* build: remove url for 32-bit winyankdundargoc2022-10-02
| | | | | | We don't support 32bit Windows anymore, so it's not needed. Also remove TargetArch.cmake and related code as we don't need architecture detection for the same reason.
* build: remove code for cross-compilationdundargoc2022-10-02
| | | | | We don't support cross-compilation at the moment, so these can be safely removed.
* build: remove unused variable CMAKE_C_COMPILER_ARG1dundargoc2022-10-02
| | | | | It was set in file cmake/i386-linux-gnu.toolchain.cmake which has been removed since we don't use Travis anymore.
* build(deps): bump libuv to HEAD - f610339f7 (#20445)Christian Clason2022-10-02
| | | also remove libuv-disable-shared patch
* build(macos): restore and test universal build (#20383)Christian Clason2022-09-28
| | | | Build tree-sitter parsers for arm64 as well as x86 Check that all created binaries contain both architectures
* feat(treesitter): bundle :help parser and queriesJustin M. Keyes2022-09-22
| | | | | parser from https://github.com/vigoux/tree-sitter-vimdoc queries from nvim-treesitter
* build: remove unnecessary build functionsdundargoc2022-09-08
| | | | | These functions serve no purpose if they're only used as intermediary functions that passes on arguments to ExternalProject_Add.
* build: remove ARGS from add_custom_commanddundargoc2022-09-08
| | | | | It's a command that doesn't do anything, kept only for compatibility reasons.
* build(treesitter): set CMAKE_C_STANDARD to C99Eisuke Kawashima2022-09-07
|
* Merge pull request #17329 from cryptomilk/asn-vterm-0-2Christian Clason2022-09-06
|\ | | | | build(deps): bump libvterm to 0.3-RC1
| * build(deps): use libvterm 0.3-rc1Andreas Schneider2022-09-06
| |
* | build: consistently set build type regardless of generator or platform #19760dundargoc2022-09-06
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the default build type to always be Debug, and allow only four predefined build types: Debug, Release, RelWithDebInfo and MinRelSize. Furthermore, flags meant for single-configuration generator (make, ninja) will not be used for multi-configuration generators (visual studio, Xcode), and flags meant for multi-configuration generators will not be used for single-configuration generators. This will allow Debug builds to be built with MSVC which requires that all dependencies are also built with the Debug build type to avoid runtime library mismatch. The correct way to specify build type (for example Release) for single-configuration generators (Make and Ninja) is to run cmake -B build -D CMAKE_BUILD_TYPE=Release cmake --build build while for multi-configuration generators (Visual Studio, Xcode and Ninja Multi-Config) is to run cmake -B build cmake --build build --config Release Passing CMAKE_BUILD_TYPE for multi-config generators will now not only not be used, but also generate a warning for the user. Co-authored-by: dundargoc <gocundar@gmail.com>
* fix(treesitter): do not link @error by defaultChristian Clason2022-09-06
| | | | | | | The @error capture is used for tree-sitter's ERROR node, which indicates a parsing error -- which can be quite frequent (and jarring) while typing. Users can still manually `hi link @error Error` in their config.
* feat(treesitter): add viml parser and queriesChristian Clason2022-09-06
|
* feat(treesitter): bundle Lua parser and queriesThomas Vigouroux2022-09-06
| | | | | parser from https://github.com/MunifTanjim/tree-sitter-lua queries from nvim-treesitter
* build: only use CMAKE_BUILD_TYPE for single-config generatorsdundargoc2022-08-13
| | | | | CMAKE_BUILD_TYPE is ignored for multi-config generators and creates a warning that it's unused.
* build(MSVC): don't add non-MSVC compiler optionsdundargoc2022-08-13
| | | | | This will prevent warnings of the type "ignoring unknown option '-fPIC'" when using MSVC.
* build: bump minimum cmake version for all dependencies to 3.10dundargoc2022-08-13
| | | | | This removes cmake policy warning for CMP0053 on windows and ensures the build works correctly for newer cmake policies.
* build libuv cmake (#19632)Lewis Russell2022-08-12
| | | Co-authored-by: Daniel Hahler <git@thequod.de>
* build(macos): use consistent MACOSX_DEPLOYMENT_TARGET (#19430)Christian Clason2022-07-19
| | | | | | | Use the same logic for both deps (including LuaJIT, for which setting this variable is mandatory) and Nvim: either the eponymous environment variable if set, or the current software version if not. Removes annoying warnings when building locally on macOS.
* build: bump minimum CMake version in cmake.depsJames McCoy2022-07-19
| | | | | The minimum version for the main project was bumped in 035d82e0d3. Align cmake.deps to the same version for consistency.
* build: rename build-related dirsJustin M. Keyes2022-06-28
Problem: Dirs "config", "packaging", and "third-party" are all closely related but this is not obvious from the layout. This adds friction for new contributors. Solution: - rename config/ to cmake.config/ - rename test/config/ to test/cmakeconfig/ because it is used in Lua tests: require('test.cmakeconfig.paths'). - rename packaging/ to cmake.packaging/ - rename third-party/ to cmake.deps/ (parallel with .deps/)