kprintf calls

This commit is contained in:
timerix 2023-10-12 13:53:32 +06:00
parent c53500d6ac
commit 16f86ce592
2 changed files with 4 additions and 0 deletions

View File

@ -328,6 +328,7 @@ Maybe Tool_exec(Tool* tool){
Maybe CompilationScenario_exec(CompilationScenario* sc){ Maybe CompilationScenario_exec(CompilationScenario* sc){
Autoarr_foreach(sc->tool_order, tool_name, Autoarr_foreach(sc->tool_order, tool_name,
kprintf("tool: '%s'\n", tool_name);
Unitype uni; Unitype uni;
if(!Hashtable_tryGet(sc->tools, tool_name, &uni)) if(!Hashtable_tryGet(sc->tools, tool_name, &uni))
safethrow(ERR_KEYNOTFOUND, ;); safethrow(ERR_KEYNOTFOUND, ;);

View File

@ -91,7 +91,10 @@ int main(const int argc, const char** argv){
tryLast(DtsodV24_deserialize(proj_file_text), _m3, free(proj_file_text)); tryLast(DtsodV24_deserialize(proj_file_text), _m3, free(proj_file_text));
Hashtable* proj_dtsod = _m3.value.VoidPtr; Hashtable* proj_dtsod = _m3.value.VoidPtr;
char* platform = cptr_concat(os, "-", arch);
Autoarr_foreach(tasks, task, Autoarr_foreach(tasks, task,
kprintf("executing task '%s', configuration '%s', platform '%s'\n",
task, configuration, platform);
CompilationScenario proj_sc; CompilationScenario proj_sc;
CompilationScenario_construct(&proj_sc); CompilationScenario_construct(&proj_sc);
tryLast(CompilationScenario_applyProjectOptions(&proj_sc, proj_dtsod, configuration, task), _m4, ) tryLast(CompilationScenario_applyProjectOptions(&proj_sc, proj_dtsod, configuration, task), _m4, )