I'm making a script to compile and run an entire project on Notepad++ using NppExec.
I keep each project on a folder and each folder has a makefile to compile the entire project, the compiler will produce a single .exe file so in each folder there is just one executable that has the same name of the folder (with the .exe extension).
I made the first part of the script (compiling with the makefile) but I don't know how to make the second part (running the executable). I know how to run an executable in NppExec but I'm trying to do something different: I want to compile the exe without specifying its name in the commands so that I can use the script to compile and run every project organized as I explained above (each folder with only one .exe that has the same name of the folder).
How can I do it? If you don't know how to do that in NppExec, how can I do the same thing in cmd? (I can then write that in NppExec by adding cmd \c at the and of the command)
'(ESEGUIBILE)` and &(ESEGUIBILE) is obviously my executable. But when I execute the make Makefile run the program (a console program) starts in NppExec console. How can I do to run it on a separate window? (as if I runned it from windows explorer) – dvd2000 Nov 07 '15 at 14:23
I think you need a way to run your program from the makefile, since the makefile knows the name of the executable.
For the other option (npp_run): does it help to provide the full path to make? "npp_run cmd/k FULLPATH_TO_MAKE run". – Lars Fischer Nov 07 '15 at 16:50