-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild_native_image.bat
More file actions
30 lines (28 loc) · 1.12 KB
/
build_native_image.bat
File metadata and controls
30 lines (28 loc) · 1.12 KB
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
@echo off
REM NoteFly a note application.
REM Copyright (C) 2012 Tom
REM
REM This program is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation, either version 3 of the License, or
REM (at your option) any later version.
REM
REM This program is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM
REM You should have received a copy of the GNU General Public License
REM along with this program. If not, see <http://www.gnu.org/licenses/>.
echo Start generating a native image of NoteFly.
echo.
set projectfolder = "M:\Public\sourcecode\Projects_Csharp\notefly"
IF NOT EXIST %projectfolder% GOTO PROJECTFOLDERUNSET
"%windir%\Microsoft.NET\Framework\v2.0.50727\ngen.exe" %projectfolder%\bin\release\NoteFly.exe /verbose
echo.
echo Done generating a native image of NoteFly.
pause
exit
:PROJECTFOLDERUNSET
echo Project folder not found.
pause