Native VBS and CMake builds of the server and every registered suite: protocol and document sync, VBS/compdb providers, stock GCC diagnostics (including in-process default profile preparation), the stock occurrence observer and hover/definition, the bounded Scheduler, C++ module graph, scan and artifact cache with real CMI production, the context-aware symbol index with schema-2 snapshot migration, navigation and guarded rename, reflection provenance with splice-origin extraction, index-backed completion and signature help, live GCC worker control with a registered DAP suite, and the Neovim and VS Code clients. VoidLibrary follows main. The private GCC 16.2.0 frontend is reproduced from the versioned patches and verified stepping reflection/template code with projected values 17/34 and 41/82.
18 lines
430 B
C++
18 lines
430 B
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
|
|
namespace test {
|
|
|
|
// VBS co-locates a profile's executable and test binaries. The CMake comparison
|
|
// build puts tests in a subdirectory and provides an explicit target path.
|
|
inline std::filesystem::path server_executable() {
|
|
#ifdef VLS_EXECUTABLE
|
|
return VLS_EXECUTABLE;
|
|
#else
|
|
return std::filesystem::read_symlink("/proc/self/exe").parent_path() / "vls";
|
|
#endif
|
|
}
|
|
|
|
} // namespace test
|