File: generate_conan.cmd

package info (click to toggle)
cyrus-sasl2 2.1.28%2Bdfsg1-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,836 kB
  • sloc: ansic: 47,406; sh: 4,949; xml: 1,423; makefile: 735; python: 332
file content (21 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
set vsversion=%1
set arch=%2
set usedebug=%3
set platform=%4
set configuration=%5

set build_type=Release
if %usedebug%==true (
  set build_type=Debug
)

set conan_arch=%arch%
if not %arch%==x86 (
  set conan_arch=x86_64
)

set vsversion=%vsversion:~0,2%

mkdir conan\%platform%\%configuration%
cd conan\%platform%\%configuration%
conan install ..\..\.. -s compiler="Visual Studio" -s compiler.version=%vsversion% -s arch=%conan_arch% -s build_type=%build_type%