Temporarily

This commit is contained in:
momo5502 2016-08-30 18:31:57 +02:00
parent 04a640d81d
commit a21c928364
4 changed files with 26 additions and 10 deletions

2
deps/protobuf vendored

@ -1 +1 @@
Subproject commit e721ce66cfeaa5d8790ecba09c73d1ef399887d2
Subproject commit 8c936063570e5ede2ac41cf49aefe1075f1c7251

View File

@ -49,6 +49,8 @@ function bitmrc.project()
path.join(bitmrc.settings.source, "BitMRC/main.*"),
path.join(bitmrc.settings.source, "BitMRC/class.*"),
path.join(bitmrc.settings.source, "BitMRC/tests/**"),
path.join(bitmrc.settings.source, "BitMRC/Storage/Storable.cpp"),
}
-- dependencies

View File

@ -21,6 +21,11 @@ end
function libcryptopp.includes()
if not libcryptopp.settings then error("Run libcryptopp.setup first") end
--defines { "CRYPTOPP_IMPORTS" }
--filter "*Static"
-- removedefines { "CRYPTOPP_IMPORTS" }
filter "Debug*"
defines { "_DEBUG" }
@ -102,6 +107,12 @@ function libcryptopp.project()
path.join(libcryptopp.settings.source, "fipsalgt.*"),
path.join(libcryptopp.settings.source, "cryptlib_bds.*"),
path.join(libcryptopp.settings.source, "validat*.*"),
-- Remove linker warnings
path.join(libcryptopp.settings.source, "strciphr.cpp"),
path.join(libcryptopp.settings.source, "simple.cpp"),
path.join(libcryptopp.settings.source, "polynomi.cpp"),
path.join(libcryptopp.settings.source, "algebra.cpp"),
}
-- Pre-compiled header
@ -117,13 +128,16 @@ function libcryptopp.project()
"MASM",
--"CustomProtoBuildTool",
}
kind "SharedLib"
filter "*Static"
-- SharedLib needs that
--links { "Ws2_32" }
--kind "SharedLib"
--filter "*Static"
kind "StaticLib"
filter "kind:SharedLib"
defines { "CRYPTOPP_IMPORTS" }
defines { "CRYPTOPP_EXPORTS" }
filter "architecture:x86"
exceptionhandling "SEH"

View File

@ -45,10 +45,10 @@ function sqlite3.project()
-- not our code, ignore POSIX usage warnings for now
warnings "Off"
kind "SharedLib"
filter "*Static"
--kind "SharedLib"
--filter "*Static"
kind "StaticLib"
filter "kind:StaticLib"
defines { "_LIB" }
removedefines { "_USRDLL", "_DLL" }
--filter "kind:StaticLib"
-- defines { "_LIB" }
-- removedefines { "_USRDLL", "_DLL" }
end