rpav / cmake-build.el

CMake building with multiple targets, run configurations, and interactive menu
GNU General Public License v3.0
14 stars 4 forks source link

If only one run config defined, default to it #20

Open laurynas-biveinis opened 4 years ago

laurynas-biveinis commented 4 years ago

If a project .cmake-build.el has a single run config defined, then cmake-build-run will still refuse to run it without going throughcmake-build-set-config first (which would present two options: "nil" and that sole defined config). IMHO it would follow the principle of least surprise to simply default to that config instead, saving a command invocation.