optional dependency to TGF_B_src target
This commit is contained in:
@ -277,8 +277,10 @@ vm_ptr create_cpu(core_wrapper* cpu, std::string const& backend, unsigned gdb_po
|
||||
if(backend == "llvm")
|
||||
return vm_ptr{iss::llvm::create(lcpu, gdb_port)};
|
||||
#endif
|
||||
#ifdef WITH_TCC
|
||||
if(backend == "tcc")
|
||||
return vm_ptr{iss::tcc::create<core_type>(cpu, gdb_port)};
|
||||
#endif
|
||||
return {nullptr};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user