-fully working betterC for windows

*replaced array[..] = array[ .. ] sclice copy with mempcy
 *added own std library (allocator, alloca, Mutex)
 *changed tamplates for collecting components for systems
-fixed issue with multiple optional components registering for system
This commit is contained in:
Mergul 2019-10-10 20:56:44 +02:00
parent ed99807871
commit 41f1c6474b
14 changed files with 722 additions and 868 deletions

View file

@ -40,6 +40,38 @@
"-Hdimport/",
"-op"
]
},
{
"name" : "library-betterC",
"targetType" : "library",
"excludedSourceFiles":[
"source\/win_dll.d"
],
"dflags": [
"-betterC",
"-defaultlib="
]
},
{
"name" : "dynlib-betterC",
"targetType" : "dynamicLibrary",
"dflags": [
"-betterC",
"-defaultlib=",
"--fvisibility=hidden"
]
},
{
"name" : "tests-betterC",
"targetType" : "executable",
"sourcePaths" : ["source\/","tests\/"],
"excludedSourceFiles":[
"source\/win_dll.d"
],
"dflags": [
"-betterC",
"-defaultlib="
]
}
]
}