summaryrefslogtreecommitdiff
path: root/vpc_scripts/source_cryptlib_include.vpc
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /vpc_scripts/source_cryptlib_include.vpc
downloadarchived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz
archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip
Diffstat (limited to 'vpc_scripts/source_cryptlib_include.vpc')
-rw-r--r--vpc_scripts/source_cryptlib_include.vpc56
1 files changed, 56 insertions, 0 deletions
diff --git a/vpc_scripts/source_cryptlib_include.vpc b/vpc_scripts/source_cryptlib_include.vpc
new file mode 100644
index 0000000..25dd956
--- /dev/null
+++ b/vpc_scripts/source_cryptlib_include.vpc
@@ -0,0 +1,56 @@
+//-----------------------------------------------------------------------------
+// SOURCE_CRYPTLIB_INCLUDE.VPC
+//
+// Includes needed to link cryptopp
+//
+//-----------------------------------------------------------------------------
+
+
+$Project
+{
+ $Folder "Source Files"
+ {
+ $File "$SRCDIR\common\crypto.cpp"
+ {
+ $Configuration
+ {
+ $Compiler
+ {
+ $Create/UsePrecompiledHeader "Not Using Precompiled Headers"
+ }
+ }
+ }
+ }
+
+ $Folder "Link Libraries"
+ {
+ $Lib vpklib
+ // So we can check the signature of the item schema.
+ $Lib "$SRCDIR\lib\public\$PLATSUBDIR\2013\release\cryptlib" [$WINDOWS&&!$VS2015]
+ $Libexternal $LIBCOMMON/libcrypto [$OSXALL]
+ $Libexternal $LIBCOMMON/libcryptopp [$OSXALL]
+ $Libexternal "$SRCDIR\lib\common\$(CRYPTOPPDIR)\libcrypto" [$LINUXALL]
+ $Libexternal "$SRCDIR\lib\common\$(CRYPTOPPDIR)\libcryptopp" [$LINUXALL]
+ }
+
+ $Folder "Link Libraries" [$VS2015]
+ {
+ $File "$SRCDIR\lib\common\win32\2015\release\cryptlib.lib" [$WIN32]
+ {
+ $Configuration "Debug" { $ExcludedFromBuild "Yes" }
+ }
+ $File "$SRCDIR\lib\common\win32\2015\debug\cryptlib.lib" [$WIN32]
+ {
+ $Configuration "Release" { $ExcludedFromBuild "Yes" }
+ }
+
+ $File "$SRCDIR\lib\common\$PLATSUBDIR\2015\release\cryptlib.lib" [$WIN64]
+ {
+ $Configuration "Debug" { $ExcludedFromBuild "Yes" }
+ }
+ $File "$SRCDIR\lib\common\$PLATSUBDIR\2015\debug\cryptlib.lib" [$WIN64]
+ {
+ $Configuration "Release" { $ExcludedFromBuild "Yes" }
+ }
+ }
+}