Skip to content

Commit

Permalink
Add better diagnostic message when no cmake target can be built
Browse files Browse the repository at this point in the history
  • Loading branch information
rwols committed Feb 19, 2018
1 parent 6a99326 commit 1ce285f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ def run(self, select_target=False):
"file instead.")
return
if not self.is_enabled():
sublime.error_message("Cannot build a CMake target!")
sublime.error_message("Cannot build a CMake target! Don't forget "
'to set the "Build System" to '
'"CMakeBuilder", too.')
return
path = os.path.join(self.server.cmake.build_folder,
"CMakeFiles",
Expand Down

0 comments on commit 1ce285f

Please sign in to comment.