Skip to content
Snippets Groups Projects
Commit 818f7df7 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: delete remaining dynamic.m file when using USE_DLL

parent 98168dab
No related branches found
No related tags found
No related merge requests found
...@@ -429,7 +429,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool console, ...@@ -429,7 +429,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool console,
<< "end" << endl; << "end" << endl;
// Erase possible remnants of previous runs // Erase possible remnants of previous runs
if (block || byte_code) if (block || byte_code || use_dll)
mOutputFile << "if exist('" << basename << "_dynamic.m', 'file')" << endl mOutputFile << "if exist('" << basename << "_dynamic.m', 'file')" << endl
<< " delete('" << basename << "_dynamic.m');" << endl << " delete('" << basename << "_dynamic.m');" << endl
<< "end" << endl; << "end" << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment