Sublime Forum

Simple build system make

#1

Hi,
Im trying to build a CMake project through sublime text. I normally do “make” in the shell console from the $(project)/build folder and it works fine.
If I do “Tools > Build system > Make” then “Tools > Build” I have the following error :

make: *** No targets specified and no makefile found.  Stop.
[Finished in 0.0s with exit code 2]
[shell_cmd: make]
[dir: /home/mylogin/src/]
[path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games]  

Maybe I should give the $(project)/build path somewhere …

0 Likes

#2

Sublime Text is looking for the makefile in [dir: /home/mylogin/src/]. Make sure the makefile is located in that folder, or change the project home folder to the folder where the makefile is in.

0 Likes