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 目錄。