U++ framework
Do not panic. Ask here before giving up.

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 previous message
rxantos is currently offline  rxantos
Messages: 73
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 362 times)
 
Read Message icon3.gif
Read Message
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: Tue Apr 28 18:03:46 GMT+2 2026

Total time taken to generate the page: 0.00565 seconds