Removed old Installers
This commit is contained in:
parent
f817941635
commit
8f229c0d72
8 changed files with 0 additions and 622 deletions
|
@ -1,79 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Documentation'">
|
||||
<OutputPath>.</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
||||
<OutputPath>.</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||||
<OutputPath>.</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Nsis'">
|
||||
<OutputPath>.</OutputPath>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{ADC34399-7613-44D2-90B2-19250F06FE7A}</ProjectGuid>
|
||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AssemblyName>Build.Installer.Nsis</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Documentation|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Nsis|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMinimal|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>.</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseMinimal|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>.</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<None Include="opentk.nsi" />
|
||||
</ItemGroup>
|
||||
<Target Name="Build">
|
||||
<Exec Command="makensis opentk.nsi" />
|
||||
<ReadLinesFromFile File="../../Timestamp.txt">
|
||||
<Output TaskParameter="Lines" ItemName="Version" />
|
||||
</ReadLinesFromFile>
|
||||
<Move SourceFiles=".\opentk.exe" DestinationFiles="@(Version->'../../opentk-%(Identity).exe')" />
|
||||
</Target>
|
||||
<Target Name="Clean">
|
||||
<CreateItem Include=".\opentk.exe;..\..\opentk-*.exe">
|
||||
<Output TaskParameter="Include" ItemName="FilesToDelete" />
|
||||
</CreateItem>
|
||||
<Delete Files="@(FilesToDelete)" />
|
||||
</Target>
|
||||
<Target Name="Rebuild">
|
||||
<CallTarget Targets="Clean" />
|
||||
<CallTarget Targets="Build" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,247 +0,0 @@
|
|||
; Script generated by the HM NIS Edit Script Wizard.
|
||||
RequestExecutionLevel user
|
||||
|
||||
!include x64.nsh
|
||||
!include WordFunc.nsh
|
||||
!insertmacro VersionCompare
|
||||
!include LogicLib.nsh
|
||||
|
||||
SetCompressor /SOLID lzma
|
||||
|
||||
; HM NIS Edit Wizard helper defines
|
||||
!define PRODUCT_NAME "OpenTK"
|
||||
!define PRODUCT_VERSION "1.1" ; To be replaced by Build.exe
|
||||
!define PRODUCT_PUBLISHER "The Open Toolkit team"
|
||||
!define PRODUCT_WEB_SITE "http://www.opentk.com"
|
||||
!define PRODUCT_UNINST_KEY "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
|
||||
!define DOTNET20_PUBLIC_ASSEMBLIES_KEY "SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\${PRODUCT_NAME} ${PRODUCT_VERSION}"
|
||||
|
||||
!define MULTIUSER_EXECUTIONLEVEL User
|
||||
!define MULTIUSER_INSTALLMODE_DEFAULT_CURRENTUSER
|
||||
!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "SHELL_CONTEXT"
|
||||
!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME "InstallDir"
|
||||
!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_KEY "SHELL_CONTEXT"
|
||||
!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_VALUENAME "InstallDir"
|
||||
!define MULTIUSER_INSTALLMODE_INSTDIR "${PRODUCT_NAME}\${PRODUCT_VERSION}"
|
||||
;!include MultiUser.nsh ; Doesn't really do what we need to (goes to AppData instead of Documents, no x64 support)
|
||||
|
||||
; MUI 1.67 compatible ------
|
||||
!include "MUI.nsh"
|
||||
|
||||
; MUI Settings
|
||||
!define MUI_ABORTWARNING
|
||||
!define MUI_ICON "..\..\Source\Examples\Resources\App.ico"
|
||||
!define MUI_UNICON "..\..\Source\Examples\Resources\App.ico"
|
||||
|
||||
; Language Selection Dialog Settings
|
||||
!define MUI_LANGDLL_REGISTRY_ROOT "${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY}"
|
||||
!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
|
||||
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
|
||||
|
||||
; Welcome page
|
||||
;!insertmacro MUI_PAGE_WELCOME
|
||||
; License page;
|
||||
!insertmacro MUI_PAGE_LICENSE "..\..\Documentation\License.txt"
|
||||
; Directory page
|
||||
!insertmacro MUI_PAGE_DIRECTORY
|
||||
; Components page
|
||||
!insertmacro MUI_PAGE_COMPONENTS
|
||||
; Instfiles page
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
; Finish page
|
||||
!insertmacro MUI_PAGE_FINISH
|
||||
|
||||
; Uninstaller pages
|
||||
!insertmacro MUI_UNPAGE_INSTFILES
|
||||
|
||||
; Language files
|
||||
!insertmacro MUI_LANGUAGE "English"
|
||||
|
||||
; Reserve files
|
||||
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
|
||||
|
||||
; MUI END ------
|
||||
|
||||
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
|
||||
OutFile "opentk.exe"
|
||||
InstallDir "${MULTIUSER_INSTALLMODE_INSTDIR}"
|
||||
ShowInstDetails show
|
||||
ShowUnInstDetails show
|
||||
|
||||
Function .onInit
|
||||
StrCpy $INSTDIR "$DOCUMENTS\${MULTIUSER_INSTALLMODE_INSTDIR}"
|
||||
!insertmacro MUI_LANGDLL_DISPLAY
|
||||
FunctionEnd
|
||||
|
||||
; The "" makes the section hidden.
|
||||
Section "" SecUninstallPrevious
|
||||
|
||||
Call UninstallPrevious
|
||||
|
||||
SectionEnd
|
||||
|
||||
Function UninstallPrevious
|
||||
|
||||
; Check for uninstaller.
|
||||
ReadRegStr $R0 ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString"
|
||||
ReadRegStr $R1 ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${PRODUCT_UNINST_KEY}" "InstallDir"
|
||||
|
||||
${If} $R0 == ""
|
||||
Goto Done
|
||||
${EndIf}
|
||||
|
||||
DetailPrint "Removing previous installation."
|
||||
|
||||
; Run the uninstaller silently.
|
||||
; The "if" is necessary becaused older installer versions
|
||||
; did not set "InstallDir".
|
||||
CopyFiles "$R0" "$TEMP\uninst.exe"
|
||||
${If} $R1 != ""
|
||||
ExecWait '$TEMP\uninst.exe /S _?=$R1'
|
||||
${Else}
|
||||
Push $R0
|
||||
Call GetParent
|
||||
Pop $R0
|
||||
ExecWait '$TEMP\uninst.exe /S _?=$R0'
|
||||
${EndIf}
|
||||
|
||||
Done:
|
||||
|
||||
FunctionEnd
|
||||
|
||||
; GetParent
|
||||
; input, top of stack (e.g. C:\Program Files\Poop)
|
||||
; output, top of stack (replaces, with e.g. C:\Program Files)
|
||||
; modifies no other variables.
|
||||
;
|
||||
; Usage:
|
||||
; Push "C:\Program Files\Directory\Whatever"
|
||||
; Call GetParent
|
||||
; Pop $R0
|
||||
; ; at this point $R0 will equal "C:\Program Files\Directory"
|
||||
Function GetParent
|
||||
|
||||
Exch $R0
|
||||
Push $R1
|
||||
Push $R2
|
||||
Push $R3
|
||||
|
||||
StrCpy $R1 0
|
||||
StrLen $R2 $R0
|
||||
|
||||
loop:
|
||||
IntOp $R1 $R1 + 1
|
||||
IntCmp $R1 $R2 get 0 get
|
||||
StrCpy $R3 $R0 1 -$R1
|
||||
StrCmp $R3 "\" get
|
||||
Goto loop
|
||||
|
||||
get:
|
||||
StrCpy $R0 $R0 -$R1
|
||||
|
||||
Pop $R3
|
||||
Pop $R2
|
||||
Pop $R1
|
||||
Exch $R0
|
||||
|
||||
FunctionEnd
|
||||
|
||||
Section "Core library" SEC01
|
||||
SectionIn RO
|
||||
|
||||
${If} $INSTDIR == $PROGRAMFILES
|
||||
${OrIf} $INSTDIR == $DOCUMENTS
|
||||
${OrIf} $INSTDIR == $DESKTOP
|
||||
${OrIf} $INSTDIR == $WINDIR
|
||||
${OrIf} $INSTDIR == $SYSDIR
|
||||
${OrIf} $INSTDIR == $PROFILE
|
||||
MessageBox MB_OK "Cannot install directly under $INSTDIR. Please specify a subfolder."
|
||||
Abort
|
||||
${EndIf}
|
||||
|
||||
SetOutPath $INSTDIR
|
||||
File /r /x *.vshost.exe /x *.vshost.exe.manifest /x *.log ..\..\Binaries
|
||||
File /r /x .svn /x obj /x Source /x Source\*.* ..\..\Documentation
|
||||
File /r ..\..\Dependencies
|
||||
SetOutPath $INSTDIR\Source\Examples
|
||||
File /r /x .svn /x obj /x *.snk /x *.user /x *.pidb /x html /x latex /x OpenTK*.xml ..\..\Source\Examples
|
||||
SectionEnd
|
||||
|
||||
Section "Source code" SEC02
|
||||
SetOutPath $INSTDIR
|
||||
File /r /x .svn /x obj /x *.snk /x *.user /x *.pidb /x html /x latex /x OpenTK*.xml ..\..\Source
|
||||
File /r /x .svn ..\..\*.csproj
|
||||
File ..\..\*.sln
|
||||
File ..\..\OpenTK.snk
|
||||
File /r /x .svn /x obj /x lib /x bin /x opentk /x opentk-actual.* /x *.exe /x *.msi /x *.deb /x *.rpm /x *.zip /x *.nupkg ..\..\Installers
|
||||
SectionEnd
|
||||
|
||||
Section -AdditionalIcons
|
||||
SetOutPath $INSTDIR
|
||||
CreateDirectory "$SMPROGRAMS\OpenTK"
|
||||
|
||||
SetOutPath "$INSTDIR\Binaries\OpenTK\Release" ; Make sure the working directory is correct
|
||||
CreateShortCut "$SMPROGRAMS\OpenTK\OpenTK Example Browser.lnk" "$INSTDIR\Binaries\OpenTK\Release\Examples.exe"
|
||||
SetOutPath $INSTDIR
|
||||
|
||||
CreateShortCut "$SMPROGRAMS\OpenTK\OpenGL Reference.lnk" "$INSTDIR\Documentation\OpenGL 4.4 API Reference.pdf"
|
||||
CreateShortCut "$SMPROGRAMS\OpenTK\Documentation.lnk" "$INSTDIR\Documentation\"
|
||||
SectionEnd
|
||||
|
||||
Section -Post
|
||||
${If} ${RunningX64}
|
||||
SetRegView 64
|
||||
${EndIf}
|
||||
WriteUninstaller "$INSTDIR\uninst.exe"
|
||||
WriteRegStr ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
|
||||
WriteRegStr ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${PRODUCT_UNINST_KEY}" "InstallDir" "$INSTDIR"
|
||||
WriteRegStr ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
|
||||
WriteRegStr ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
|
||||
WriteRegStr ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
|
||||
WriteRegStr ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
|
||||
WriteRegStr ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${DOTNET20_PUBLIC_ASSEMBLIES_KEY}" "" "$INSTDIR\Binaries\OpenTK\Release"
|
||||
SectionEnd
|
||||
|
||||
LangString DESC_Section1 ${LANG_ENGLISH} "Installs the Open Toolkit library, documentation and samples."
|
||||
LangString DESC_Section2 ${LANG_ENGLISH} "Installs the source code for the Open Toolkit library."
|
||||
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC01} $(DESC_Section1)
|
||||
!insertmacro MUI_DESCRIPTION_TEXT ${SEC02} $(DESC_Section2)
|
||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
||||
|
||||
Function un.onUninstSuccess
|
||||
HideWindow
|
||||
FunctionEnd
|
||||
|
||||
Function un.onInit
|
||||
!insertmacro MUI_UNGETLANGUAGE
|
||||
IfSilent +3
|
||||
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you wish to completely uninstall $(^Name) and all of its components?" IDYES +2
|
||||
Abort
|
||||
FunctionEnd
|
||||
|
||||
Section Uninstall
|
||||
${If} ${RunningX64}
|
||||
SetRegView 64
|
||||
${EndIf}
|
||||
|
||||
Delete "$INSTDIR\${PRODUCT_NAME}.url"
|
||||
Delete "$INSTDIR\uninst.exe"
|
||||
|
||||
RMDir /r "$SMPROGRAMS\OpenTK"
|
||||
|
||||
Delete "$INSTDIR\*.sln"
|
||||
Delete "$INSTDIR\Build.exe"
|
||||
Delete "$INSTDIR\*.log"
|
||||
RMDir /r "$INSTDIR\Installers"
|
||||
RMDir /r "$INSTDIR\Source"
|
||||
RMDir /r "$INSTDIR\Documentation"
|
||||
RMDir /r "$INSTDIR\Binaries"
|
||||
RMDir "$INSTDIR"
|
||||
|
||||
|
||||
DeleteRegKey ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${PRODUCT_UNINST_KEY}"
|
||||
DeleteRegKey ${MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY} "${DOTNET20_PUBLIC_ASSEMBLIES_KEY}"
|
||||
SetAutoClose true
|
||||
SectionEnd
|
|
@ -1,114 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Documentation'">
|
||||
<OutputPath>.\obj\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
||||
<OutputPath>.\obj\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||||
<OutputPath>.\obj\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Nsis'">
|
||||
<OutputPath>.\obj\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{ADC34399-7613-44D2-90B2-19250F12FE7B}</ProjectGuid>
|
||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||
<OutputPath>.\obj\</OutputPath>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AssemblyName>Build.Installer.Nuget</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Documentation|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>obj\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>obj\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>obj\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Nsis|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>obj\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMinimal|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>obj\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseMinimal|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>obj\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<Target Name="Build">
|
||||
<!-- Copy built files to the tree format expected by nuget -->
|
||||
<CreateItem Include="../../Binaries/OpenTK/Release/OpenTK*">
|
||||
<Output TaskParameter="Include" ItemName="Binaries" />
|
||||
</CreateItem>
|
||||
<Copy SourceFiles="@(Binaries)" DestinationFolder="./lib/net20" />
|
||||
<!-- Update version information -->
|
||||
<ReadLinesFromFile File="../../Version.txt">
|
||||
<Output TaskParameter="Lines" ItemName="Version" />
|
||||
</ReadLinesFromFile>
|
||||
<!-- Execute nuget script -->
|
||||
<Exec Command="nuget.exe pack OpenTK.Next.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" />
|
||||
<Exec Command="nuget.exe pack OpenTK.Next.GLControl.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" />
|
||||
<Exec Command="mono nuget.exe pack OpenTK.Next.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" />
|
||||
<Exec Command="mono nuget.exe pack OpenTK.Next.GLControl.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" />
|
||||
<!-- Copy the nuget archive to the root directory and add a date stamp -->
|
||||
<CreateItem Include="OpenTK.Next*.nupkg">
|
||||
<Output TaskParameter="Include" ItemName="NugetPackage" />
|
||||
</CreateItem>
|
||||
<Copy SourceFiles="@(NugetPackage)" DestinationFolder="../../" />
|
||||
</Target>
|
||||
<Target Name="Clean">
|
||||
<CreateItem Include="OpenTK.Next.*.nupkg;lib/**">
|
||||
<Output TaskParameter="Include" ItemName="FilesToDelete" />
|
||||
</CreateItem>
|
||||
<Delete Files="@(FilesToDelete)" />
|
||||
</Target>
|
||||
<Target Name="Rebuild">
|
||||
<CallTarget Targets="Clean" />
|
||||
<CallTarget Targets="Build" />
|
||||
</Target>
|
||||
<ItemGroup>
|
||||
<None Include="OpenTK.Next.nuspec" />
|
||||
<None Include="OpenTK.Next.GLControl.nuspec" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="nuget.exe" />
|
||||
</ItemGroup>
|
||||
<ProjectExtensions>
|
||||
<MonoDevelop>
|
||||
<Properties>
|
||||
<Policies>
|
||||
<TextStylePolicy inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/plain" />
|
||||
<CSharpFormattingPolicy IndentSwitchBody="True" AnonymousMethodBraceStyle="NextLine" PropertyBraceStyle="NextLine" PropertyGetBraceStyle="NextLine" PropertySetBraceStyle="NextLine" EventBraceStyle="NextLine" EventAddBraceStyle="NextLine" EventRemoveBraceStyle="NextLine" StatementBraceStyle="NextLine" ElseNewLinePlacement="NewLine" CatchNewLinePlacement="NewLine" FinallyNewLinePlacement="NewLine" WhileNewLinePlacement="NewLine" ArrayInitializerBraceStyle="NextLine" BeforeMethodDeclarationParentheses="False" BeforeMethodCallParentheses="False" BeforeConstructorDeclarationParentheses="False" BeforeIndexerDeclarationBracket="False" BeforeDelegateDeclarationParentheses="False" NewParentheses="False" SpacesBeforeBrackets="False" BlankLinesBeforeFirstDeclaration="1" AlignToFirstMethodDeclarationParameter="False" AlignToFirstIndexerDeclarationParameter="False" inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp" />
|
||||
<TextStylePolicy FileWidth="120" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/x-csharp" />
|
||||
<StandardHeader Text="#region License

${FileName}
 
Author:
 ${AuthorName} <${AuthorEmail}>

Copyright (c) 2006-${Year} ${CopyrightHolder}

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

#endregion" IncludeInNewFiles="True" />
|
||||
<TextStylePolicy TabWidth="2" IndentWidth="2" NoTabsAfterNonTabs="True" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="application/xml" />
|
||||
<XmlFormattingPolicy inheritsSet="Mono" inheritsScope="application/xml" scope="application/xml" />
|
||||
</Policies>
|
||||
</Properties>
|
||||
</MonoDevelop>
|
||||
</ProjectExtensions>
|
||||
</Project>
|
|
@ -1,51 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>OpenTK.Next.GLControl</id>
|
||||
<version>$version$</version>
|
||||
<authors>The Open Toolkit Team</authors>
|
||||
<owners>The Open Toolkit Team</owners>
|
||||
<licenseUrl>http://www.opentk.com/project/license</licenseUrl>
|
||||
<projectUrl>http://www.opentk.com</projectUrl>
|
||||
<iconUrl>file:///./logo.png</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<summary>
|
||||
Add OpenGL graphics to your Windows.Forms or WPF application
|
||||
</summary>
|
||||
<description>
|
||||
This package is community-run and supercedes the old OpenTK.GLControl package.
|
||||
|
||||
OpenTK.GLControl is a Windows.Forms Control with OpenGL rendering capabilities. Use it to add
|
||||
accelerated 3d graphics to your Windows.Forms or Windows Presentation Foundation (WPF) application.
|
||||
|
||||
Features
|
||||
- Integrate 3d graphics into your Windows.Forms or WPF application
|
||||
- Use the .Net/Mono language of your choice: C#, F#, VB.Net, Boo, IronPython, IronRuby
|
||||
- Develop faster with inline documentation and strongly-typed enumerations for all OpenGL and OpenAL functions
|
||||
|
||||
This is the official nuget package from http://www.opentk.com
|
||||
The source code can be found at https://github.com/opentk/opentk
|
||||
</description>
|
||||
<releaseNotes>
|
||||
http://www.opentk.com/news
|
||||
</releaseNotes>
|
||||
<copyright>Copyright 2006-2013 Stefanos Apostolopoulos</copyright>
|
||||
<tags>OpenTK OpenGL WinForms WPF C# F# VB .Net Mono</tags>
|
||||
<references>
|
||||
<reference file="OpenTK.GLControl.dll" />
|
||||
</references>
|
||||
<frameworkAssemblies>
|
||||
<frameworkAssembly assemblyName="System" />
|
||||
<frameworkAssembly assemblyName="System.Drawing" />
|
||||
<frameworkAssembly assemblyName="System.Windows.Forms" />
|
||||
<frameworkAssembly assemblyName="System.Xml" />
|
||||
</frameworkAssemblies>
|
||||
<dependencies>
|
||||
<dependency id="OpenTK.Next" version="1.2.0.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="lib/net20/OpenTK.GLControl.dll" target="lib/net20" />
|
||||
<file src="lib/net20/OpenTK.GLControl.xml" target="lib/net20" />
|
||||
</files>
|
||||
</package>
|
|
@ -1,50 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>OpenTK.Next</id>
|
||||
<version>$version$</version>
|
||||
<authors>The Open Toolkit Team</authors>
|
||||
<owners>The Open Toolkit Team</owners>
|
||||
<licenseUrl>http://www.opentk.com/project/license</licenseUrl>
|
||||
<projectUrl>http://www.opentk.com</projectUrl>
|
||||
<iconUrl>file:///./logo.png</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<summary>
|
||||
The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL.
|
||||
</summary>
|
||||
<description>
|
||||
This package is community-run and supercedes the old OpenTK package.
|
||||
|
||||
The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL.
|
||||
It is suitable for games, scientific visualizations and projects that require 3d graphics, audio or compute functionality.
|
||||
|
||||
Features
|
||||
- Create cutting-edge graphics with OpenGL 4.4 and OpenGL ES 3.0
|
||||
- Integrate 3d graphics into your Windows.Forms, WPF or GTK# applications
|
||||
- Write once run everywhere: Windows, Mac OS X, Linux, Android and iOS
|
||||
- Use the .Net/Mono language of your choice: C#, F#, VB.Net, Boo, IronPython, IronRuby
|
||||
- Develop faster with inline documentation and strongly-typed enumerations for all OpenGL and OpenAL functions
|
||||
|
||||
This is the official nuget package from http://www.opentk.com
|
||||
The source code can be found at https://github.com/opentk/opentk
|
||||
</description>
|
||||
<releaseNotes>
|
||||
http://www.opentk.com/news
|
||||
</releaseNotes>
|
||||
<copyright>Copyright 2006-2013 Stefanos Apostolopoulos</copyright>
|
||||
<tags>OpenTK OpenGL OpenGLES OpenAL C# F# VB .Net Mono</tags>
|
||||
<references>
|
||||
<reference file="OpenTK.dll" />
|
||||
</references>
|
||||
<frameworkAssemblies>
|
||||
<frameworkAssembly assemblyName="System" />
|
||||
<frameworkAssembly assemblyName="System.Drawing" />
|
||||
<frameworkAssembly assemblyName="System.Xml" />
|
||||
</frameworkAssemblies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="lib/net20/OpenTK.dll" target="lib/net20" />
|
||||
<file src="lib/net20/OpenTK.xml" target="lib/net20" />
|
||||
<file src="lib/net20/OpenTK.dll.config" target="content" />
|
||||
</files>
|
||||
</package>
|
Binary file not shown.
Before Width: | Height: | Size: 30 KiB |
Binary file not shown.
|
@ -1,81 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Documentation'">
|
||||
<OutputPath>.\opentk\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
||||
<OutputPath>.\opentk\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||||
<OutputPath>.\opentk\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Nsis'">
|
||||
<OutputPath>.\opentk\</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{ADC34399-7613-44D2-90B2-19250F06FE7B}</ProjectGuid>
|
||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||
<OutputPath>.\opentk\</OutputPath>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>10.0.0</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AssemblyName>Build.Installer.Zip</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Documentation|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>opentk\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>opentk\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>opentk\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Nsis|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>False</Optimize>
|
||||
<OutputPath>opentk\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMinimal|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>opentk\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseMinimal|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>opentk\</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<Target Name="Build">
|
||||
<!-- Zip the copy of the source tree -->
|
||||
<Exec Command="7z a -tzip opentk.zip ../../* -xr!opentk*.zip -xr!opentk*.exe -xr!.* -xr!obj -xr!bin -xr!lib -xr!Documentation/Source -xr!Automation -xr!*.suo -xr!*.pidb -xr!*.userprefs -xr!*vshost.exe* -xr!*.log -xr!*.nupkg" />
|
||||
<!-- Copy the zip file to the root directory and add a date stamp -->
|
||||
<ReadLinesFromFile File="../../Timestamp.txt">
|
||||
<Output TaskParameter="Lines" ItemName="Version" />
|
||||
</ReadLinesFromFile>
|
||||
<Move SourceFiles=".\opentk.zip" DestinationFiles="@(Version->'..\..\opentk-%(Identity).zip')" />
|
||||
</Target>
|
||||
<Target Name="Clean">
|
||||
<CreateItem Include=".\opentk.zip;..\..\opentk-*.zip">
|
||||
<Output TaskParameter="Include" ItemName="FilesToDelete" />
|
||||
</CreateItem>
|
||||
<Delete Files="@(FilesToDelete)" />
|
||||
</Target>
|
||||
<Target Name="Rebuild">
|
||||
<CallTarget Targets="Clean" />
|
||||
<CallTarget Targets="Build" />
|
||||
</Target>
|
||||
</Project>
|
Loading…
Reference in a new issue