Skip to content

Instantly share code, notes, and snippets.

@rygorous
Created September 12, 2015 00:39
Embed
What would you like to do?
FUCK NO CDEP
$set(doingplatforms,NGP;PS3;SPU;WII;XENON;W64;W32;3DS;ARMLNX32;QNXARM32;QNX32;LNX;L64;MAC;M64;CAFE;IOS;ANDROID;durango;ORBIS;WINRT;WINPH)
$// Remove all platforms that are built on win/lnx if we are building on mac
$if($BuildingOnMac,
$set(doingplatforms,M64;MAC;IOS)
,
)
$if($ispresent($CommandLine,-onlypsp2),$set(doingplatforms,NGP;), )
$if($ispresent($CommandLine,-onlyps3),$set(doingplatforms,PS3;), )
$if($ispresent($CommandLine,-onlyspu),$set(doingplatforms,SPU;), )
$if($ispresent($CommandLine,-onlywii),$set(doingplatforms,WII;), )
$if($ispresent($CommandLine,-onlyxenon),$set(doingplatforms,XENON;), )
$if($ispresent($CommandLine,-onlydurango),$set(doingplatforms,durango;), )
$if($ispresent($CommandLine,-onlywinrt),$set(doingplatforms,WINRT;), )
$if($ispresent($CommandLine,-onlywinphone),$set(doingplatforms,WINPH;), )
$if($ispresent($CommandLine,-onlyorbis),$set(doingplatforms,ORBIS;), )
$if($ispresent($CommandLine,-onlywin32),$set(doingplatforms,W32;), )
$if($ispresent($CommandLine,-onlywin64),$set(doingplatforms,W64;), )
$if($ispresent($CommandLine,-onlyn3ds),$set(doingplatforms,3DS;), )
$if($ispresent($CommandLine,-onlylnx),$set(doingplatforms,LNX;), )
$if($ispresent($CommandLine,-onlylnx64),$set(doingplatforms,L64;), )
$if($ispresent($CommandLine,-onlyarmlnx32),$set(doingplatforms,ARMLNX32;), )
$if($ispresent($CommandLine,-onlyarmqnx32),$set(doingplatforms,QNXARM32;), )
$if($ispresent($CommandLine,-onlyqnx32),$set(doingplatforms,QNX32;), )
$if($ispresent($CommandLine,-onlymac),$set(doingplatforms,MAC;), )
$if($ispresent($CommandLine,-onlymac64),$set(doingplatforms,M64;), )
$if($ispresent($CommandLine,-onlywiiu),$set(doingplatforms,CAFE;), )
$if($ispresent($CommandLine,-onlyios),$set(doingplatforms,IOS;), )
$if($ispresent($CommandLine,-onlyandroid),$set(doingplatforms,ANDROID;), )
$if($ispresent($CommandLine,-withpsp2),$set(doingplatforms,NGP;$doingplatforms), )
$if($ispresent($CommandLine,-withps3),$set(doingplatforms,PS3;$doingplatforms), )
$if($ispresent($CommandLine,-withspu),$set(doingplatforms,SPU;$doingplatforms), )
$if($ispresent($CommandLine,-withwii),$set(doingplatforms,WII;$doingplatforms), )
$if($ispresent($CommandLine,-withxenon),$set(doingplatforms,XENON;$doingplatforms), )
$if($ispresent($CommandLine,-withdurango),$set(doingplatforms,durango;$doingplatforms), )
$if($ispresent($CommandLine,-withwinrt),$set(doingplatforms,WINRT;$doingplatforms), )
$if($ispresent($CommandLine,-withwinphone),$set(doingplatforms,WINPH;$doingplatforms), )
$if($ispresent($CommandLine,-withorbis),$set(doingplatforms,ORBIS;$doingplatforms), )
$if($ispresent($CommandLine,-withwin32),$set(doingplatforms,W32;$doingplatforms), )
$if($ispresent($CommandLine,-withwin64),$set(doingplatforms,W64;$doingplatforms), )
$if($ispresent($CommandLine,-withn3ds),$set(doingplatforms,3DS;$doingplatforms), )
$if($ispresent($CommandLine,-withlnx),$set(doingplatforms,LNX;$doingplatforms), )
$if($ispresent($CommandLine,-withlnx64),$set(doingplatforms,L64;$doingplatforms), )
$if($ispresent($CommandLine,-witharmlnx32),$set(doingplatforms,ARMLNX32;$doingplatforms), )
$if($ispresent($CommandLine,-witharmqnx32),$set(doingplatforms,QNXARM32;$doingplatforms), )
$if($ispresent($CommandLine,-withqnx32),$set(doingplatforms,QNX32;$doingplatforms), )
$if($ispresent($CommandLine,-withmac),$set(doingplatforms,MAC;$doingplatforms), )
$if($ispresent($CommandLine,-withmac64),$set(doingplatforms,M64;$doingplatforms), )
$if($ispresent($CommandLine,-withwiiu),$set(doingplatforms,CAFE;$doingplatforms), )
$if($ispresent($CommandLine,-withios),$set(doingplatforms,IOS;$doingplatforms), )
$if($ispresent($CommandLine,-withandroid),$set(doingplatforms,ANDROID;$doingplatforms), )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment