Build the library together with its examples