Added multiple CMake-related files to project. Supports building the library and the tests. See CMakeLists.txt for notes on how it works. I had to adjust 3 existing files in order to disable some configuration that should be taken care of by cmake/automake anyway. I also added jansson.def from a future jansson version, to test cmake's support for .def files (which works fine).
17 lines
302 B
CMake
17 lines
302 B
CMake
find_program(SPHINX_EXECUTABLE NAMES sphinx-build
|
||
HINTS
|
||
$ENV{SPHINX_DIR}
|
||
PATH_SUFFIXES bin
|
||
DOC "Sphinx documentation generator"
|
||
)
|
||
|
||
include(FindPackageHandleStandardArgs)
|
||
|
||
find_package_handle_standard_args(Sphinx DEFAULT_MSG
|
||
SPHINX_EXECUTABLE
|
||
)
|
||
|
||
mark_as_advanced(
|
||
SPHINX_EXECUTABLE
|
||
)
|