It is quite uncommon to make a custom library. Do you really need it? You only need a library if you have stuff that you need in more than one executable that doesn't depend on template parameters.