Skip to content

Deleting the build folder. #98

Closed
Closed
@SaxonRah

Description

@SaxonRah

In previous versions, I swear I could delete the build folder then click Configure CMake everything would be fine and I could still compile. No errors.

Now doing the same thing, results in: ninja: error: loading 'build.ninja': The system cannot find the file specified.

Running cmake -G Ninja .. in the build folder after clicking Configure CMake in the extension, solves the ninja error.

I had a friend contact me about this same problem, they had accidently deleted the build folder, and since I already knew the solution, I was able to solve that for them effortlessly. They apparently searched and struggled with it for a day or two and couldn't figure it out.

I'm partly posting this issue so people can find a solution if they encounter this, as well ask if this is expected functionality? I don't think I remember running cmake -G Ninja .. in the build folder before, but I could be wrong as I have to use that command for other toolchains and just can't remember.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions