#!/bin/sh # On 2013-05-14 Arnold wrote in an e-mail: # Toolchain.cmake if ! [ -f ${SRCDIR}/CMakeLists.txt ] ; then echo "The source directory (${SRCDIR}) does not contain a file CMakeLists.txt." exit 1 fi cmake ${PREFIX} ${WHINY} -DCMAKE_TOOLCHAIN_FILE=Toolchain.cmake ${SRCDIR}