-
|
Hello I'm a noob. This package is exactly what I want. Only problem is I am a noob and I am not used to compiling a program in the way this is compiled. Could someone point me in the right direction on how to add extra src files to the compile job? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi Mattjes! This is actually a very good question and I just realized it's not described properly in the documentation. In src/npp_app.h there's NPP_APP_MODULES where you can add your additional source files like this:
That's it. This file is parsed by the compilation script so you don't have to add them anywhere else. |
Beta Was this translation helpful? Give feedback.
Hi Mattjes!
This is actually a very good question and I just realized it's not described properly in the documentation.
In src/npp_app.h there's NPP_APP_MODULES where you can add your additional source files like this:
#define NPP_APP_MODULES "additional1.cpp additional2.c"That's it. This file is parsed by the compilation script so you don't have to add them anywhere else.