DUB-GENERATE(1) | The D Language Foundation | DUB-GENERATE(1) |
NAME
dub-generate - Generates project files using the specified generator
SYNOPSIS
dub generate <generator> [<package>[@<version-spec>]] OPTIONS...
DESCRIPTION
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
An optional package name can be given to generate a different package than the root/CWD package.
OPTIONS
-b, --build=VALUE
debug, plain, release, release-debug, release-nobounds, unittest, profile, profile-gc, docs, ddox, cov, cov-ctfe, unittest-cov, unittest-cov-ctfe, syntax and custom types
-c, --config=VALUE
--override-config=VALUE
--compiler=VALUE
dmd, gdc, ldc, gdmd, ldmd
-a, --arch=VALUE
-d, --debug=VALUE
--d-version=VALUE
--nodeps
--build-mode=VALUE
separate (default), allAtOnce, singleFile
--single
--force-remove
--filter-versions
--combined
--print-builds
--print-configs
--print-platform
--parallel
COMMON OPTIONS
See dub(1)
EXIT STATUS
- 0
- DUB succeeded
- 1
- usage errors, unknown command line flags
- 2
- package not found, package failed to load, miscellaneous error
FILES
dub.sdl, dub.json
AUTHOR
Copyright (c) 1999-2024 by The D Language Foundation
ONLINE DOCUMENTATION
SEE ALSO
2024-07-07 | The D Language Foundation |