Compile a static library with external classes? (Solved)

Edit: question has been answered.

Relevant stackoverflow post:

https://stackoverflow.com/questions/59493096/how-do-i-compile-a-cuda-shared-library-that-depends-on-c-object-files

It seems to be impossible to compile a static library if all relevant classes aren’t in the same file…

It looks like Bob answered your question on StackOverflow.

Yes he did!