aboutsummaryrefslogtreecommitdiff
path: root/runtime/CMakeLists.txt
Commit message (Collapse)AuthorAge
* feat(treesitter): bundle Lua parser and queriesThomas Vigouroux2022-09-06
| | | | | parser from https://github.com/MunifTanjim/tree-sitter-lua queries from nvim-treesitter
* build: replace deprecated cmake features with their modern alternativesDundar Goc2022-08-03
| | | | | | | - Use DIRECTORY instead of PATH in get_filename_component - Use COMPILE_OPTIONS instead of COMPILE_FLAGS. COMPILE_FLAGS is treated as a single string while COMPILE_OPTIONS is a list, meaning that cmake will take care of any escaping and quoting automatically.
* vim-patch:8.2.3676: unused runtime file (#16441)Christian Clason2021-11-26
| | | | | Problem: Unused runtime file. Solution: Remove rgb.txt. https://github.com/vim/vim/commit/309ce251897512d42da2b0df0ff100dc303e688a
* build(install): rescan GLOB files on rebuildJakub Łuczyński2021-10-18
|
* cmake: install app icon in XDG hicolor icon theme (#14656)Pino Toscano2021-05-27
| | | | | Install the icon of the application in the hicolor XDG icon theme; this way it can be properly loaded by XDG menus in the currently set XDG icon theme, without looking in the legacy pixmaps location.
* build: fix `doc_html` targetJustin M. Keyes2019-01-04
| | | | ref 24f2cc55a83d #9430
* cmake: runtime: use add_custom_command for tags directly (#9430)Daniel Hahler2019-01-01
| | | | | | | | | | This avoids generating the tags files all the time, and makes `make install` with `CMAKE_INSTALL_MESSAGE=LAZY` much more silent in general. Using `copy_if_different` instead of `remove` + `copy_directory` might be good on top, but is a) not really necessary anymore and b) would not sync removed files. For this `file(COPY` could be used, but would require to re-run cmake on changed input files then.
* build: `make helphtml`Justin M. Keyes2018-11-05
|
* cmake: Comply with new CMP0054 policyJames McCoy2018-06-18
|
* build: Fix CMake target dependency problemb-r-o-c-k2018-03-18
| | | | nvim was being ran before its runtime dependencies were copied.
* build: remove contents of build/runtime/doc/* surgically (#8024)Justin M. Keyes2018-02-19
| | | | | | | | | | | | Only remove the directory contents. If the directory itself is removed, then `sudo make install` creates a root-owned …/doc/ directory. That breaks the next non-root build. This was an accident of 0b1904d835a2. Note: the following does not work, because it misses renamed help files (which would no longer be in the build-tree definition) COMMAND ${CMAKE_COMMAND} -E remove ${BUILDDOCFILES} ${GENERATED_HELP_TAGS}
* runtime: include en.utf-8.splJustin M. Keyes2018-01-15
| | | | | | | Install en.utf-8.spl by default. - Allows spell-related tests to run. - Avoids download prompt for spelllang=en users
* cmake: install *.lua filesJustin M. Keyes2018-01-09
|
* tutor: install metadata files for tutor documentsFelipe Morales2018-01-01
|
* cmake: install runtime/rgb.txtJustin M. Keyes2017-11-12
| | | | closes #6682
* Revert cbda7d8 "build: Revert 464bc16."Björn Linse2017-09-17
| | | | | | | In-tree builds are no longer allowed, so deleting build/docs/ is harmless ref 53eddb8
* runtime: Fix where desktop file and icon are installed (#7072)Nikolai Aleksandrovich Pavlov2017-07-27
| | | | | | | With `xdg-*` utilities CMAKE_INSTALL_PREFIX is incorrectly ignored. Taken from [nvim-qt][1]. For some reason it only checks for !APPLE. [1]: https://github.com/equalsraf/neovim-qt/blob/b26596d164394765a0f757c65e266f5f77587521/src/gui/CMakeLists.txt#L48-L55
* dist: runtime/nvim.desktopMatthieu Coudron2017-01-31
| | | | | | | | | | | | | | | | | | | | | | | Closes #3689 cmake: Add `desktop-install` and `icon-install` targets. `runtime` target will trigger them. Specification: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys Icons are stored system-wide in /usr/share/applications or user wide at /usr/share/icons/hicolor/scalable/apps and can be overriden in ~/.local/share/icons nvim.desktop file can be installed system wide or in ~/.local/share/applications/ To test without an installer: $ xdg-desktop-menu install --novendor runtime/nvim.desktop $ xdg-icon-resource install --novendor --mode user --size 64 contrib/nvim-icon.png Once it is installed, you can test with gtk-launch if installed or dmenu/rofi (drun mode)
* eval: use gperf to generate the hash of builtin functionsBjörn Linse2016-08-31
| | | | make api functions highlighted as builtins in vim.vim
* install: Include *.rb in runtime files.Justin M. Keyes2016-07-10
|
* Generate tags and install docs for included packagesJames McCoy2016-07-08
|
* build: Revert 464bc16.Justin M. Keyes2016-06-18
| | | | | | | | | | | | | This was more trouble than it is worth: - remove_directory fails if doc/ is not owned by the user - some devs build in-tree, then deleting doc/ breaks the build - `make install` isn't affected by the stale files at all: the tags are built before install-time So, reverting this change means only that devs who use a build/ directory will need to delete build/runtime/doc/ on the occasion that we rename a doc file.
* build: Purge docs before rebuilding.Justin M. Keyes2016-06-16
| | | | | | If a help file is renamed, stale help files in the build workspace will cause duplicate tags (which causes the build to fail). To avoid this, always delete build/runtime/doc/ before building helptags.
* build: define `helptags` target which always runs.Justin M. Keyes2016-06-06
| | | | | | | Specify that the ${GENERATED_HELP_TAGS} "command" (output) depends on `helptags` so that it always regenerates the doc/ tags. (cmake "targets" always run, whereas "commands" are contingent on their dependencies. But we don't define doc/ dependencies because they are circular.)
* build: define `doc_html` taskJustin M. Keyes2016-06-06
| | | | Defines a dependency on the doc tags.
* cmake: if helptags generation fails, echo the messageBjörn Linse2016-02-10
|
* CMake: Avoid dependency cycles in helptags targets. #3983lyuts2016-02-03
| | | | | | Declare dependency in terms of directory, rather than individual doc files to avoid target dependency cycles. This still maintains install targets at doc file level.
* Be more explicit about the lack of X11 integrationMichael Reed2015-11-10
| | | | | I don't want anyone getting the idea that the `-X` flag they might have used has anything to do with why the `+` is working for them
* runtime: remove dvorak macro #3325Justin M. Keyes2015-09-10
| | | | | This macro does the same thing as `set keymap=dvorak`, so it serves no purpose.
* runtime: When generating helptags run NeoVim in headless modeZyX2015-08-19
| | | | | | I see that problem fixed by #2801 was resurrected by making help tags file generated in a more direct way. This fixes the hang without using the empty file.
* install tutorial files #3180Felipe Morales2015-08-16
|
* runtime: Do install generated syntax file, also test this. #3160ZyX2015-08-11
| | | | Fixes #3157
* runtime: Remove duplicates and garbage from installationZyX2015-07-27
|
* cmake: Run nvim that generates helptags with proper WORKING_DIRECTORYZyX2015-07-26
|
* cmake: Generate tags and some vim syntax elementsZyX2015-07-26