mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
13 lines
331 B
Batchfile
13 lines
331 B
Batchfile
@echo off
|
|
|
|
set VS=12
|
|
if "%configuration%"=="2015" (set VS=14)
|
|
if "%configuration%"=="2013" (set VS=12)
|
|
|
|
if not defined platform set platform=x64
|
|
if "%platform%" EQU "x64" (set VS=%VS% Win64)
|
|
|
|
cmake -H. -Bbuild -G"Visual Studio %VS%"
|
|
cmake --build build --config Release
|
|
copy build\Release\luv.dll .
|
|
copy build\Release\luajit.exe .
|