Add GSL dependency
This commit is contained in:
parent
463f2d47b2
commit
befafe7d29
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -14,3 +14,6 @@
|
||||
path = deps/HDiffPatch
|
||||
url = https://github.com/sisong/HDiffPatch.git
|
||||
branch = master
|
||||
[submodule "deps/GSL"]
|
||||
path = deps/GSL
|
||||
url = https://github.com/Microsoft/GSL.git
|
||||
|
1
deps/GSL
vendored
Submodule
1
deps/GSL
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 0f68d133fa6fd2973951b8aaab481e34bbfd2cf4
|
19
deps/premake/gsl.lua
vendored
Normal file
19
deps/premake/gsl.lua
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
gsl = {
|
||||
source = path.join(dependencies.basePath, "GSL"),
|
||||
}
|
||||
|
||||
function gsl.import()
|
||||
gsl.includes()
|
||||
end
|
||||
|
||||
function gsl.includes()
|
||||
includedirs {
|
||||
path.join(gsl.source, "include")
|
||||
}
|
||||
end
|
||||
|
||||
function gsl.project()
|
||||
|
||||
end
|
||||
|
||||
table.insert(dependencies, gsl)
|
@ -41,6 +41,8 @@
|
||||
#include <patch.h>
|
||||
#include <tomcrypt.h>
|
||||
|
||||
#include <gsl/gsl>
|
||||
|
||||
#pragma comment (lib, "gdiplus.lib")
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user