GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UMK(1) Umk UMK(1)

umk ‐ Command line builder for Ultimate++ projects

umk assembly package build_method [-[a] [b] [r] [s] [S] [v] [1] [2] [m] [d] [M] [l] [x] [X] [Hn]] [+FLAG[,FLAG]...] [ out ]

Umk builds package from assembly using settings from build_method and FLAGs. The resulting binary is created in out.

assembly
Selects in which assembly to look for package. It can be a predefined assembly (in .var file) which is in Win32 in directory where is located umk.exe or in POSIX systems in directories ~, ~/.upp/umk, ~/.upp/theide or ~/.upp/theide. Alternatively, it is a direct set of directories that represent U++ assembly separated by ','.
package
Selects which package to use. The package must exist in selected assembly.
build_method
Selects build method to be used to build the resulting executable, specified either as name of build method (which is then searched for in ~, ~/.upp/umk, ~/.upp/theide ~/.upp/theide directories) or it is a direct path to the .bm file.
FLAGs
Specify witch flags should be set up. This works the same way as inside TheIDE. The FLAGs must be separated by commas and prepended with "+" or ">" character. Please note, that ">" has special meaning in most shells and therefore you must either escape it or enclose in quotation marks. If flags are not specified, the first main configuration entry in .upp file is used.

Parameter options must always form single string, e.g. "-arvs". Please note, that some options are mutually exclusive. Don't use them together unless you want to be surprised by the results.

a
Rebuild all. Cleans caches before doing anything.
b
Use BLITZ.
l
Be silent.
v
Be verbose.
m
Create a map file.
Hn
Number of threads used for building (single digit). Default is number of logical cores available.

r
Release mode.
1
Release mode ‐ optimize for size.
2
Release mode ‐ optimize for speed.

These options are mutually exclusive. If more of them is used then last one is used. If none is used, Debug mode is assumed.

s
Use shared libraries.
S
Use shared libraries and build as shared libraries.

These options are mutually exclusive. If more of them is used then last one is used. If none is specified, static linking is used.

x
Export files necessary to build project to the directory out
X
Export all files in project to directory out
M
Create makefile in file out
xM,XM
If you mix M with x or X, Makefile is exported to directory out
k
Do not delete target directory out when exporting.

Options x and X are mutually exclusive. The last specified is used.

~/.upp/theide/*.var
The assembly specifications.
~/.upp/theide/*.bm
The build methods configurations.

umk examples UWord
Opens UWord (an example implementation of text proccesor) in TheIDE.

umk examples AddressBook GCC -vasb +GUI,MT /tmp/ab

Builds application AddressBook with verbose output, using gcc(1) in debug mode, with GUI and multithreading support, links it using shared libraries and places it in /tmp/ab.

umk uppsrc ide -2sx +GUI,MT /tmp/ide

Exports Makefile and all the files needed to build TheIDE itself (with speed optimizations) into the directory /tmp/ide/.

If you find any bugs, please contact the developpers on our forums ( http://www.ultimatepp.org/forum ) or file a bug on projects SourceForge page ( http://sourceforge.net/projects/upp ).

Mirek Fidler, Koldo Ramirez, Tomas Rylek, Daniel Kos

Full documentation is accesible from within TheIDE and also online on http://ultimatepp.org
Umk

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.