Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2ffe6cb2e67c8685dd63268b79b9f5babf7df921 (plain) (blame)
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
@rem ***************************************************************************
@rem Copyright (c) 2011 Wind River Systems, Inc. and others.
@rem All rights reserved. This program and the accompanying materials
@rem are made available under the terms of the Eclipse Public License v1.0
@rem and Eclipse Distribution License v1.0 which accompany this distribution.
@rem The Eclipse Public License is available at
@rem http://www.eclipse.org/legal/epl-v10.html
@rem and the Eclipse Distribution License is available at
@rem http://www.eclipse.org/org/documents/edl-v10.php.
@rem You may elect to redistribute this code under either of these licenses.
@rem
@rem Contributors:
@rem     Wind River Systems - initial API and implementation
@rem ***************************************************************************
@echo off
REM The Visual C++ compiler must be in your path
REM This is handled automatically with CDT's Visual C++ integration

if exist msvc-release goto checkmk
mkdir msvc-release

:checkmk
cd msvc-release
if exist Makefile goto dobuild
@echo on
cmake -DCMAKE_BUILD_TYPE=Release ..\..

:dobuild
@echo on
nmake %*

Back to the top