c++ - How to install headers while no library is present (A header-only lib)? -
i need install headers (.hpp
) in standard include dir. how tell automake
install them while there no object compiled? put lines in makefile.am
:
lib_ltlibraries = libfoo.la libfoo_la_sources = \ foo.cpp \ bar.cpp foo_includedir = $(includedir)/foo foo_include_headers = \ foo.hpp \ bar.hpp \ ../config.h
you can use _data
primary:
foodir = $(includedir)/foo foo_data = foo.hpp bar.hpp ../config.h
Comments
Post a Comment