summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ToolInitialization/INIT_RemoveDirs.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/ToolInitialization/INIT_RemoveDirs.sci')
-rw-r--r--2.3-1/macros/ToolInitialization/INIT_RemoveDirs.sci3
1 files changed, 2 insertions, 1 deletions
diff --git a/2.3-1/macros/ToolInitialization/INIT_RemoveDirs.sci b/2.3-1/macros/ToolInitialization/INIT_RemoveDirs.sci
index 536b909e..93ebafbf 100644
--- a/2.3-1/macros/ToolInitialization/INIT_RemoveDirs.sci
+++ b/2.3-1/macros/ToolInitialization/INIT_RemoveDirs.sci
@@ -39,7 +39,8 @@ if (SharedInfoRunMode == 'GenLibraryStructure' | SharedInfoRunMode == 'All')
if (yesno=='y')
rmdir(FileInfo.WorkingDir,'s'); // delete WorkingDir if it exists due to previous translations...
mdelete(FileInfo.OutCCCodeDir+'/*.h'); // delete .h files generated in previous translations (if any).
- mdelete(FileInfo.OutCCCodeDir+'/*.c'); // delete .h files generated in previous translations (if any).
+ mdelete(FileInfo.OutCCCodeDir+'/*.c'); // delete .c files generated in previous translations (if any).
+ mdelete(FileInfo.OutCCCodeDir+'/*.cpp'); // delete .cpp files generated in previous translations (if any).
mdelete(FileInfo.OutCCCodeDir+'/Makefile'); // delete .h files generated in previous translations (if any).
// Note I don't delete includes, interfaces and and src directories to avoid recompiling them every time
// a new translation is launched. I only delete source files generated by user.