siegelaaron94 / atom-build-cmake

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

Custom CMake Arguments - no way to pass argument containing space #42

Open marmidr opened 5 years ago

marmidr commented 5 years ago

Hi I'm trying to set CMake generator to MinGW Makefiles, but CMake receives only MinGW. Probably this is related to feature automatically splitting arguments separated by spaces. A lot of generators contains spaces in it's name, beside enclosing the name in apostrophes doesn't help.

I propose changing the Argument field to multi line, where each line contain another argument taken as a whole, no matter how many spaces white spaces are inside.

BTW why on Windows Visual Studio 15 is passed as a generator by default?