Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / thirdparty / clDNN / create_msvc_mscc.bat
1 @REM Copyright (c) 2016 Intel Corporation
2
3 @REM Licensed under the Apache License, Version 2.0 (the "License");
4 @REM you may not use this file except in compliance with the License.
5 @REM You may obtain a copy of the License at
6
7 @REM      http://www.apache.org/licenses/LICENSE-2.0
8
9 @REM Unless required by applicable law or agreed to in writing, software
10 @REM distributed under the License is distributed on an "AS IS" BASIS,
11 @REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 @REM See the License for the specific language governing permissions and
13 @REM limitations under the License.
14
15
16 @setlocal
17 @echo off
18
19 set "ROOT_DIR=%~dp0"
20 set "SOLUTION_TARGET32=Windows32"
21 set "SOLUTION_DIR32=%ROOT_DIR%\build\%SOLUTION_TARGET32%"
22
23 set "SOLUTION_TARGET64=Windows64"
24 set "SOLUTION_DIR64=%ROOT_DIR%\build\%SOLUTION_TARGET64%"
25
26 del %SOLUTION_DIR32%\CMakeCache.txt
27 del %SOLUTION_DIR64%\CMakeCache.txt
28 rmdir /S /Q %SOLUTION_DIR32%\codegen
29 rmdir /S /Q %SOLUTION_DIR64%\codegen
30
31 echo Creating Visual Studio 2015 (Win32) files in %SOLUTION_DIR32%... && ^
32 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%"
33 echo Creating Visual Studio 2015 (x64) files in %SOLUTION_DIR64%... && ^
34 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%"
35
36 echo Done.
37 pause