pugixml
pugixml copied to clipboard
tests folder is not included in the pugixml-1.10.zip
and when building with cmake -D BUILD_TESTS:BOOL=ON you get the following error
CMake Error at CMakeLists.txt:103 (list): list sub-command REMOVE_ITEM requires two or more arguments.
So this is somewhat intentional - the release archive is built for the most common use which includes compiling code and reading documentation but not building tests or fuzzing.
However this was done before CMake and it is a bit odd to include a CMake file with broken options. I wonder if it makes more sense to include tests or to generate a better error message in CMake instead.
I would prefer to include the test, so the user is able to verify that all is fine after compiling, e.g. Google Test and other libraries do this too.