mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
chore: add eigen library for vector math
This commit is contained in:
parent
b29089a61f
commit
e0dd0ac9dc
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -13,3 +13,6 @@
|
|||||||
[submodule "thirdparty/json"]
|
[submodule "thirdparty/json"]
|
||||||
path = thirdparty/json
|
path = thirdparty/json
|
||||||
url = https://github.com/nlohmann/json.git
|
url = https://github.com/nlohmann/json.git
|
||||||
|
[submodule "thirdparty/eigen"]
|
||||||
|
path = thirdparty/eigen
|
||||||
|
url = https://gitlab.com/libeigen/eigen.git
|
||||||
|
@ -84,6 +84,7 @@ workspace "OpenAssetTools"
|
|||||||
-- ThirdParty
|
-- ThirdParty
|
||||||
-- ========================
|
-- ========================
|
||||||
include "thirdparty/catch2.lua"
|
include "thirdparty/catch2.lua"
|
||||||
|
include "thirdparty/eigen.lua"
|
||||||
include "thirdparty/libtomcrypt.lua"
|
include "thirdparty/libtomcrypt.lua"
|
||||||
include "thirdparty/libtommath.lua"
|
include "thirdparty/libtommath.lua"
|
||||||
include "thirdparty/json.lua"
|
include "thirdparty/json.lua"
|
||||||
@ -95,6 +96,7 @@ include "thirdparty/zlib.lua"
|
|||||||
-- ThirdParty group: All projects that are external dependencies
|
-- ThirdParty group: All projects that are external dependencies
|
||||||
group "ThirdParty"
|
group "ThirdParty"
|
||||||
catch2:project()
|
catch2:project()
|
||||||
|
eigen:project()
|
||||||
libtommath:project()
|
libtommath:project()
|
||||||
libtomcrypt:project()
|
libtomcrypt:project()
|
||||||
json:project()
|
json:project()
|
||||||
|
@ -55,6 +55,7 @@ function ObjWriting:project()
|
|||||||
Utils:include(includes)
|
Utils:include(includes)
|
||||||
minilzo:include(includes)
|
minilzo:include(includes)
|
||||||
minizip:include(includes)
|
minizip:include(includes)
|
||||||
|
eigen:include(includes)
|
||||||
json:include(includes)
|
json:include(includes)
|
||||||
libtomcrypt:include(includes)
|
libtomcrypt:include(includes)
|
||||||
|
|
||||||
|
1
thirdparty/eigen
vendored
Submodule
1
thirdparty/eigen
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit afb17288cbb5bac779a850e3ec6ba106b7f42c1c
|
23
thirdparty/eigen.lua
vendored
Normal file
23
thirdparty/eigen.lua
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
eigen = {}
|
||||||
|
|
||||||
|
function eigen:include(includes)
|
||||||
|
if includes:handle(self:name()) then
|
||||||
|
includedirs {
|
||||||
|
path.join(ThirdPartyFolder(), "eigen", "Eigen")
|
||||||
|
}
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function eigen:link()
|
||||||
|
end
|
||||||
|
|
||||||
|
function eigen:use()
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
function eigen:name()
|
||||||
|
return "eigen"
|
||||||
|
end
|
||||||
|
|
||||||
|
function eigen:project()
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user