Add CC and CXX variables to PocoDoc.ini

This commit is contained in:
Francis ANDRE 2017-04-15 12:38:36 +02:00
parent 9a3da4cf82
commit aa19729fc3

View File

@ -117,6 +117,11 @@ for inc in `find $build -name include -print` ; do
includes="$includes,-I$inc" includes="$includes,-I$inc"
done done
: ${CC:=gcc}
: ${CXX:=g++}
echo "CC=$CC" >>$build/PocoDoc.ini
echo "CXX=$CXX" >>$build/PocoDoc.ini
echo "PocoBuild=$build" >>$build/PocoDoc.ini echo "PocoBuild=$build" >>$build/PocoDoc.ini
echo "PocoBase=$POCO_BASE" >>$build/PocoDoc.ini echo "PocoBase=$POCO_BASE" >>$build/PocoDoc.ini
echo "PocoDoc.output=$docPath" >>$build/PocoDoc.ini echo "PocoDoc.output=$docPath" >>$build/PocoDoc.ini