Skip to content

eullerborges/tcl-cpp-interface

Repository files navigation

tcl-cpp-interface

Implementation of a C++ interface for the Tcl C API.

Development

Building

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

Code navigation and autocompletion

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

About

Implementation of a C++ interface for the Tcl C API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published