summaryrefslogtreecommitdiff
path: root/Mkfiles/vc/genperf/run.bat
blob: 64ec1ae3c7edda39de3700d437f9077b7b6dcc9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cd ..\..\..
@echo off
reg query HKCR\Python.File\shell\open\command >nul: 2>&1
goto answer%errorlevel%
:answer0
echo ... building with Python ...
@echo on
modules\arch\x86\gen_x86_insn.py
@echo off
goto end
:answer1
echo ... building without Python ...
goto end
:end
@echo on
%1 x86insn_nasm.gperf x86insn_nasm.c
%1 x86insn_gas.gperf x86insn_gas.c
%1 modules\arch\x86\x86cpu.gperf x86cpu.c
%1 modules\arch\x86\x86regtmod.gperf x86regtmod.c