Commit Graph

7 Commits (master)

Author SHA1 Message Date
Unknown 2c978345c9 Redo CMake structure to be usable with VisualStudio+vcpkg 2018-03-23 12:34:52 +01:00
Rogier 9a9b83e638 Detect libstdc++ ABI incompatibility to allow compiling using clang again.
Currently, this is only relevant when using LevelDB, and a newer version
of libstdc++, which uses a different C++ ABI which clang does not yet support.

A symptom of the problem are unexpected linking failures, caused by undefined
symbols, while other symbols from the same library do not cause errors.

The solution is a workaround, that avoids using the offending symbols, at the
cost of reduced functionality. As this currently only affects the text of an
error message, the impact is minor.
2016-06-28 11:44:09 +02:00
Rogier ee0903ea78 Move empty.cpp to the cmake directory
It is only needed for a compilation test by cmake.
2016-06-28 11:43:46 +02:00
Rogier e47e3bcd3a Add iconv cmake module
Needed to make the libgd draw characters correctly.

Obtained from
c361a45cfb/cmake/Modules/FindIconv.cmake
2016-01-17 10:37:51 +01:00
Rogier c71aca51de Make sure no HTML documentation is generated when conversion causes warnings
Previously, the HTML documentation would be generated even if there were
warnings, and a subsequent build would consider the documentation
up-to-date.

It seems like CMake has no option to remove a (possibly partially generated!)
target if the command exits with a non-zero status...
2016-01-17 10:37:50 +01:00
Rogier a9148f8352 Remove per-file custom target from cmake docutils module 2015-11-26 16:16:30 +01:00
Rogier 2c89a92e18 Add cmake module to find docutils
Copied from 95f64595a0/cmake/modules/FindDocutils.cmake
2015-11-26 13:26:31 +01:00