Update lyx-build script and add header file for Windows.

This commit is contained in:
Richard Kimberly Heck 2020-06-01 16:10:47 -04:00
parent 27825f7cbe
commit 092bc93903
2 changed files with 11 additions and 2 deletions

View File

@ -22,12 +22,20 @@ COMPILE="YES";
# Make patch file?
PATCH="YES";
while getopts ":Cm:P" opt; do
function usage() {
echo "lyx-build [-C] [-m MAKEARGS[ [-P]";
echo " -C: Do not test compilation";
echo " -m MAKEARGS: Arguments for make";
echo " -P: Do not build patch files";
}
while getopts ":Cm:Ph" opt; do
case $opt in
C ) COMPILE="";; # don't test compilation
m ) MAKEOPTS="$OPTARG";;
P ) PATCH="";; # don't build patch files
\? ) echo "Unknown option $opt"; exit 1;;
h ) usage; exit 0;;
\? ) echo "Unknown option $opt"; usage; exit 1;;
esac
done
shift $(($OPTIND - 1));

View File

@ -32,6 +32,7 @@
#include "support/lassert.h"
#include <cstdlib>
#include <iostream>
#include <vector>
#include <QString>