-
Notifications
You must be signed in to change notification settings - Fork 2
/
bootstrap.bat
52 lines (40 loc) · 834 Bytes
/
bootstrap.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@echo off
if not exist build mkdir build
cd build
if not exist vs14 mkdir vs14
if not exist vs15 mkdir vs15
if not exist clang mkdir clang
if not exist intel mkdir intel
if not exist gcc mkdir gcc
REM MSVC 14.0
echo.
echo Generating MSVC 14.0 files
cd vs14
cmake -G "Visual Studio 14 2015 Win64" ../../
cd ..
REM MSVC 15.0
echo.
echo Generating MSVC 15.0 files
cd vs15
cmake -G "Visual Studio 15 2017 Win64" ../../
cd ..
REM CLANG
echo.
echo Generating Clang files
cd clang
cmake -G "Visual Studio 14 2015 Win64" -T "LLVM-vs2014" ../../
cd..
REM INTEL
echo.
echo Generating Intel files
cd intel
cmake -G "Visual Studio 14 2015 Win64" -T "Intel C++ Compiler 17.0" ../../
cd..
REM GCC
echo.
echo Generating GCC files
cd gcc
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release ../../
cd..
REM leave build folder
cd ..