How do I compile to iOS with macros?

Previous topic - Next topic

ampos

Currently to compile to iOS I choose "right mouse button" -> compiler -> build multiplatform -> ios -> OK.

What sentence should I put in the macros to compile for iOS?

Kitty Hello

what do you want? Compile the gbas files to .cpp ? You would have to kick the GPC - it's in the manual.
Or do you want to start xcode and compile?

ampos

I just want to press a macro button instead of chosing MENU COMPILE -> BUILD MULTIPLATFORM -> IPHONE -> OK.

Crivens

Yeah, basically another toolbar with icons of the devices would be great (customisable so can have only devices we are interested in) that then compile for that device instead of having to go into the menu.

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

ampos

Meanwhile, I will be happy if someone tells me the line I should add in the current macro-thing just to compile for iphone as the menu does.

A great idea would be macros with "target" icons.

mentalthink

Yes Icons   :enc: :enc: :enc: ...   and ShortsCuts. Like Control//ALT or both at time + Num KEYPAD.

Crivens

QuoteMeanwhile, I will be happy if someone tells me the line I should add in the current macro-thing just to compile for iphone as the menu does.
I don't think you can.

Cheers
Current fave quote: Cause you like musicians and I like people with boobs.

ampos

There is no way to call the compiler within the macros?

MrTAToad

This does call GPC from a macro - you just need to get the parameters correct :)

Code (glbasic) Select
"C:\Program Files (x86)\GLBasic\Compiler\platform\gpc.exe" -N"Animation" -O"C:\Fraps" -P"C:\Users\Nicholas\Documents\GLBasic\GLBasic\Samples\3D\Animation"

mentalthink

And whit a Macro, can compile directly?¿, I want say, can send the file, and run it , into the Apple Machine, auto-Starting the Xcode?¿.    O_O