view ldc2.conf.in @ 1647:638a823ace45

Strange workaround for returning from within 'void main()'. The new dmdfe sets the ReturnStatement->exp to null. Fixed bug #391.
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Wed, 10 Mar 2010 19:35:14 -0700
parents 15f1707721fa
children
line wrap: on
line source

// 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@RUNTIME_DIR@/src/compiler/ldc",
        "-I@RUNTIME_DIR@/src/common",
        "-I@RUNTIME_DIR@/import",
        "-L-L@PROJECT_BINARY_DIR@/../lib",
        "-defaultlib=@RUNTIME_AIO@",
        "-debuglib=@RUNTIME_AIO@"
    ];
};