mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +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?
|
||||
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));
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "support/lassert.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
#include <QString>
|
||||
|
Loading…
Reference in New Issue
Block a user