Skip to content

Instantly share code, notes, and snippets.

@WebDrake
Created August 31, 2016 18:52
Show Gist options
  • Save WebDrake/229645efeca14fa54b0b1c82bcbb6477 to your computer and use it in GitHub Desktop.
Save WebDrake/229645efeca14fa54b0b1c82bcbb6477 to your computer and use it in GitHub Desktop.
provisional ldc2.conf for snap-packaged LDC
// This configuration file uses libconfig.
// See http://www.hyperrealm.com/libconfig/ for syntax details.
// The default group is required
default:
{
// 'switches' holds array of string that are appends to the command line
// arguments before they are parsed.
switches = [
"-I%%ldcbinarypath%%/../include/d/ldc",
"-I%%ldcbinarypath%%/../include/d",
"-L-L%%ldcbinarypath%%/../lib",
"-defaultlib=phobos2-ldc,druntime-ldc",
"-debuglib=phobos2-ldc-debug,druntime-ldc-debug",
"-gcc=ldc2.gcc"
];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment