siegelaaron94 / atom-build-cmake

Generate and build cmake projects from within Atom.
MIT License
6 stars 12 forks source link

Error: Cannot read CMakeSettings.json #40

Open joboet opened 5 years ago

joboet commented 5 years ago

The newest version always throws an error and does not show any build configurations, whether there is a CMakeSettings.json file or not. From time to time, e.g. after reinstalling, it works for one run, but then returns to throwing this error.

2bdkid commented 5 years ago

I am on Windows and it does not like this configuration file.

{
  "configurations": [
    {
      "name": "Debug",
      "generator": "MSYS Makefiles",
      "buildRoot": "${projectDir}-build/${name}"
    }
  ]
}

It will accept this however, but it's not what I'm looking for.

{
  "configurations": [
    {
      "name": "Debug",
      "generator": "MSYS Makefiles",
      "buildRoot": "${projectDir}/build/${name}"
    }
  ]
}
Sklert commented 5 years ago

Still very unstable. Even example from https://atom.io/packages/build-cmake throws error =(