Eclipse CDT clean fails on Windows: tries to run rm -rf

后端 未结 5 1047

I am using Juno with CDT on Windows 7. When I try to clean a project using the internal builder or make provided by MinGW, Eclipse runs the *X command rm -rf and the cl

5条回答
  •  误落风尘
    2021-01-20 06:06

    I have found a workaround, that works good for me: If you look in the managed make makefile, you can find a line "RM := ..." After that line there is a line "-include ../makefile.defs" which does not exist in my case.

    If you create this file, you can redefine the "RM := ..." macro to whatever you want.

    For example: RM := del

    In this case, the automated build process will use your definition to delete files and folders and not the predefined definition of eclipse.

提交回复
热议问题