Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Can the compiler ignore (exlcude) code based on target platform?

Author
Message
Supertino
7
Years of Service
User Offline
Joined: 22nd Jun 2017
Location: Behind you!
Posted: 4th Nov 2017 16:42 Edited at: 4th Nov 2017 16:44
for example in my source code I could add.....



.....compiling on windows for example the compiler will ignore anything within the ?macos and ?linux tags
blink0k
Moderator
11
Years of Service
Recently Online
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 4th Nov 2017 20:00 Edited at: 4th Nov 2017 20:01
I'm not sure the compiler can do that but i think the App stores allows you to have different files for different platforms.
It would be a good feature to have though
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 4th Nov 2017 21:56
Quote: "It would be a good feature to have though"


already do, in a round-a-bout way

Supertino
7
Years of Service
User Offline
Joined: 22nd Jun 2017
Location: Behind you!
Posted: 5th Nov 2017 11:20
AmritaRao
User Banned
Posted: 11th Nov 2017 09:00 Edited at: 13th Nov 2017 06:24
I'm not sure the compiler can do that other than i think the App food allow you to have different files for special platforms..
_______________________________________________________________________________________________________________________________________
pillow-cases

Login to post a reply

Server time is: 2024-11-22 20:50:09
Your offset time is: 2024-11-22 20:50:09