forked from cory/tildefriends
Add libsodium to the tree and build what's needed from source.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3859 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Makefile
deps/libsodium
.github
.gitignoreAUTHORSChangeLogLICENSEMakefile.amMakefile.inREADME.markdownTHANKSaclocal.m4appveyor.ymlautogen.shazure-pipelines.ymlbuild-aux
builds
.gitignoreMakefile.amMakefile.in
configureconfigure.acmsvc
build
properties
Common.propsDLL.propsDebug.propsDebugDEXE.propsDebugDLL.propsDebugLEXE.propsDebugLIB.propsDebugLTCG.propsDebugSEXE.propsEXE.propsLIB.propsLTCG.propsLink.propsMessages.propsOutput.propsRelease.propsReleaseDEXE.propsReleaseDLL.propsReleaseLEXE.propsReleaseLIB.propsReleaseLTCG.propsReleaseSEXE.propsWin32.propsx64.props
resource.hresource.rcversion.hvs2010
vs2012
vs2013
vs2015
vs2017
vs2019
vs2022
contrib
dist-build
Makefile.amMakefile.inandroid-arm.shandroid-armv7-a.shandroid-armv8-a.shandroid-build.shandroid-mips32.shandroid-mips64.shandroid-x86.shandroid-x86_64.shapple-xcframework.shemscripten-symbols.defemscripten.shgenerate-emscripten-symbols.shios.shmsys2-win32.shmsys2-win64.shosx.shwasm32-wasi.shwatchos.sh
lgtm.ymllibsodium-uninstalled.pc.inlibsodium.pc.inlibsodium.slnlibsodium.vcxprojlibsodium.vcxproj.filterslogo.pngm4
ax_add_fortify_source.m4ax_check_catchable_abrt.m4ax_check_catchable_segv.m4ax_check_compile_flag.m4ax_check_define.m4ax_check_gnu_make.m4ax_check_link_flag.m4ax_pthread.m4ax_tls.m4ax_valgrind_check.m4ld-output-def.m4libtool.m4ltoptions.m4ltsugar.m4ltversion.m4lt~obsolete.m4
msvc-scripts
packaging
regen-msvc
libsodium.vcxprojlibsodium.vcxproj.filterslibsodium.vcxproj.filters.tpllibsodium.vcxproj.tplregen-msvc.pytl_libsodium.vcxproj.filters.tpltl_libsodium.vcxproj.tpl
src
Makefile.amMakefile.in
libsodium
Makefile.amMakefile.incrypto_stream.c
crypto_aead
aes256gcm
chacha20poly1305
sodium
xchacha20poly1305
sodium
crypto_auth
crypto_box
crypto_core
crypto_generichash
crypto_hash
crypto_kdf
crypto_kx
crypto_onetimeauth
crypto_onetimeauth.c
poly1305
crypto_pwhash
argon2
argon2-core.cargon2-core.hargon2-encoding.cargon2-encoding.hargon2-fill-block-avx2.cargon2-fill-block-avx512f.cargon2-fill-block-ref.cargon2-fill-block-ssse3.cargon2.cargon2.hblake2b-long.cblake2b-long.hblamka-round-avx2.hblamka-round-avx512f.hblamka-round-ref.hblamka-round-ssse3.hpwhash_argon2i.cpwhash_argon2id.c
crypto_pwhash.cscryptsalsa208sha256
crypto_scalarmult
crypto_scalarmult.c
curve25519
ref10
sandy2x
consts.Sconsts_namespace.hcurve25519_sandy2x.ccurve25519_sandy2x.hfe.hfe51.hfe51_invert.cfe51_mul.Sfe51_namespace.hfe51_nsquare.Sfe51_pack.Sfe_frombytes_sandy2x.cladder.Sladder.hladder_namespace.hsandy2x.S
scalarmult_curve25519.cscalarmult_curve25519.hed25519
ristretto255
crypto_secretbox
crypto_secretstream
xchacha20poly1305
crypto_shorthash
crypto_shorthash.c
siphash24
crypto_sign
crypto_stream
chacha20
dolbeau
chacha20_dolbeau-avx2.cchacha20_dolbeau-avx2.hchacha20_dolbeau-ssse3.cchacha20_dolbeau-ssse3.hu0.hu1.hu4.hu8.h
ref
stream_chacha20.cstream_chacha20.hsalsa20
salsa2012
salsa208
xchacha20
xsalsa20
crypto_verify
sodium
include
Makefile.amMakefile.insodium.h
sodium
core.hcrypto_aead_aes256gcm.hcrypto_aead_chacha20poly1305.hcrypto_aead_xchacha20poly1305.hcrypto_auth.hcrypto_auth_hmacsha256.hcrypto_auth_hmacsha512.hcrypto_auth_hmacsha512256.hcrypto_box.hcrypto_box_curve25519xchacha20poly1305.hcrypto_box_curve25519xsalsa20poly1305.hcrypto_core_ed25519.hcrypto_core_hchacha20.hcrypto_core_hsalsa20.hcrypto_core_ristretto255.hcrypto_core_salsa20.hcrypto_core_salsa2012.hcrypto_core_salsa208.hcrypto_generichash.hcrypto_generichash_blake2b.hcrypto_hash.hcrypto_hash_sha256.hcrypto_hash_sha512.hcrypto_kdf.hcrypto_kdf_blake2b.hcrypto_kx.hcrypto_onetimeauth.hcrypto_onetimeauth_poly1305.hcrypto_pwhash.hcrypto_pwhash_argon2i.hcrypto_pwhash_argon2id.hcrypto_pwhash_scryptsalsa208sha256.hcrypto_scalarmult.hcrypto_scalarmult_curve25519.hcrypto_scalarmult_ed25519.hcrypto_scalarmult_ristretto255.hcrypto_secretbox.hcrypto_secretbox_xchacha20poly1305.hcrypto_secretbox_xsalsa20poly1305.hcrypto_secretstream_xchacha20poly1305.hcrypto_shorthash.hcrypto_shorthash_siphash24.hcrypto_sign.hcrypto_sign_ed25519.hcrypto_sign_edwards25519sha512batch.hcrypto_stream.hcrypto_stream_chacha20.hcrypto_stream_salsa20.hcrypto_stream_salsa2012.hcrypto_stream_salsa208.hcrypto_stream_xchacha20.hcrypto_stream_xsalsa20.hcrypto_verify_16.hcrypto_verify_32.hcrypto_verify_64.hexport.h
private
chacha20_ietf_ext.hcommon.hed25519_ref10.hed25519_ref10_fe_25_5.hed25519_ref10_fe_51.himplementations.hmutex.hsse2_64_32.h
randombytes.hrandombytes_internal_random.hrandombytes_sysrandom.hruntime.hutils.hversion.h.inrandombytes
sodium
test
Makefile.amMakefile.inconstcheck.sh
default
Makefile.amMakefile.inaead_aes256gcm.caead_aes256gcm.expaead_aes256gcm2.caead_aes256gcm2.expaead_chacha20poly1305.caead_chacha20poly1305.expaead_chacha20poly13052.caead_chacha20poly13052.expaead_xchacha20poly1305.caead_xchacha20poly1305.expauth.cauth.expauth2.cauth2.expauth3.cauth3.expauth5.cauth5.expauth6.cauth6.expauth7.cauth7.expbox.cbox.expbox2.cbox2.expbox7.cbox7.expbox8.cbox8.expbox_easy.cbox_easy.expbox_easy2.cbox_easy2.expbox_seal.cbox_seal.expbox_seed.cbox_seed.expchacha20.cchacha20.expcmptest.hcodecs.ccodecs.expcore1.ccore1.expcore2.ccore2.expcore3.ccore3.expcore4.ccore4.expcore5.ccore5.expcore6.ccore6.expcore_ed25519.ccore_ed25519.expcore_ristretto255.ccore_ristretto255.exped25519_convert.ced25519_convert.expgenerichash.cgenerichash.expgenerichash2.cgenerichash2.expgenerichash3.cgenerichash3.exphash.chash.exphash3.chash3.expindex.html.tplkdf.ckdf.expkeygen.ckeygen.expkx.ckx.expmetamorphic.cmetamorphic.expmisuse.cmisuse.exponetimeauth.conetimeauth.exponetimeauth2.conetimeauth2.exponetimeauth7.conetimeauth7.exppre.js.incpwhash_argon2i.cpwhash_argon2i.exppwhash_argon2id.cpwhash_argon2id.exppwhash_scrypt.cpwhash_scrypt.exppwhash_scrypt_ll.cpwhash_scrypt_ll.exprandombytes.crandombytes.expscalarmult.cscalarmult.expscalarmult2.cscalarmult2.expscalarmult5.cscalarmult5.expscalarmult6.cscalarmult6.expscalarmult7.cscalarmult7.expscalarmult8.cscalarmult8.expscalarmult_ed25519.cscalarmult_ed25519.expscalarmult_ristretto255.cscalarmult_ristretto255.expsecretbox.csecretbox.expsecretbox2.csecretbox2.expsecretbox7.csecretbox7.expsecretbox8.csecretbox8.expsecretbox_easy.csecretbox_easy.expsecretbox_easy2.csecretbox_easy2.expsecretstream.csecretstream.expshorthash.cshorthash.expsign.csign.expsiphashx24.csiphashx24.expsodium_core.csodium_core.expsodium_utils.csodium_utils.expsodium_utils2.csodium_utils2.expsodium_utils3.csodium_utils3.expsodium_version.csodium_version.expstream.cstream.expstream2.cstream2.expstream3.cstream3.expstream4.cstream4.expverify1.cverify1.expwasi-test-wrapper.shwintest.batxchacha20.cxchacha20.exp
quirks
4
deps/libsodium/packaging/nuget/.gitignore
vendored
Normal file
4
deps/libsodium/packaging/nuget/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
*.nupkg
|
||||
package.nuspec
|
||||
package.targets
|
||||
package.xml
|
13
deps/libsodium/packaging/nuget/package.bat
vendored
Normal file
13
deps/libsodium/packaging/nuget/package.bat
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
@ECHO OFF
|
||||
ECHO Started nuget packaging build.
|
||||
ECHO.
|
||||
REM https://www.nuget.org/packages/gsl
|
||||
gsl -q -script:package.gsl package.config
|
||||
ECHO.
|
||||
REM https://nuget.codeplex.com/releases
|
||||
nuget pack package.nuspec -verbosity detailed
|
||||
ECHO.
|
||||
ECHO NOTE: Ignore warnings not applicable to native code: "Issue: Assembly outside lib folder."
|
||||
ECHO.
|
||||
ECHO Completed nuget packaging build. The package is in the following folder:
|
||||
CD
|
4
deps/libsodium/packaging/nuget/package.config
vendored
Normal file
4
deps/libsodium/packaging/nuget/package.config
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- These values are populated into the package.gsl templates by package.bat. -->
|
||||
<!-- The target attribute controls path and file name only, id controls package naming. -->
|
||||
<package id="libsodium_vc120" target="libsodium" version = "1.0.18.2" pathversion="1_0_18_2" platformtoolset="v120" />
|
260
deps/libsodium/packaging/nuget/package.gsl
vendored
Normal file
260
deps/libsodium/packaging/nuget/package.gsl
vendored
Normal file
@@ -0,0 +1,260 @@
|
||||
.# Generate NuGet nuspec file (for subsequent packing).
|
||||
.#
|
||||
.# This is a code generator built using the iMatix GSL code generation
|
||||
.# language. See https://github.com/imatix/gsl for details. This script
|
||||
.# is licensed under MIT/X11.
|
||||
.#
|
||||
.echo "Generating package.nuspec from template."
|
||||
.output "package.nuspec"
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2013/01/nuspec.xsd">
|
||||
<metadata minClientVersion="2.5">
|
||||
<id>$(package.id)</id>
|
||||
<version>$(package.version)</version>
|
||||
<title>$(package.id)</title>
|
||||
<authors>libsodium contributors</authors>
|
||||
<owners>Eric Voskuil</owners>
|
||||
<licenseUrl>https://raw.github.com/jedisct1/libsodium/master/LICENSE</licenseUrl>
|
||||
<projectUrl>https://github.com/jedisct1/libsodium</projectUrl>
|
||||
<iconUrl>http://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Salt_shaker_on_white_background.jpg/220px-Salt_shaker_on_white_background.jpg</iconUrl>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<developmentDependency>false</developmentDependency>
|
||||
<description>Sodium is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API.</description>
|
||||
<summary>Portable fork of NaCl, packaged for Visual Studio 2013 (v120) and CTP_Nov2013 compilers.</summary>
|
||||
<releaseNotes>https://raw.github.com/jedisct1/libsodium/master/ChangeLog</releaseNotes>
|
||||
<copyright>(c) 2013-2019, Frank Denis (attribution required)</copyright>
|
||||
<tags>native, NaCl, salt, sodium, libsodium, C++</tags>
|
||||
<dependencies>
|
||||
.for dependency
|
||||
<dependency id="$(id)" version="$(version)" />
|
||||
.endfor
|
||||
</dependencies>
|
||||
<!-- Salt shaker icon by Dubravko Soric :
|
||||
http://upload.wikimedia.org/wikipedia/commons/thumb/7/78/Salt_shaker_on_white_background.jpg/220px-Salt_shaker_on_white_background.jpg -->
|
||||
</metadata>
|
||||
<files>
|
||||
<!-- include -->
|
||||
|
||||
<file src="..\\..\\src\\libsodium\\include\\sodium.h" target="build\\native\\include" />
|
||||
<file src="..\\..\\src\\libsodium\\include\\sodium\\*.*" target="build\\native\\include\\sodium" />
|
||||
|
||||
<!-- targets -->
|
||||
|
||||
<file src="package.targets" target="build\\native\\$(package.id).targets" />
|
||||
<file src="package.xml" target="build\\native\\package.xml" />
|
||||
|
||||
<!-- libraries -->
|
||||
|
||||
<!-- x86 Dynamic libraries (.dll) -->
|
||||
<file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).dll" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" />
|
||||
|
||||
<!-- x86 Debugging symbols (.pdb) -->
|
||||
<!--<file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).pdb" />-->
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" />
|
||||
|
||||
<!-- x86 Import libraries (.imp.lib) -->
|
||||
<file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib" />
|
||||
|
||||
<!-- x86 Export libraries (.exp) -->
|
||||
<file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).exp" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).exp" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).exp" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).exp" />
|
||||
|
||||
<!-- x86 Static libraries (.lib) -->
|
||||
<file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\static\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).lib" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\static\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib" />
|
||||
|
||||
<!-- x86 Static link time code generation libraries (.ltcg.lib) -->
|
||||
<file src="..\\..\\bin\\Win32\\Release\\$(package.platformtoolset)\\ltcg\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib" />
|
||||
<file src="..\\..\\bin\\Win32\\Debug\\$(package.platformtoolset)\\ltcg\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib" />
|
||||
|
||||
<!-- x64 Dynamic libraries (.dll) -->
|
||||
<file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).dll" />
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).dll" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" />
|
||||
|
||||
<!-- x64 Debugging symbols (.pdb) -->
|
||||
<!--<file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).pdb" />-->
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).pdb" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" />
|
||||
|
||||
<!-- x64 Import libraries (.imp.lib) -->
|
||||
<file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib" />
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib" />
|
||||
|
||||
<!-- x64 Export libraries (.exp) -->
|
||||
<file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\dynamic\\$(package.target).exp" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).exp" />
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\dynamic\\$(package.target).exp" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).exp" />
|
||||
|
||||
<!-- x64 Static libraries (.lib) -->
|
||||
<file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\static\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).lib" />
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\static\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib" />
|
||||
|
||||
<!-- x64 Static link time code generation libraries (.ltcg.lib) -->
|
||||
<file src="..\\..\\bin\\x64\\Release\\$(package.platformtoolset)\\ltcg\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib" />
|
||||
<file src="..\\..\\bin\\x64\\Debug\\$(package.platformtoolset)\\ltcg\\$(package.target).lib" target="build\\native\\bin\\$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib" />
|
||||
</files>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
</package>
|
||||
.echo "Generating package.targets from template."
|
||||
.output "package.targets"
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<!-- user interface -->
|
||||
<ItemGroup>
|
||||
<PropertyPageSchema Include="$\(MSBuildThisFileDirectory)package.xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- general -->
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$\(MSBuildThisFileDirectory)include\\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>advapi32.lib;crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>$\(MSBuildThisFileDirectory)bin\\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Linkage-$(package.target))' == 'static' Or '$\(Linkage-$(package.target))' == 'ltcg'">
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>SODIUM_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- static libraries -->
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'static' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- static ltcg libraries -->
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-s-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'ltcg' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-sgd-$(package.pathversion).ltcg.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- dynamic import libraries -->
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1">
|
||||
<Link>
|
||||
<AdditionalDependencies>$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).imp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- dynamic libraries with debug symbols -->
|
||||
<Target Name="$(package.target)_AfterBuild" AfterTargets="AfterBuild" />
|
||||
<Target Name="$(package.target)_AfterBuild_Win32_$(package.platformtoolset)_Dynamic_Release"
|
||||
Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1"
|
||||
AfterTargets="$(package.target)_AfterBuild">
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).dll" DestinationFiles="$\(TargetDir)$(package.target).dll" SkipUnchangedFiles="true" />
|
||||
<!--<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-$(package.pathversion).pdb" DestinationFiles="$\(TargetDir)$(package.target).pdb" SkipUnchangedFiles="true" />-->
|
||||
</Target>
|
||||
<Target Name="$(package.target)_AfterBuild_Win32_$(package.platformtoolset)_Dynamic_Debug"
|
||||
Condition="'$\(Platform)' == 'Win32' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1"
|
||||
AfterTargets="$(package.target)_AfterBuild">
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" DestinationFiles="$\(TargetDir)$(package.target).dll" SkipUnchangedFiles="true" />
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x86-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" DestinationFiles="$\(TargetDir)$(package.target).pdb" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
<Target Name="$(package.target)_AfterBuild_x64_$(package.platformtoolset)_Dynamic_Release"
|
||||
Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Release')) != -1"
|
||||
AfterTargets="$(package.target)_AfterBuild">
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).dll" DestinationFiles="$\(TargetDir)$(package.target).dll" SkipUnchangedFiles="true" />
|
||||
<!--<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-$(package.pathversion).pdb" DestinationFiles="$\(TargetDir)$(package.target).pdb" SkipUnchangedFiles="true" />-->
|
||||
</Target>
|
||||
<Target Name="$(package.target)_AfterBuild_x64_$(package.platformtoolset)_Dynamic_Debug"
|
||||
Condition="'$\(Platform)' == 'x64' And ('$\(PlatformToolset)' == '$(package.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target))' == 'dynamic' And $\(Configuration.IndexOf('Debug')) != -1"
|
||||
AfterTargets="$(package.target)_AfterBuild">
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).dll" DestinationFiles="$\(TargetDir)$(package.target).dll" SkipUnchangedFiles="true" />
|
||||
<Copy SourceFiles="$\(MSBuildThisFileDirectory)bin\\$(package.target)-x64-$(package.platformtoolset)-mt-gd-$(package.pathversion).pdb" DestinationFiles="$\(TargetDir)$(package.target).pdb" SkipUnchangedFiles="true" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
</Project>
|
||||
.echo "Generating package.xml (ui extension) from template."
|
||||
.output "package.xml"
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
#################################################################
|
||||
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY #
|
||||
#################################################################
|
||||
-->
|
||||
<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework">
|
||||
<Rule Name="Linkage-$(package.target)-uiextension" PageTemplate="tool" DisplayName="NuGet Dependencies" SwitchPrefix="/" Order="1">
|
||||
<Rule.Categories>
|
||||
<Category Name="$(package.target)" DisplayName="$(package.target)" />
|
||||
</Rule.Categories>
|
||||
<Rule.DataSource>
|
||||
<DataSource Persistence="ProjectFile" ItemType="" />
|
||||
</Rule.DataSource>
|
||||
<EnumProperty Name="Linkage-$(package.target)" DisplayName="Linkage" Description="How NuGet $(package.target) will be linked into the output of this project" Category="$(package.target)">
|
||||
<EnumValue Name="" DisplayName="Not linked" />
|
||||
<EnumValue Name="dynamic" DisplayName="Dynamic (DLL)" />
|
||||
<EnumValue Name="static" DisplayName="Static (LIB)" />
|
||||
<EnumValue Name="ltcg" DisplayName="Static using link time compile generation (LTCG)" />
|
||||
</EnumProperty>
|
||||
</Rule>
|
||||
</ProjectSchemaDefinitions>
|
Reference in New Issue
Block a user