Implementation of a C++ interface for the Tcl C API.
You'll need conan installed. This project uses packages provided by the bincrafters. You must add it to your conan installation:
conan remote add bincrafters "https://api.bintray.com/conan/bincrafters/public-conan"
After that, create a build directory, install the dependencies and build:
mkdir build && cd build
conan install ..
cmake ..
cmake -DCMAKE_BUILD_TYPE=Release .. ;# Use debug if you're a developer
make
This project exports compilation commands by default to
compile_commands.json
. This enables integration into language servers like
clangd and
ccls that implement the Language Server
Protocol (LSP). With the appropriate client plugin, any editor can become a fully-fleged IDE.
The compilation database is generated in the directory of build (build
if
you're following the standard build instructions). To avoid any extra
configuration, it is necessary to make a link to that file in the project root:
ln -s build/compile_commands.json ./
Finally, install the appropriate client plugin on your IDE. As examples, there are
- Visual Studio Code: vscode-clangd or vscode-ccls
- Vim: vim-lsp or LanguageClient-neovim
- Emacs: emacs-lsp