On 03/14/2016 10:38 AM, Saša Janiška wrote:

Mike Wey mike@mikewey.eu writes:

But i don't really use dub, so there might be a better option.

It seems we'll choose to use GtkD for writing GUI apps in D, but wonder
which build tool you can recommend considering you're not using dub?

@Russel: what is your experience with SCons and (Gtk)D?

I'm also puzzled seeing in the Dub's docs
(https://code.dlang.org/docs/commandline) the following:

generate

dub generate <generator> [<package>] [<options...>]

Generates project files using one of the supported generators:

visuald - VisualD project files
sublimetext - SublimeText project file
cmake - CMake build scripts
build - Builds the package directly

so I wonder whether it means that Dub can create script suitable for
CMake?

Sincerely,
Gour

I personally use gnu make.

dub does generate cmake files but you'll need to use the fork from:
https://github.com/trentforkert/cmake.