Add new cmdline option -mixin=<filename>

This commit is contained in:
Martin Kinkelin 2018-12-21 19:14:01 +01:00
parent 26c27c664d
commit 389977d084
5 changed files with 22 additions and 1 deletions

View file

@ -208,6 +208,7 @@ Where:\n\
#endif
" -mcpu=<id> generate instructions for architecture identified by 'id'\n\
-mcpu=? list all architecture options\n\
-mixin=<filename> expand and save mixins to file specified by <filename>\n\
-mscrtlib=<name> MS C runtime library to reference from main/WinMain/DllMain\n\
-mv=<package.module>=<filespec> use <filespec> as source file for <package.module>\n\
-noboundscheck no array bounds checking (deprecated, use -boundscheck=off)\n\
@ -423,7 +424,8 @@ void translateArgs(size_t originalArgc, char **originalArgv,
else if (strcmp(p + 1, "m32mscoff") == 0) {
ldcArgs.push_back("-m32");
}
/* -mscrtlib
/* -mixin
* -mscrtlib
*/
else if (strncmp(p + 1, "profile", 7) == 0) {
if (p[8] == 0) {