Finds the Tcl (Tool Command Language), dynamic programming language.
This module locates a Tcl installation, including its include directories and libraries, and determines the appropriate Tcl library name for linking. As part of the Tcl ecosystem, it also finds Tk, a GUI toolkit that provides a library of basic widgets for building graphical user interfaces.
This module defines the following variables:
TCL_FOUNDBoolean indicating whether the Tcl is found.
TK_FOUNDBoolean indicating whether the Tk is found.
TCLTK_FOUNDBoolean indicating whether both Tcl and Tk are found.
The following cache variables may also be set:
TCL_LIBRARYThe path to the Tcl library (e.g., tcl, etc.).
TCL_INCLUDE_PATHThe directory containing tcl.h and other Tcl-related headers needed to use
Tcl.
TCL_TCLSHThe path to the tclsh command-line executable.
TK_LIBRARYThe path to the Tk library (e.g., tk, etc.).
TK_INCLUDE_PATHThe directory containing tk.h and other Tk-related headers needed to use
Tk.
TK_WISHThe path to the wish windowing shell command-line executable.
The Tcl Stub Library can be found using the separate FindTclStub
module.
Finding Tcl:
find_package(TCL)
The FindTclsh module to find the Tcl shell command-line executable.
The FindTclStub module to find the Tcl Stubs Library.
The FindWish module to find the wish windowing shell
command-line executable .