mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
4c25e60767
These were imported from the v0.3.3 git tag https://github.com/neovim/libvterm/tree/v0.3.3 and not the latest commit. This is for compatibility reasons as the libvterm code was imported from v0.3.3.
24 lines
612 B
Lua
24 lines
612 B
Lua
local M = {}
|
|
|
|
M.include_paths = {}
|
|
for p in ("${TEST_INCLUDE_DIRS}" .. ";"):gmatch("[^;]+") do
|
|
table.insert(M.include_paths, p)
|
|
end
|
|
|
|
M.vterm_test_file = "${VTERM_TEST_FILE}"
|
|
M.test_build_dir = "${CMAKE_BINARY_DIR}"
|
|
M.test_source_path = "${CMAKE_SOURCE_DIR}"
|
|
M.test_lua_prg = "${LUA_PRG}"
|
|
M.test_luajit_prg = ""
|
|
if M.test_luajit_prg == '' then
|
|
if M.test_lua_prg:sub(-6) == 'luajit' then
|
|
M.test_luajit_prg = M.test_lua_prg
|
|
else
|
|
M.test_luajit_prg = nil
|
|
end
|
|
end
|
|
table.insert(M.include_paths, "${CMAKE_BINARY_DIR}/include")
|
|
table.insert(M.include_paths, "${CMAKE_BINARY_DIR}/src/nvim/auto")
|
|
|
|
return M
|