Bart Van Assche <bvanass...@acm.org> writes:

> The Linux kernel uses a similar but more complex approach. Net-SNMP is
> the only software project I know of that has information about which
> files should be built embedded in source code files instead of in (the
> equivalent of) makefiles.

The rational for this stems from wanting people to be able to write
self-contained mib modules without requiring modifications to the
upstream's (our) configuration file.

The right thing to do is to have each mib module be able to provide
their own configuration script and have the make system call it.

We're working on getting the cmake patch in a reviewable state, and it
actually does just this: each mib module can have a .c, .h *and* a
.cmake file to handle these types of things in a better way.

-- 
Wes Hardaker
Please mail all replies to net-snmp-coders@lists.sourceforge.net

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to