bubel-ecs/dub.json
Mergul a0efa4e67d Fixed unittests and betterC compilation (after adding fullyQualifiedName instead of simple stringof)
-added new trait to get full name of structure (witho module and package, not tested on more nested packages)
-some small improvements (like adding const to function which need it)
2020-07-08 22:04:13 +02:00

132 lines
No EOL
2.4 KiB
JSON
Executable file

{
"name": "ecs",
"authors": [
"Michał Masiukiewicz", "Dawid Masiukiewicz"
],
"description": "Dynamic Entity Component System",
"copyright": "Copyright © 2018-2019, Michał Masiukiewicz, Dawid Masiukiewicz",
"license": "BSD 3-clause",
"sourcePaths" : ["source\/"],
"excludedSourceFiles":[
"source\/ecs\/traits.d"
],
"configurations" : [
{
"name" : "library",
"targetType" : "library"
},
{
"name" : "tests",
"sourceFiles" : ["tests/tests.d"],
"targetType" : "executable",
"excludedSourceFiles":[
"source\/win_dll.d"
]
},
{
"name" : "dynlib",
"targetType" : "dynamicLibrary",
"dflags-linux-ldc" : [
"-defaultlib=phobos2-ldc"
]
},
{
"name" : "sources",
"targetType" : "dynamicLibrary",
"dflags": [
"-Hdimport/",
"-op"
]
},
{
"name": "unittest-runner",
"targetType" : "executable",
"sourcePaths": ["source/","tests/"],
"mainSourceFile":"tests/runner.d",
"excludedSourceFiles":[
"source\/win_dll.d",
"tests/tests.d"
],
"dflags": [
"-unittest"
]
},
{
"name": "unittest-runner-cov",
"targetType" : "executable",
"sourcePaths": ["source/","tests/"],
"mainSourceFile":"tests/runner.d",
"excludedSourceFiles":[
"source\/win_dll.d",
"tests/tests.d"
],
"dflags": [
"-unittest",
"-cov"
]
},
{
"name" : "library-betterC",
"targetType" : "library",
"excludedSourceFiles":[
"source\/win_dll.d"
],
"dflags": [
"-betterC",
"-defaultlib="
],
"dflags-gdc": [
"-fno-druntime"
]
},
{
"name" : "dynlib-betterC",
"targetType" : "dynamicLibrary",
"dflags": [
"-betterC"
],
"dflags-ldc": [
"--fvisibility=hidden",
"-link-defaultlib-shared"
],
"dflags-gdc": [
"-fno-druntime",
"-fvisibility=hidden",
"-lpthread"
]
},
{
"name" : "tests-betterC",
"targetType" : "executable",
"sourceFiles" : ["tests/tests.d"],
"excludedSourceFiles":[
"source\/win_dll.d"
],
"dflags": [
"-betterC"
],
"dflags-gdc": [
"-fno-druntime",
"-lpthread"
]
},
{
"name": "unittest-runner-betterC",
"targetType" : "executable",
"dflags": [
"-betterC",
"-unittest"
],
"dflags-gdc": [
"-fno-druntime",
"-lpthread"
],
"sourcePaths": ["source/","tests/"],
"mainSourceFile":"tests/runner.d",
"excludedSourceFiles":[
"source\/win_dll.d",
"tests/tests.d"
]
}
]
}