-improved WASM compilation scripts
-added external bindbc.sdl import for WASM -working on demos (WIP, working simple demo with ECS and SDL2) -small change in ecs.std
This commit is contained in:
parent
a8c74d5045
commit
73f2aa6861
60 changed files with 9015 additions and 67 deletions
50
demos/simple/dub.json
Normal file
50
demos/simple/dub.json
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
"name": "simple",
|
||||
"authors": [
|
||||
"Michał Masiukiewicz", "Dawid Masiukiewicz"
|
||||
],
|
||||
"targetPath": "..",
|
||||
"description": "Dynamic Entity Component System simple example",
|
||||
"copyright": "Copyright © 2018-2019, Michał Masiukiewicz, Dawid Masiukiewicz",
|
||||
"license": "BSD 3-clause",
|
||||
"sourcePaths" : ["source\/"],
|
||||
"dflags-posix-ldc": [
|
||||
"-defaultlib=phobos2-ldc,druntime-ldc"
|
||||
],
|
||||
"libs-windows-x86_64": ["../libs/windows/x64/SDL2","../libs/windows/x64/SDL2main","../libs/windows/x64/SDL2_Image"],
|
||||
"dflagss": [
|
||||
"-betterC"
|
||||
],
|
||||
"dependencies": {
|
||||
"bindbc-sdl":"0.13.0",
|
||||
"ecs":{"path":"../../"},
|
||||
"ecs_utils":{"path":"../utils/"}
|
||||
},
|
||||
"versions": [
|
||||
"SDL_2010",
|
||||
"BindSDL_Image"
|
||||
],
|
||||
"configurations" : [
|
||||
{
|
||||
"name" : "default",
|
||||
"targetType" : "executable",
|
||||
"subConfigurations":
|
||||
{
|
||||
"ecs":"library"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "betterC",
|
||||
"targetType" : "executable",
|
||||
"dflags": [
|
||||
"-betterC"
|
||||
],
|
||||
"subConfigurations":
|
||||
{
|
||||
"bindbc-sdl": "staticBC",
|
||||
"ecs_utils":"betterC",
|
||||
"ecs":"library-betterC"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue