hugopl / meique Goto Github PK
View Code? Open in Web Editor NEWMeique is a simple build system for C and C++ which uses Lua as scripting language.
License: GNU General Public License v3.0
Meique is a simple build system for C and C++ which uses Lua as scripting language.
License: GNU General Public License v3.0
If I add a library or change the compiler flags of a target it doesn't get re-linked or re-compiled.
timestamp check if much faster, and it the timestamp wasn't changed for sure the md5 also didn't change, so there's no point to calculate it.
Meique needs a API versioning mechanism to protect users from lua API changes.
There's no way to turn off colored output at runtime.
To reproduce:
$ meique benchmark
A solution would be just put the files into another file when the file list is larger than N.
There's no check to detect two or more targets with the same name.
In fact there's no way to tell meique to use C++ unless using project custom flags
There's no reasons to have different names, the method name can be just "use()"
Example:
buildDir() should return relative path instead of absolute.
The configure step isn't needed, we have all information to start building on the first meique call, a configure step only makes sense for meta build system like cmake.
The location should be queried via pkg-config
Fully parallel by default.
e.g.:
in meique.lua
in lib/meique.lua
Meique will use the same build/foo.cpp.o on both target and the link will fail because foo.cpp wasn't compiled with -fPIC or -fpic.
Sometimes you do heavy stuff and store it on a variable, would be nice to not having to do this stuff in every incremental build, the proposed syntax:
cache(variable)
Doing this will store the variable on meiquecache.lua, and it's value will be restored before any meique.lua file get's parsed.
The main problem is find a way to get the variable name inside cache function, there's no preprocessor here :-)
To reproduce:
Uninstall (meique -u) isn't implemented!
A QtCreator plugin for meique would be very nice to have, besides I think it's not hard to do.
_preCompileHooks aren't called.
The current algorithm works, but could be much better, I already have the algorithm in my mind and some paper :-), now is time to implement and maybe blog post about it.
We may have the current way of doing it as fallback, but the best way is delegate it to the compiler as ninja does.
It's important to have one. It should be generated from the documentation.html page.
There's no way to see the user options on meique --help
Meique should look for the location of Qt rcc via pkg-config, e.g.:
pkg-config --variable=rcc_location QtCore
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.