Bridgecraft icon indicating copy to clipboard operation
Bridgecraft copied to clipboard

Convert a single file in command-line

Open rodneyviper opened this issue 4 years ago • 1 comments

Hi, Is there a way to convert a single header file to swift in command-line ? Given a path for the source file and a path for the generated swift file. Thanks

rodneyviper avatar Apr 17 '20 14:04 rodneyviper

Hi, it's not possible because you'd need to pass all the compiler flags to the tool which is currently not supported. So you need at least a project file with a target and with the header file in it.

lvsti avatar Apr 19 '20 09:04 lvsti