Skip to content

Commit 6b96a41

Browse files
committed
Submit build scripts.
1 parent dd82ae4 commit 6b96a41

File tree

8 files changed

+114
-0
lines changed

8 files changed

+114
-0
lines changed

Build/BuildCurrentBranch.bat

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
@echo off
2+
setlocal
3+
set _msbuildpath=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
4+
"%_msbuildpath%" ..\LibTessDotNet.sln /t:Clean /p:Configuration=Release
5+
"%_msbuildpath%" ..\LibTessDotNet.sln /t:Build /p:Configuration=Release
6+
7+
del Release\*.pdb
8+
9+
LibZ\libz.exe inject-dll --assembly Release\TessBed.exe --include Release\Poly2Tri.dll --move
10+
11+
copy Instructions.txt Release\Instructions.txt
12+
copy ..\LICENSE.txt Release\MITLicense.txt
13+
14+
set /P _version=Enter version || set _version=NONE
15+
if "%_version%"=="NONE" goto :error
16+
set _version="LibTessDotNet-%_version%"
17+
18+
move Release "%_version%"
19+
20+
Zip\zip.exe -r "%_version%.zip" "%_version%"
21+
22+
del /S /Q "%_version%"
23+
rd /S /Q "%_version%"
24+
25+
goto :eof
26+
27+
:error
28+
echo Version required
29+
goto :eof

Build/Instructions.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
LibTess.NET - https://github.com/speps/LibTessDotNet
2+
3+
C# port of the famous GLU Tessellator
4+
5+
6+
Using LibTessDotNet.dll
7+
=======================
8+
9+
Visual Studio
10+
-------------
11+
12+
Right click on the project "References" folder, select "Add Reference". Click on "Browse" and select LibTessDotNet.dll.
13+
14+
Unity3D
15+
-------
16+
17+
Place LibTessDotNet.dll inside a "Assets\Plugins" folder. Put "using LibTessDotNet" on the top of .cs scripts or directly use the Tess class inside .js scripts.
18+
19+
20+
About TessBed.exe
21+
=================
22+
23+
This program is a running example of the library and is not needed for LibTessDotNet.dll to run.

Build/LibZ/README.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
LibZ 1.0.3.7 from https://libz.codeplex.com/ retrieved on 2013-11-19
2+
Under Ms-PL licence.

Build/LibZ/doboz.libzcodec

23.6 KB
Binary file not shown.

Build/LibZ/libz.exe

535 KB
Binary file not shown.

Build/LibZ/lz4.libzcodec

115 KB
Binary file not shown.

Build/Zip/LICENSE

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
This is version 2007-Mar-4 of the Info-ZIP license.
2+
The definitive version of this document should be available at
3+
ftp://ftp.info-zip.org/pub/infozip/license.html indefinitely and
4+
a copy at http://www.info-zip.org/pub/infozip/license.html.
5+
6+
7+
Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
8+
9+
For the purposes of this copyright and license, "Info-ZIP" is defined as
10+
the following set of individuals:
11+
12+
Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,
13+
Jean-loup Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth,
14+
Dirk Haase, Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,
15+
David Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko,
16+
Steve P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs,
17+
Kai Uwe Rommel, Steve Salisbury, Dave Smith, Steven M. Schweda,
18+
Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von Behren,
19+
Rich Wales, Mike White.
20+
21+
This software is provided "as is," without warranty of any kind, express
22+
or implied. In no event shall Info-ZIP or its contributors be held liable
23+
for any direct, indirect, incidental, special or consequential damages
24+
arising out of the use of or inability to use this software.
25+
26+
Permission is granted to anyone to use this software for any purpose,
27+
including commercial applications, and to alter it and redistribute it
28+
freely, subject to the above disclaimer and the following restrictions:
29+
30+
1. Redistributions of source code (in whole or in part) must retain
31+
the above copyright notice, definition, disclaimer, and this list
32+
of conditions.
33+
34+
2. Redistributions in binary form (compiled executables and libraries)
35+
must reproduce the above copyright notice, definition, disclaimer,
36+
and this list of conditions in documentation and/or other materials
37+
provided with the distribution. The sole exception to this condition
38+
is redistribution of a standard UnZipSFX binary (including SFXWiz) as
39+
part of a self-extracting archive; that is permitted without inclusion
40+
of this license, as long as the normal SFX banner has not been removed
41+
from the binary or disabled.
42+
43+
3. Altered versions--including, but not limited to, ports to new operating
44+
systems, existing ports with new graphical interfaces, versions with
45+
modified or added functionality, and dynamic, shared, or static library
46+
versions not from Info-ZIP--must be plainly marked as such and must not
47+
be misrepresented as being the original source or, if binaries,
48+
compiled from the original source. Such altered versions also must not
49+
be misrepresented as being Info-ZIP releases--including, but not
50+
limited to, labeling of the altered versions with the names "Info-ZIP"
51+
(or any variation thereof, including, but not limited to, different
52+
capitalizations), "Pocket UnZip," "WiZ" or "MacZip" without the
53+
explicit permission of Info-ZIP. Such altered versions are further
54+
prohibited from misrepresentative use of the Zip-Bugs or Info-ZIP
55+
e-mail addresses or the Info-ZIP URL(s), such as to imply Info-ZIP
56+
will provide support for the altered versions.
57+
58+
4. Info-ZIP retains the right to use the names "Info-ZIP," "Zip," "UnZip,"
59+
"UnZipSFX," "WiZ," "Pocket UnZip," "Pocket Zip," and "MacZip" for its
60+
own source and binary releases.

Build/Zip/zip.exe

132 KB
Binary file not shown.

0 commit comments

Comments
 (0)