Compiling any source file using NppExec assumes the following:
- usage of external compilers/interpreters to compile (and run) your source file(s);
- creating specific NppExec's scripts for compiling (and running) specific source files;
- creating general NppExec's script which would allow to use different compilers/interpreters for different source files;
- usage of NppExec's Highlight filters to parse the compiler's/interpreter's output (warnings, errors etc).
You can find all this information inside the "NppExec_Guide". Please refer to.
(But, before you proceed, be sure you do understand the section [4.0].)