mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-05 14:33:14 +01:00
Move implementation of Module::buildTargetFiles and Module::buildFilePath to gem/module.cpp
This commit is contained in:
@@ -209,9 +209,7 @@ int main(int argc, char** argv)
|
||||
ConfigFile cfg_file;
|
||||
|
||||
// just ignore errors for now, they are still printed
|
||||
#define CFG_FILENAME "ldc2.conf"
|
||||
cfg_file.read(global.params.argv0, (void*)main, CFG_FILENAME);
|
||||
#undef CFG_FILENAME
|
||||
cfg_file.read(global.params.argv0, (void*)main, "ldc2.conf");
|
||||
|
||||
// insert config file additions to the argument list
|
||||
final_args.insert(final_args.end(), cfg_file.switches_begin(), cfg_file.switches_end());
|
||||
|
||||
Reference in New Issue
Block a user