support for objective C generation
This commit is contained in:
parent
62643fbc93
commit
ceb1f5e218
7 changed files with 24 additions and 13 deletions
|
|
@ -270,6 +270,7 @@ proc initVars*() =
|
|||
for i in countup(low(CC), high(CC)): undefSymbol(CC[i].name)
|
||||
defineSymbol(CC[ccompiler].name)
|
||||
if gCmd == cmdCompileToCpp: cExt = ".cpp"
|
||||
elif gCmd == cmdCompileToOC: cExt = ".m"
|
||||
addCompileOption(getConfigVar(CC[ccompiler].name & ".options.always"))
|
||||
addLinkOption(getConfigVar(CC[ccompiler].name & ".options.linker"))
|
||||
if len(ccompilerPath) == 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue