Something like this: version(Debug) { pragma(lib, "libcmtd.lib"); } else { pragma(lib, "libcmt.lib"); }
In the documentation [1], I don't see any predefined version identifiers for this purpose.
Thanks, Johan [1] http://dlang.org/version.html
Johan Engelen via Digitalmars-d-learn Mon, 06 Apr 2015 07:55:41 -0700
Something like this: version(Debug) { pragma(lib, "libcmtd.lib"); } else { pragma(lib, "libcmt.lib"); }
In the documentation [1], I don't see any predefined version identifiers for this purpose.
Thanks, Johan [1] http://dlang.org/version.html