-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap.cmd
42 lines (30 loc) · 1007 Bytes
/
bootstrap.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@echo off
REM Grab submodules
REM ---------------------------------------------------
git submodule update --init --recursive
REM Delete existing buildfiles
REM ---------------------------------------------------
rmdir /q /s build
REM set path variables
REM ---------------------------------------------------
set prefix=C:\Hatchet
set path=%prefix%;%path%
set BOOST_ROOT=%prefix%\Boost
set PKG_CONFIG_PATH=%prefix%\lib\pkgconfig
set CMAKE_PREFIX_PATH=%prefix%;C:\Program Files;C:\Program Files (x86);
REM set path variables
REM ---------------------------------------------------
REM nested meson subprojects dont currently work
REM on MSCV. This promotes the nested subprojects.
meson wrap promote miniupnpc
REM Call meson
REM ---------------------------------------------------
meson setup build ^
%meson_vars% ^
-Dcmake_prefix_path="%cmake_path%" ^
-Dprefix="%prefix%"
REM Build lucene
REM ---------------------------------------------------
cd build
%prefix%\bin\ninja
cd ..