mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +00:00
Initial open source release of OpenCL 2.1 CTS.
This commit is contained in:
35
build_win.bat
Normal file
35
build_win.bat
Normal file
@@ -0,0 +1,35 @@
|
||||
@ECHO off
|
||||
setlocal ENABLEDELAYEDEXPANSION
|
||||
|
||||
IF DEFINED ProgramFiles(x86) SET ProgFilesDir=%ProgramFiles(x86)%
|
||||
IF NOT DEFINED ProgFilesDir SET ProgFilesDir=%ProgramFiles%
|
||||
|
||||
rem -------------------------------- Update these to match what's on your PC ------------------------------------------------
|
||||
|
||||
SET VCPATH="%ProgFilesDir%\Microsoft Visual Studio 11.0\Common7\IDE\devenv.com"
|
||||
|
||||
SET PATH=%CMAKEPATH%;%PATH%
|
||||
|
||||
rem -------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
setlocal ENABLEDELAYEDEXPANSION
|
||||
|
||||
call "%VS110COMNTOOLS%\vsvars32.bat"
|
||||
|
||||
mkdir build_win
|
||||
pushd build_win
|
||||
IF NOT EXIST CLConform.sln (
|
||||
echo "Solution file not found, running Cmake"
|
||||
cmake -G "Visual Studio 11" ..\
|
||||
) else (
|
||||
echo "Solution file found CLConform.sln "
|
||||
)
|
||||
|
||||
|
||||
|
||||
echo Building CLConform.sln...
|
||||
%VCPATH% CLConform.sln /build
|
||||
|
||||
|
||||
GOTO:EOF
|
||||
|
||||
Reference in New Issue
Block a user