stevedonovan / Lake

A Lua-based Build Tool
MIT License
134 stars 17 forks source link

Specifying output filename on c.shared? #40

Closed soccermitchy closed 10 years ago

soccermitchy commented 10 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 10 years ago

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

stevedonovan commented 10 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 10 years ago

Ah, I see.