stevedonovan / Lake

A Lua-based Build Tool
MIT License
132 stars 16 forks source link

Specifying output filename on c.shared? #40

Closed soccermitchy closed 9 years ago

soccermitchy commented 9 years ago

How do I specify the output filename on c.shared? I can't seem to find any way to do it...

moteus commented 9 years ago

It is the first element in table (https://github.com/moteus/lua-odbc/blob/master/lakefile#L29)

stevedonovan commented 9 years ago

Yes, you can say c.shared {'mydll',src='myprog',...}. If there is no src then it becomes the same as the output name.

soccermitchy commented 9 years ago

Ah, I see.