Include ChaiScript

This commit is contained in:
momo5502 2019-01-13 11:47:25 +01:00
parent 51c00884fc
commit 1de7451822
4 changed files with 27 additions and 0 deletions

5
.gitmodules vendored
View File

@ -34,3 +34,8 @@
path = deps/udis86
url = https://github.com/vmt/udis86.git
shallow = true
[submodule "deps/ChaiScript"]
path = deps/ChaiScript
url = https://github.com/ChaiScript/ChaiScript.git
branch = master
shallow = true

1
deps/ChaiScript vendored Submodule

@ -0,0 +1 @@
Subproject commit 2e77b9d0bf0162f178e71c14ad55140325e5349c

19
deps/premake/chaiscript.lua vendored Normal file
View File

@ -0,0 +1,19 @@
chaiscript = {
source = path.join(dependencies.basePath, "ChaiScript"),
}
function chaiscript.import()
chaiscript.includes()
end
function chaiscript.includes()
includedirs {
path.join(chaiscript.source, "include"),
}
end
function chaiscript.project()
end
table.insert(dependencies, chaiscript)

View File

@ -47,6 +47,8 @@
#include <udis86.h>
#include <chaiscript/chaiscript.hpp>
#pragma comment(lib, "gdiplus.lib")
#pragma comment(lib, "ws2_32.lib")