FindCABLE

尋找 CABLE

此模組會尋找 CABLE 是否已安裝,並確定 include 檔和函式庫的位置。此程式碼會設定以下變數

CABLE             the path to the cable executable
CABLE_TCL_LIBRARY the path to the Tcl wrapper library
CABLE_INCLUDE_DIR the path to the include directory

若要建置 Tcl 封裝器,您應加入共享函式庫,並將其連結到 ${CABLE_TCL_LIBRARY}。您也應加入 ${CABLE_INCLUDE_DIR} 作為 include 目錄。