]> granicus.if.org Git - graphviz/commit
Add lib/gvc to CMake build
authorErwin Janssen <erwinjanssen@outlook.com>
Tue, 7 Feb 2017 07:02:19 +0000 (08:02 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Thu, 6 Apr 2017 19:38:02 +0000 (21:38 +0200)
commit3b567c4bd938e2e70478b22d5efae98bedf9ed8f
treed843a49e10059fb8de72ec3e4826fd20509b3216
parentebbeb91705d8e8c9ce3950abb93034c341319952
Add lib/gvc to CMake build

The dynamic library `gvc` is the core library of Graphviz. It has various
dependencies, of which some are third party libraries. The DLLs of these
libraries will be included in the package on Windows.

Now also generating `builddate.h` on all platforms. The Windows Visual
Studio build didn't generate this file.

Now also defines GVPLUGIN_CONFIG_FILE, set to confg6, just like the
Autotools build.

Support the "enable-ltdl" option, default value is ON.

Now passing the "-fPIC" to all compilers, except MSVC.

The following checks have been added:
- FindLTDL
- FindRxSpencer (on Windows only)
CMakeLists.txt
cmake/FindLTDL.cmake [new file with mode: 0644]
cmake/FindRxSpencer.cmake [new file with mode: 0644]
cmake/config_checks.cmake
config-cmake.h.in
lib/CMakeLists.txt
lib/gvc/CMakeLists.txt [new file with mode: 0644]
lib/gvc/gvc.def [new file with mode: 0644]