beardsvibe / buildfox

Minimalistic Ninja generator
MIT License
50 stars 8 forks source link

Add runtime variables to represent basename as identifier #176

Open jimon opened 8 years ago

jimon commented 8 years ago

Most filesystems use . as separator, and most programming languages do not tolerate . in identifiers. Though sometimes it's useful to use first as second (aka bin2c). Currently we have inputs_explicit_name_X but it only returns full filename, with dot ...