#!/bin/bash

if [ "$1" == "" ]; then
  if [ "$2" == "64" ]; then
    # set environment variables used by OCCT
    export CSF_FPE=0

    export TCL_DIR="${THIRDPARTY_DIR}/lib"
    export TK_DIR="${THIRDPARTY_DIR}/lib"
    export FREETYPE_DIR="${THIRDPARTY_DIR}/lib"
    export FREEIMAGE_DIR="${THIRDPARTY_DIR}/lib:"
    export TBB_DIR="${THIRDPARTY_DIR}/libexec/onetbb/lib"
    export VTK_DIR=""
    export FFMPEG_DIR=""
    export JEMALLOC_DIR=""

    if [ "x" != "x" ]; then
      export QTDIR=""
    fi

    export TCL_VERSION_WITH_DOT=""
    export TK_VERSION_WITH_DOT=""

    export CSF_OCCTBinPath="${CASROOT}/bin"
    export CSF_OCCTLibPath="${CASROOT}/lib"
    export CSF_OCCTIncludePath="${CASROOT}/include/opencascade"
    export CSF_OCCTResourcePath="${CASROOT}/share/opencascade/resources"
    export CSF_OCCTDataPath="${CASROOT}/share/opencascade/data"
    export CSF_OCCTSamplesPath="${CASROOT}/share/opencascade/samples"
    export CSF_OCCTTestsPath="${CASROOT}/share/opencascade/tests"
    export CSF_OCCTDocPath="${CASROOT}/share/doc/opencascade"
  fi
fi

