hyperrealm / libconfig

C/C++ library for processing configuration files
https://hyperrealm.github.io/libconfig/
GNU Lesser General Public License v2.1
1.11k stars 362 forks source link

add --disable-tests configure option #190

Closed Radvendii closed 3 years ago

Radvendii commented 3 years ago

i was cross-compiling for windows statically, and the only thing that wasn't building were the tests. I am applying this patch locally to allow me to disable building the tests, so I figured I would upstream it.

hyperrealm commented 3 years ago

What were the build errors with the tests on Windows? It used to work so I'm curious what's broken now.

Radvendii commented 3 years ago

Thanks! the full log is below. Bear in mind (1) this is compiling statically for windows, and (2) I'm using Nix to build it, so that might also be interfering with something.

https://gist.github.com/Radvendii/1ba388efefdf00e3d579f0236da18a43