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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -