Skip to content

Instantly share code, notes, and snippets.

@sarbian
Created April 9, 2016 09:47
Show Gist options
  • Save sarbian/5442c94358780d3e6e205380a448fa35 to your computer and use it in GitHub Desktop.
Save sarbian/5442c94358780d3e6e205380a448fa35 to your computer and use it in GitHub Desktop.
Building MJ with roslyn
/home/roslyn/csc.exe /noconfig /target:library /checked- /nowarn:1701,1702,2008 /langversion:6 /nostdlib+ /platform:AnyCPU \
/warn:4 /errorendlocation /preferreduilang:en-US /highentropyva- /optimize+ /debug- /filealign:512 \
/reference:${KSP}/Assembly-CSharp.dll \
/reference:${KSP}/Assembly-CSharp-firstpass.dll \
/reference:${KSP}/KSPUtil.dll \
/reference:${KSP}/mscorlib.dll \
/reference:${KSP}/System.Core.dll \
/reference:${KSP}/System.dll \
/reference:${KSP}/UnityEngine.dll \
/reference:${KSP}/UnityEngine.UI.dll \
/out:${WORKSPACE}/build/MechJeb2/Plugins/MechJeb2.dll /resource:Resources.resources,MuMech.Properties.Resources.resources /recurse:"*.cs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment