forked from intel/clDNN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate_msvc_mscc.bat
executable file
·34 lines (23 loc) · 1.36 KB
/
create_msvc_mscc.bat
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
@REM Copyright (c) 2016 Intel Corporation
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
@REM You may obtain a copy of the License at
@REM http://www.apache.org/licenses/LICENSE-2.0
@REM Unless required by applicable law or agreed to in writing, software
@REM distributed under the License is distributed on an "AS IS" BASIS,
@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@REM See the License for the specific language governing permissions and
@REM limitations under the License.
@setlocal
@echo off
set "ROOT_DIR=%~dp0"
set "SOLUTION_TARGET32=Windows32"
set "SOLUTION_DIR32=%ROOT_DIR%\build\%SOLUTION_TARGET32%"
set "SOLUTION_TARGET64=Windows64"
set "SOLUTION_DIR64=%ROOT_DIR%\build\%SOLUTION_TARGET64%"
echo Creating Visual Studio 2015 (Win32) files in %SOLUTION_DIR32%... && ^
cd "%ROOT_DIR%" && cmake -E make_directory "%SOLUTION_DIR32%" && cd "%SOLUTION_DIR32%" && cmake -G "Visual Studio 14 2015" "-DCLDNN__ARCHITECTURE_TARGET=%SOLUTION_TARGET32%" "%ROOT_DIR%"
echo Creating Visual Studio 2015 (x64) files in %SOLUTION_DIR64%... && ^
cd "%ROOT_DIR%" && cmake -E make_directory "%SOLUTION_DIR64%" && cd "%SOLUTION_DIR64%" && cmake -G "Visual Studio 14 2015 Win64" "-DCLDNN__ARCHITECTURE_TARGET=%SOLUTION_TARGET64%" "%ROOT_DIR%"
echo Done.
pause