Basic template repository for quickly spinning up c++ projects on linux with autotools.
$ sh ./autogen.sh
$ ./configure
$ make
- Modify code in
src/
- Modify the source files in
src/makefile.am
- Add library folder to
lib/
- Add library code to folder
- Create a
Makefile.am
with contents mockinglib/xxx/Makefile.am
in the library folder - Add the subdirectory to
lib/Makefile.am
- Add an entry to
AC_CONFIG_FILES
in the rootconfigure.ac
- Add an entry to the
main_LDADD
insrc/Makefile.am
containing:$(top_srcdir)/lib/<libname>/<library>.la