Include ChaiScript
This commit is contained in:
parent
51c00884fc
commit
1de7451822
5
.gitmodules
vendored
5
.gitmodules
vendored
@ -34,3 +34,8 @@
|
|||||||
path = deps/udis86
|
path = deps/udis86
|
||||||
url = https://github.com/vmt/udis86.git
|
url = https://github.com/vmt/udis86.git
|
||||||
shallow = true
|
shallow = true
|
||||||
|
[submodule "deps/ChaiScript"]
|
||||||
|
path = deps/ChaiScript
|
||||||
|
url = https://github.com/ChaiScript/ChaiScript.git
|
||||||
|
branch = master
|
||||||
|
shallow = true
|
||||||
|
1
deps/ChaiScript
vendored
Submodule
1
deps/ChaiScript
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 2e77b9d0bf0162f178e71c14ad55140325e5349c
|
19
deps/premake/chaiscript.lua
vendored
Normal file
19
deps/premake/chaiscript.lua
vendored
Normal 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)
|
@ -47,6 +47,8 @@
|
|||||||
|
|
||||||
#include <udis86.h>
|
#include <udis86.h>
|
||||||
|
|
||||||
|
#include <chaiscript/chaiscript.hpp>
|
||||||
|
|
||||||
#pragma comment(lib, "gdiplus.lib")
|
#pragma comment(lib, "gdiplus.lib")
|
||||||
#pragma comment(lib, "ws2_32.lib")
|
#pragma comment(lib, "ws2_32.lib")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user