VS Clean command fails on relative path

Sysprogs forums Forums VisualGDB VS Clean command fails on relative path

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20722
    krs
    Participant

    I specify the following binary directory: ../../../gwtt_libraries_linux/Debug

    VS Clean command will fail with the following error.

    1>cmd /C del /S /Q ../../../gwtt_libraries_linux/Debug
    1>Invalid switch – “..”.
    1>make: *** [clean] Error 1

    If I use quotes around the binary directory: “../../../gwtt_libraries_linux/Debug”
    Clean command works (But then build fails…)

    Any advice?

    #20741
    support
    Keymaster

    Hi,

    Thanks, this is a known limitation of the “del” command. As a workaround, please try setting USE_DEL_TO_CLEAN := 0 in your <config>.mak file (if your toolchain as the rm tool), or simply edit the Makefile to use backward slashes or specify quotes (only in the clean command line).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.