bd19650f92
When _DIRENT_HAVE_D_TYPE is defined, struct dirent defines a d_type member that will indicate if the type of the entry. This saves an expensive syscall for each entry which can really add up on slow filesystems (such as VirtualBox's shared folder FS). We use the same logic as do_isfile, and return a 1 when the entry is not a directory, and a 0 otherwise. For our large project this reduced the overall stat syscalls from 118,865 to 39,177 and total premake generation time from 59,977ms to 20,729ms on vboxsf. See: https://gist.github.com/mendsley/4b56932056d5c231a94d1cdefd15c027 |
||
---|---|---|
contrib | ||
modules | ||
packages/debian | ||
scripts | ||
src | ||
tests | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
appveyor.yml | ||
Bootstrap.mak | ||
BUILD.txt | ||
CHANGES.txt | ||
CONTRIBUTORS.txt | ||
doxyfile | ||
LICENSE.txt | ||
premake4.lua | ||
premake5.lua | ||
README.md |
PREMAKE 5 (core)
Premake is a command line utility which reads a scripted definition of a software project and, most commonly, uses it to generate project files for toolsets like Visual Studio, Xcode, or GNU Make. Built-in and Third-Party Modules add support for even more toolsets.
Find out in detail what Premake is and how to use it in the wiki.
Get started
- Download Premake
- Read the wiki to find out how to get your project up and running with Premake.
News and Community
- Check the official Github project for the latest developments
- For questions about using Premake and authoring project scripts, please ask on StackOverflow, adding the #premake tag to your question.
- For discussions about developing, customizing, or extending Premake and add-on modules, please use the Premake Developers Google Groups forum.
Report isssues
Something not working quite as expected? Do you need a feature that has not been implemented yet? Check the issue tracker and add a new one if your problem is not already listed. Please try to provide a detailed description of your problem, including the steps to reproduce it.
Contribute
Awesome! View the contribution guidelines before you contribute. If you would like to contribute with a new feature or submit a bugfix, fork this repo and send a pull request. Please, make sure all the unit tests are passing before submitting and add new ones in case you introduced new features.
Copyright & License
Copyright © 2002-2016 by Jason Perkins Distributed under the terms of the BSD License, see LICENSE.txt
The Lua language and runtime library is © TeCGraf, PUC-Rio. See their website at http://www.lua.org/