Add -property command line argument

This commit is contained in:
SiegeLord
2012-01-30 18:35:09 -05:00
parent efcbe8390a
commit be9c6d03e5
3 changed files with 14 additions and 0 deletions

View File

@@ -223,6 +223,11 @@ int main(int argc, char** argv)
printf("config %s\n", path.c_str());
}
// enforcePropertySyntax handled separately because it is a char
#if DMDV2
global.params.enforcePropertySyntax = enforcePropertySyntax ? 1 : 0;
#endif
// Negated options
global.params.link = !compileOnly;
global.params.obj = !dontWriteObj;