- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Gradle's C++ Plugin is even better at that. Too Bad it's not exactly feature-complete (dependency management is completely missing ATM).
Admin
It writes the source code for you? :smiley:
I'm used to using Maven for Java, another member of this school of build system (unlike its predecessor, ant). In simple cases, all you really need to say is what your dependencies are and everything else is deduced. There's no real way to avoid having to state your dependencies without going to a closed world model (and those suck for other reasons) so you're going to have to say that somewhere anyway.
(In complicated cases you still have to say more, but that's hardly surprising.)
Admin
There's a new trending JavaScript library/toolkit/framework/whatever every month that people tend to forget in six months but insist on using when they are popular.
Admin
I got annoyed with cmake because CFLAGS in the toolchain file didn't work the way I expected it too. I got to add CACHE STRING "" FORCE or it would ignore them.
I am having second thoughts if I should push my coworkers to adopt cmake or not. The normal make is so simple, people won't like more complexity.
Admin
That remark is a bit weird, since Gradle is very different from Maven IMO. The whole point of Gradle is combining a declarative model with Groovy scripts, so it's not like Maven at all, which ignores the need for customization and scripting altogether.
Nah, but its internal model is a bit cleaner and it doesn't use that weird macro/scripting language.
Admin
They're both different and similar. Different in that they've got quite different customisation models (except that Gradle uses the same module coordinate system as Maven) and yet similar in that they both strongly encourage a declarative approach where you don't so much describe recipes as just lists of ingredients which the build software then assembles for you in the conventional way.
Which was my point. :smile:
Admin
Ok, yeah, that's true. It's still way easier to specify "recipes" in Gradle than in Maven, though. It supports both styles pretty well.
To define a build process all by yourself in Gradle, you just need to write the different tasks in Groovy, and disable/not enable the automagic declarative stuff: Just apply the
java-base
plugin instead ofjava
and it won't try to do anything "smart" at all. ;)Admin
Ha. Real programmers use Butterflies
Admin
Compiling software is often not a simple thing to do. It's a bad idea to try and shove the complexity under the carpet - sometimes a complex task needs a complex tool (e.g. 3D modeling).
Admin
Can we please get some spellcheck on these articles?
Admin
CMake isn't a replacement for
make
, so you don't need to worry about that. That you posed this argument makes me think that you maintain a codebase that uses only Makesfiles and no configuration at all. And that is WTF worthy.Admin
QFT
Admin
configuration you mean like that autoconf stuff? no, we use a different makefile for each platform, and a different build system for some
Admin
It depends on how many platforms you're targeting. If you only ever need to build for one, any configuration is minimal.
Admin
Should have used Plan9 Awk. That is UTF-8 all the way.
I used to use Gawk as our SMTP server. Arnold [@] skeeve.com [gawk maintainer] was/is a Plan9 user too which is how we met.
http://www.proweb.co.uk/~matt/awk/smtpd.awk
It sat behind tcpserver that did the socket 25 listening
Admin
go build
Done.
Admin
I don't see an icon named "go build".
Admin
What do you think 'often' means? Compare the amount of code written in other languages to the amount of code written in Go. Yes, sometimes compiling software is simple, but often times it is not.
Admin
It was cleverly designed to be not visible to you; the icon is the letters "go build".
Admin
Admin
Get a keyboard you stupid click-monkey.
Admin
Like this? [image]
Admin
Obviously not, that one doesn't have a "go build" button on it. Unless that's what the smiley-face button is for, I guess.
Admin
Surely the "go build" button would have this label: :doing_it_wrong: