Open yegorich opened 2 years ago
the header file must not include local headers like
ac_cfg.h
See PR #820 - you're welcome to review it.
Btw., with PR #826 merged, I notice it's now either a shared or a static library. This is probably OK, but with autoconf/automake, both used to be built.
Yes, this is normal CMake procedure. But there are tricks to make both like what libftdi1
makes.
Generally, it is not a problem. When you package avrdude, you would run the build twice with different options and use these artefacts. This is what Debian rules do for many CMake-based packages
I just opened issue #827 - libavrdude.so is built but not installed.
As of now, macOS and WIndows shared library build will fail.
Related discussion (including macOS patch)
Windows share library will fail now and need more work to get it working.
Related issue:
As of now, it is not possible to build libavrdude.dll dynamic library under Windows.
So far
libavrdude
will be built internally as a static library. For the common usage it has to provide the following features:ac_cfg.h