Steps to do full compile in the fastest way in AX 2012 R3
Open the command prompt :
Traverse the path :
C:\Program Files\Microsoft Dynamics AX\60\Server\XXXXXXX\bin>
axbuild.exe xppcompileall /s=01 /altbin="C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin" /log:"C:\Temp
Here is an example command line for AxBuild.exe that might match the command line you need in your particular environment. The line is artificially wrapped here for better display.