Skip to content
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mattjes
Comment options

@rekmus
Comment options

Answer selected by mattjes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants