17:43:06 # Life Rewrote my build system in C++. I used to write build rules in Nodejs, but I figured if my projects are mostly C++ I should probably write them in C++. I wanted to make it a bit more like BUILD files but couldn't really and ended up looking more C++ than I wanted to. Seems like key-value struct initialization isn't available until C++20.
int main() { NinjaBuilderConfig config; NinjaBuilder n(config); n.CompileLinkRunTest("gitlstree_test", {"basename", "cached_file", "concurrency_limit", "directory_container", "get_current_dir", "git_cat_file", "gitlstree", "gitlstree_test", "scoped_timer", "stats_holder", "strutil"}, {"out/fetch_test_repo.sh.result"}); }