mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Update lyx-build script and add header file for Windows.
This commit is contained in:
parent
27825f7cbe
commit
092bc93903
@ -22,12 +22,20 @@ COMPILE="YES";
|
|||||||
# Make patch file?
|
# Make patch file?
|
||||||
PATCH="YES";
|
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
|
case $opt in
|
||||||
C ) COMPILE="";; # don't test compilation
|
C ) COMPILE="";; # don't test compilation
|
||||||
m ) MAKEOPTS="$OPTARG";;
|
m ) MAKEOPTS="$OPTARG";;
|
||||||
P ) PATCH="";; # don't build patch files
|
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
|
esac
|
||||||
done
|
done
|
||||||
shift $(($OPTIND - 1));
|
shift $(($OPTIND - 1));
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include "support/lassert.h"
|
#include "support/lassert.h"
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
Loading…
Reference in New Issue
Block a user