Skip to content

Releases: flightaware/cpptcl

v2.2.8

02 Jun 04:58
a74bfba
Compare
Choose a tag to compare
  • Fix build on GCC 12+

v2.2.7

08 Jan 00:12
42122de
Compare
Choose a tag to compare
  • Bake the version information, as derived by cmake using git at build time, into the cpptcl library

2.2.6

30 Dec 15:36
af2b418
Compare
Choose a tag to compare
  • Resolve an issue with the cmake config files for nix builds

2.2.5

05 Nov 16:36
563f2b0
Compare
Choose a tag to compare
  • Updates the CMAKE build process to create cmake config files so cpptcl can be included with a find_package(cpptcl) command

Fix builds of example libraries

08 Jan 22:47
4a8759e
Compare
Choose a tag to compare

There was an extra lib in the CMake target names. libcpptcl_module_five -> cpptcl_module_five.
This was fixed for all four example modules. All of the changes are in the CMakeLists.txt files.
The cpptcl API is unchanged.

Install libcpptcl_runtime.a

08 Nov 21:11
9384cf9
Compare
Choose a tag to compare

Install library libcpptcl_runtime.a

Remove using namespace in header file

24 Oct 03:09
f547585
Compare
Choose a tag to compare

Remove using namespace std from header file. Fixes problems with boost over _1, _2, ... tokens.

v2.2.1

18 Apr 22:09
45424b8
Compare
Choose a tag to compare
  • Remove tcl.h from c++ examples
  • Don't build tests and examples by default
  • Fix OS X install problem

Add Tcl_CreateInterpWithStubs and runtime library

12 Dec 21:51
996f40e
Compare
Choose a tag to compare

Add a new C function Tcl_CreateInterpWithStubs to perform a common: Tcl_CreateInterp, Tcl_Init, Tcl_StubsInit, Tcl_PkgRequire.
This saves implementers several lines of code and avoids problems with USE_TCL_STUBS being set at the wrong time. In general, cpptcl users should stick to always setting the preprocessor variable USE_TCL_STUBS. Note that USE_TCL_STUBS will be set by cpptcl.h unless CPPTCL_NO_TCL_STUBS is set. The TCL TEA system always sets USE_TCL_STUBS; it is a reasonable default.

The simplest means to create a TCL interpreter is to use

#include <cpptcl/cpptcl.h>
Tcl_Interp * interp = Tcl_CreateInterpWithStubs("8.6", 0);  // C style pointer
Tcl::interpreter i(interp, true); // wrapped by cpptcl class

and to link in the static library cpptcl_runtime.

Cleanup CMake testing

09 Nov 16:42
a20573f
Compare
Choose a tag to compare

The test configuration now uses a CMake subdirectory. This removes redundant CMake configiurations and Makefile configurations.