Feature #2041

UMK: Add "target platform" option

Added by Sender Ghost 5 months ago. Updated 4 months ago.

Status:RejectedStart date:06/04/2020
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UMKSpent time:-
Target version:-

Description

I propose to implement "target platform" (-t) option for umk, as suggested by Novo on the forum

Also propose to revert changes for "[-options]" in usage description.

Patch attached.

uppsrc_umk_14542.diff Magnifier - Proposed patch for uppsrc (since 14542 revision) (2.69 KB) Sender Ghost, 06/04/2020 11:16 AM

History

#1 Updated by Sender Ghost 5 months ago

  • File deleted (uppsrc_ide-umk_r14541.diff)

#2 Updated by Sender Ghost 5 months ago

  • File uppsrc_ide-umk_r14541.diff added

#3 Updated by Sender Ghost 5 months ago

  • File deleted (uppsrc_ide-umk_r14541.diff)

#4 Updated by Sender Ghost 5 months ago

  • File uppsrc_ide-umk_r14541.diff added

Added removal of target platform flag(s) from ide.mainconfigparam variable.
Please check platform flags for "OSX11" case, if possible.

#5 Updated by Sender Ghost 5 months ago

  • File deleted (uppsrc_ide-umk_r14541.diff)

#6 Updated by Sender Ghost 5 months ago

  • File uppsrc_ide-umk_r14541.diff added

Cosmetic fixes.

#7 Updated by Sender Ghost 5 months ago

  • File deleted (uppsrc_ide-umk_r14541.diff)

#8 Updated by Sender Ghost 5 months ago

  • File uppsrc_ide-umk_r14541.diff added

#9 Updated by Sender Ghost 5 months ago

  • File deleted (uppsrc_ide-umk_r14541.diff)

#10 Updated by Sender Ghost 5 months ago

  • File uppsrc_ide-umk_r14541.diff added

Also reverted changes for "[-options]".

#11 Updated by Sender Ghost 5 months ago

  • File deleted (uppsrc_ide-umk_r14541.diff)

#12 Updated by Sender Ghost 5 months ago

Updated after 14542 revision.

Some examples:

% ./umk uppsrc umk CLANG -r -t=unknown -M=Makefile
Invalid target platform option: unknown
Available target platform options:
windows, linux, android, osx, osx11, freebsd, openbsd, netbsd, dragonfly, solaris
% ./umk uppsrc umk CLANG -rv -t=windows -M=Makefile
<..>
Build flags: WIN32
<..>
% ./umk uppsrc umk CLANG -rsv -t=linux -M=GNUMakefile
<..>
Build flags: POSIX LINUX
<..>
% ./umk uppsrc ide CLANG -rsv -t=freebsd -M=BSDMakefile
<..>
Build flags: POSIX BSD FREEBSD GUI
<..>
% ./umk uppsrc ide CLANG -rsv -t=openbsd -M=BSDMakefile +GUI,X11
<..>
Build flags: POSIX BSD OPENBSD GUI X11
<..>

#13 Updated by Sender Ghost 5 months ago

  • Description updated (diff)

#14 Updated by Sender Ghost 4 months ago

  • Status changed from Patch ready to Rejected
  • Assignee deleted (Miroslav Fidler)

Ok, if there is no interest, then I close this feature request.

Also available in: Atom PDF