Build step

Buona domenica,
dovrei condizionare un build step in base al tipo di compilazione ma non ho trovato una via,
qualcuno sa come si f senza usare variabili ?

esempio…

if 64 bit then
fai questo…
else
fai quello…
end if

Grazie
Enzo

http://developer.xojo.com/64-bit-guidelines ?

Era meglio un esempio…
comunque Enzo …

#if Target64Bit
  
#elseif Target32Bit
  
#Endif

avevo gi provato con Target64Bit e Target32Bit

ma non funziona…
o meglio,
non funziona dentro uno build step…

penso che questa propriet venga interpretata quando l’app in run ma non quando viene compilato l’eseguibile…

I either check the build folder

dim PathToScheduler32 as String = ProjectPath + shellEncode("Builds - max scheduler.rbp/Mac OS X (Cocoa Intel)") dim PathToScheduler64 as String = ProjectPath + shellEncode("Builds - max scheduler.rbp/OS X 64 bit")

or check the BuildTarget

if CurrentBuildTarget = 16 then cmd = cmd + " 64" end if

Thanks Beatrix,
so it’s perfect

Enzo