add fastmath stuff.
This commit is contained in:
parent
e51e791184
commit
1fdeb17e6d
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -14,3 +14,6 @@
|
|||||||
[submodule "deps/libtomcrypt"]
|
[submodule "deps/libtomcrypt"]
|
||||||
path = deps/libtomcrypt
|
path = deps/libtomcrypt
|
||||||
url = https://github.com/libtom/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
1
deps/tomsfastmath
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit d5795fda3584c728c19db77b26fe28ee42453585
|
23
premake5.lua
23
premake5.lua
@ -207,11 +207,7 @@ workspace "iw4x"
|
|||||||
defines { "_LIB", "LTC_SOURCE", "LTC_NO_RSA_BLINDING" }
|
defines { "_LIB", "LTC_SOURCE", "LTC_NO_RSA_BLINDING" }
|
||||||
includedirs { "./deps/libtomcrypt/src/headers" }
|
includedirs { "./deps/libtomcrypt/src/headers" }
|
||||||
|
|
||||||
files
|
files { "./deps/libtomcrypt/src/**.c" }
|
||||||
{
|
|
||||||
"./deps/libtomcrypt/src/**.c",
|
|
||||||
"./deps/libtomcrypt/src/**.h"
|
|
||||||
}
|
|
||||||
|
|
||||||
-- remove ocb3 code
|
-- remove ocb3 code
|
||||||
removefiles { "./deps/libtomcrypt/src/encauth/ocb3/**.c" }
|
removefiles { "./deps/libtomcrypt/src/encauth/ocb3/**.c" }
|
||||||
@ -221,3 +217,20 @@ workspace "iw4x"
|
|||||||
|
|
||||||
-- always build as static lib, as pdcurses doesn't export anything
|
-- always build as static lib, as pdcurses doesn't export anything
|
||||||
kind "StaticLib"
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user