add fastmath stuff.

This commit is contained in:
momo5502 2016-01-31 15:55:32 +01:00
parent e51e791184
commit 1fdeb17e6d
3 changed files with 22 additions and 5 deletions

3
.gitmodules vendored
View File

@ -14,3 +14,6 @@
[submodule "deps/libtomcrypt"]
path = deps/libtomcrypt
url = https://github.com/libtom/libtomcrypt
[submodule "deps/tomsfastmath"]
path = deps/tomsfastmath
url = https://github.com/libtom/tomsfastmath.git

1
deps/tomsfastmath vendored Submodule

@ -0,0 +1 @@
Subproject commit d5795fda3584c728c19db77b26fe28ee42453585

View File

@ -207,11 +207,7 @@ workspace "iw4x"
defines { "_LIB", "LTC_SOURCE", "LTC_NO_RSA_BLINDING" }
includedirs { "./deps/libtomcrypt/src/headers" }
files
{
"./deps/libtomcrypt/src/**.c",
"./deps/libtomcrypt/src/**.h"
}
files { "./deps/libtomcrypt/src/**.c" }
-- remove ocb3 code
removefiles { "./deps/libtomcrypt/src/encauth/ocb3/**.c" }
@ -221,3 +217,20 @@ workspace "iw4x"
-- always build as static lib, as pdcurses doesn't export anything
kind "StaticLib"
-- tomsfastmath
project "tomsfastmath"
language "C"
defines { "_LIB" }
includedirs { "./deps/tomsfastmath/src/headers" }
files { "./deps/tomsfastmath/src/**.c" }
-- remove generator code
removefiles { "./deps/tomsfastmath/src/generators/**.c" }
-- not our code, ignore POSIX usage warnings for now
warnings "Off"
-- always build as static lib, as pdcurses doesn't export anything
kind "StaticLib"