charadon,
@charadon@8bit.red avatar

So, I know it's sacrilege to make your own "Build System", but for fun, I decided to give it a go.

It's made up of 3 scripts:

  • build.pl: Builds the project
  • clean.pl: Cleans up artifacts
  • install.pl: Installs artifacts where they need to go in the system.

build.pl was the most complicated, but that's not saying much, it was incredibly easy to make and it's small. It even supports parallel jobs and not rebuilding an object if the source file is older than the object.

charadon,
@charadon@8bit.red avatar

Now, would I use this in a big project? No way lol.

I can imagine things like subprojects would be a nightmare, and i'm a big fan of Meson/Muon. But it was a fun experiment to see what it's like. (Also, easier to make than a makefile, fuck makefiles.)

#Programming

mjgardner,
@mjgardner@social.sdf.org avatar

@charadon Everything’s easy when it’s purpose-built for a small job that stays that way.

Related: https://mastodon.social/@raiderrobert/112374892719211951

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines