robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
1883fe39bd
master
1local M = {} 2 3M.include_paths = {} --- @type string[] 4for p in ("${TEST_INCLUDE_DIRS}" .. ";"):gmatch("[^;]+") do 5 table.insert(M.include_paths, p) 6end 7M.apple_sysroot = "${CMAKE_OSX_SYSROOT}" 8 9M.translations_enabled = "${ENABLE_TRANSLATIONS}" == "ON" 10M.is_asan = "${ENABLE_ASAN_UBSAN}" == "ON" 11M.is_zig_build = false 12M.vterm_test_file = "${VTERM_TEST_FILE}" 13M.test_build_dir = "${CMAKE_BINARY_DIR}" 14M.test_source_path = "${CMAKE_SOURCE_DIR}" 15M.test_lua_prg = "${LUA_PRG}" 16M.test_luajit_prg = "" 17if M.test_luajit_prg == '' then 18 if M.test_lua_prg:sub(-6) == 'luajit' then 19 M.test_luajit_prg = M.test_lua_prg 20 else 21 M.test_luajit_prg = nil 22 end 23end 24table.insert(M.include_paths, "${CMAKE_BINARY_DIR}/include") 25table.insert(M.include_paths, "${CMAKE_BINARY_DIR}/src/nvim/auto") 26 27return M