Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [PROPOSAL] Response files for umk
icon3.gif  [PROPOSAL] Response files for umk [message #44267] Sat, 14 February 2015 08:57 Go to next message
rxantos is currently offline  rxantos
Messages: 71
Registered: October 2011
Member
The enclosed file provides a way to use response files on umk.

A response file is a file that includes the arguments to an executable on a different line. They are usually delimited by a @ at the start of the file name. If for example you want to run
umk examples Bombs MINGW -ab +GUI,SHARED


you can create a response file (name it bombs.rsp)
examples 
Bombs 
MINGW 
-ab 
+GUI,SHARED


And simply call
umk @bombs.rsp


instead. This is useful if you have multiple configurations and do not want to remember all options.

The code has the drawback that only one option can be specified on each line.

The source code can be used to replace
uppsrc/umk/umake.cpp
  • Attachment: umake.cpp
    (Size: 8.29KB, Downloaded 130 times)
Re: [PROPOSAL] Response files for umk [message #44268 is a reply to message #44267] Sun, 15 February 2015 19:47 Go to previous message
mirek is currently offline  mirek
Messages: 12571
Registered: November 2005
Ultimate Member
Good idea, but I think I will do a somewhat different implementation... Besides, I guess we need "parse commandline into argv" elsewhere too (with that, implementation will be trivial).
Previous Topic: [TheIde] Layout problems on HiDPI screen
Next Topic: Add an Image control/tool in the layout right-click widget choices.
Goto Forum:
  


Current Time: Sun Jul 05 05:49:54 CEST 2020

Total time taken to generate the page: 0.01527 seconds