Feature #935

TheIDE: Generate command line options for building

Added by Sender Ghost over 9 years ago. Updated over 9 years ago.

Status:ApprovedStart date:11/23/2014
Priority:NormalDue date:
Assignee:Miroslav Fidler% Done:

100%

Category:IDESpent time:-
Target version:-

Description

It's possible to generate command line options to use with theide or umk executables.
Currently, there are minor differences between them, like no selectable threading options for theide or showing message box, if build fails for umk.

Reference for request:
http://www.ultimatepp.org/forums/index.php?t=msg&th=9024

The proposed patch attached.

CmdBuildOptionsOutput.diff Magnifier - The diff file to apply for uppsrc directory (Output mode) (10.9 KB) Sender Ghost, 12/17/2014 05:22 AM

History

#1 Updated by Sender Ghost over 9 years ago

  • Status changed from New to Patch ready

#2 Updated by Sender Ghost over 9 years ago

  • File deleted (CmdBuildOptions.diff)

#3 Updated by Sender Ghost over 9 years ago

  • File CmdBuildOptions.diff added

Removed unneeded arguments from window constructor. Did some cleanups.

#4 Updated by Miroslav Fidler over 9 years ago

  • Assignee changed from Miroslav Fidler to Sender Ghost

This is interesting and useful feature, however, maybe it should be rather somehow connected to "Export" command in the output mode?

#5 Updated by Sender Ghost over 9 years ago

Currently, it uses "Main package configuration", "Setup -> Be verbose" states and "connected" to selected package as a menu. Also, it could be configured to be invoked on key combination. In the "Output mode" window some of mentioned features will be not configurable without closing this window. Not to mention about three opened windows at the same time (if there is no other methods, of course). Either, the "Output mode" window should be redesigned, e.g. to allow selection of "Main package configuration" and some button to invoke "Command line options" window, at least. I could try to develop such a prototype, then will see.

#6 Updated by Sender Ghost over 9 years ago

  • File CmdBuildOptionsOutput.diff added
  • Assignee changed from Sender Ghost to Miroslav Fidler

The patch for proposed prototype is ready. Please, take a look.

#7 Updated by Sender Ghost over 9 years ago

  • File deleted (CmdBuildOptionsOutput.diff)

#8 Updated by Sender Ghost over 9 years ago

  • File CmdBuildOptionsOutput.diff added

Some non functional changes.

#9 Updated by Sender Ghost over 9 years ago

  • File deleted (CmdBuildOptionsOutput.diff)

#10 Updated by Sender Ghost over 9 years ago

  • File CmdBuildOptionsOutput.diff added

#11 Updated by Sender Ghost over 9 years ago

  • File deleted (CmdBuildOptionsOutput.diff)

#12 Updated by Sender Ghost over 9 years ago

  • File CmdBuildOptionsOutput.diff added

Added output conversion with NativePath function.
Check for spaces in output and adding quotes, when necessary.
Filter (some) path characters for output.

#13 Updated by Sender Ghost over 9 years ago

  • File deleted (CmdBuildOptionsOutput.diff)

#14 Updated by Sender Ghost over 9 years ago

  • File CmdBuildOptionsOutput.diff added

Added ButtonOption with function to omit output.

#15 Updated by Sender Ghost over 9 years ago

  • File deleted (CmdBuildOptionsOutput.diff)

#16 Updated by Sender Ghost over 9 years ago

  • File CmdBuildOptionsOutput.diff added

Replaced ButtonOption and Label with Option and SetLabel("Output:").
Added Serialize virtual method to use with LoadFromGlobal and StoreToGlobal functions to preserve values not changed inside of "Output mode" window.

#17 Updated by Sender Ghost over 9 years ago

  • File deleted (CmdBuildOptionsOutput.diff)

#19 Updated by Sender Ghost over 9 years ago

  • % Done changed from 0 to 100

#20 Updated by Sender Ghost over 9 years ago

  • File deleted (CmdBuildOptions.diff)

#21 Updated by Miroslav Fidler over 9 years ago

  • Status changed from Patch ready to Approved

Also available in: Atom PDF