diff options
author | James McCoy <jamessan@jamessan.com> | 2018-01-22 12:27:14 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2018-01-22 14:16:31 -0500 |
commit | 41a91af5cf14903d5e7db969e3bd74d39d311909 (patch) | |
tree | c70e5ad96c1ff4a6818990f4e879e1388188bb0e /src/clint.py | |
parent | 59ac1703407ef88ed2a1e5ed7032dfb115f5d2ba (diff) | |
download | rneovim-41a91af5cf14903d5e7db969e3bd74d39d311909.tar.gz rneovim-41a91af5cf14903d5e7db969e3bd74d39d311909.tar.bz2 rneovim-41a91af5cf14903d5e7db969e3bd74d39d311909.zip |
cmake: Use generator expression to determine libnvim-test path
Prior to CMake 2.8.12, generator expressions could only be used in
custom commands so the path to libnvim-test in test/config/paths.lua was
set by inspecting the target's LOCATION property. Post 2.8.12, the
file(GENERATE) command exists to handle this, but it can't interpolate
normal CMake variables.
In order to bridge the gap while < 2.8.12 is supported, use
configure_file() to create paths.lua.gen with the
$<TARGET_FILE:nvim-test> generator expression and then generate the
final paths.lua file.
Closes #7077
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions