FindTclsh

Finds the Tcl shell command-line executable (tclsh), which includes the Tcl (Tool Command Language) interpreter.

結果變數

This module defines the following variables:

Tclsh_FOUND

Boolean indicating whether the tclsh executable (and the requested version, if specified) is found. For backward compatibility, the TCLSH_FOUND variable is also set to the same value.

快取變數

The following cache variables may also be set:

TCL_TCLSH

The path to the tclsh executable.

範例

Finding the tclsh command-line executable:

find_package(Tclsh)

另請參見

  • The FindTCL module to find the Tcl installation.

  • The FindTclStub module to find the Tcl Stubs Library.