Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automating builds of *.exe in QM?
#3
Is the source code stored in text files? Then need to create function to convert to qml file. It's possible. Easier would be if source is in qml file. QM has functions to export/import macros to/from qml - SilenExport, SilentImport. Or can automate creating function(s) from text file(s) in QM (see newitem).

QM cannot create exe from an external file, need to import or load as shared file. SilentImport can do it. Possible problem - duplicate names of macros, functions, declarations.

When loaded, creating exe can be automated with a macro. It is easier if the main imported macro/function begins with
Macro Main exe function
Code:
Copy      Help
;/exe
;BEGIN PROJECT
;
;END PROJECT
Then need just to open the main macro/function and Ctrl+click the Compile button
Macro Make exe from current macro
Trigger F9     Help - how to add the trigger to the macro
Code:
Copy      Help
'C{             ;; Ctrl+{
lef 54 10 id(2053 _hwndqm) 1 ;;tool bar, push button 'Compile    Ctrl+Shift+R[]Sh...'
'}              ;; }


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)