aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-01-19 13:21:25 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-01-20 12:59:27 +0100
commitf936a962d04f9937946018cc1386f20bda6fc1de (patch)
treed9830f132b1ee1de25ad8032b183a500a9baaeeb /test/functional
parented103cde28dd6aeb8d240240309c26d3f20060f4 (diff)
downloadrneovim-f936a962d04f9937946018cc1386f20bda6fc1de.tar.gz
rneovim-f936a962d04f9937946018cc1386f20bda6fc1de.tar.bz2
rneovim-f936a962d04f9937946018cc1386f20bda6fc1de.zip
build: create separate targets for nvim with and without runtime files
This distinction is important for correct dependency management, as the nvim binary is used to create some runtime files. The nvim binary (and the target to build it) is thus called `nvim_bin` and the target to build all of nvim (binary+runtime) is called `nvim`.
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/fixtures/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/fixtures/CMakeLists.txt b/test/functional/fixtures/CMakeLists.txt
index 6e64b1e4dc..150407fe46 100644
--- a/test/functional/fixtures/CMakeLists.txt
+++ b/test/functional/fixtures/CMakeLists.txt
@@ -5,7 +5,7 @@ endif()
if(WIN32)
target_compile_definitions(test_lib INTERFACE MSWIN)
endif()
-target_link_libraries(test_lib INTERFACE nvim)
+target_link_libraries(test_lib INTERFACE nvim_bin)
add_executable(tty-test EXCLUDE_FROM_ALL tty-test.c)
add_executable(shell-test EXCLUDE_FROM_ALL shell-test.c)