Skip to content

Commit 958dcfc

Browse files
author
Luca Geretti
authored
Merge pull request #350 from ariadne-cps/working
Internal release 1.9.3
2 parents 5e9fa5d + 266f106 commit 958dcfc

File tree

222 files changed

+11459
-5967
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+11459
-5967
lines changed

.travis.yml

Lines changed: 57 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,130 +1,95 @@
11
language: cpp
22

33
sudo: enabled
4-
dist: trusty
4+
dist: bionic
55

66
branches:
77
only:
88
- master
99
- working
10-
- working-ci
10+
- ci
1111

1212
matrix:
1313
include:
1414

15-
- name: macOS 10.13 + AppleClang 10 + Python 3
15+
- name: macOS 10.14 + AppleClang 10 + Python 3
1616
os: osx
17-
osx_image: xcode10
18-
env: COMPILER=clang++ PYTHON=3
17+
osx_image: xcode11
18+
env: COMPILER=clang++ PYTHON=3
1919

20-
- name: macOS 10.13 + GCC 8 + Python 2 [NoCairo, NoGTK]
21-
os: osx
22-
osx_image: xcode10
23-
env: COMPILER=g++-8 PYTHON=2 DISABLE_CAIRO=ON DISABLE_GTK=ON
24-
25-
# - name: macOS 10.13 + AppleClang 10 + Python 3 [Debug, NoGTK]
20+
# - name: macOS 10.14 + GCC 8 + Python 2 [NoCairo]
2621
# os: osx
27-
# osx_image: xcode10
28-
# env: COMPILER=clang++ PYTHON=3 DEBUG=ON DISABLE_GTK=ON
22+
# osx_image: xcode11
23+
# env: COMPILER=g++-8 PYTHON=2 DISABLE_CAIRO=ON
2924

30-
# - name: macOS 10.13 + GCC 8 + Python 2 [Debug]
31-
# os: osx
32-
# osx_image: xcode10
33-
# env: COMPILER=g++-8 PYTHON=2 DEBUG=ON
34-
35-
- name: Fedora 29 + Clang 7 + Python 3 [NoGTK]
25+
- name: Ubuntu 18.04 + Clang 6 + Python 3
3626
os: linux
37-
services:
38-
- docker
39-
env: DOCKER=fedora:29 COMPILER=clang++ PYTHON=3 DISABLE_GTK=ON
40-
41-
# - name: openSUSE Tumbleweed + GCC 8 + Python 3 [Debug]
42-
# os: linux
43-
# services:
44-
# - docker
45-
# env: DOCKER=opensuse/tumbleweed COMPILER=c++ PYTHON=3 DEBUG=ON
46-
47-
# - name: Ubuntu 18.10 + GCC 8 + Python 3
48-
# os: linux
49-
# services:
50-
# - docker
51-
# env: DOCKER=ubuntu:cosmic COMPILER=g++-8 PYTHON=3
52-
53-
# - name: Ubuntu 18.04 + Clang 6 + Python 3 [Debug]
54-
# os: linux
55-
# services:
56-
# - docker
57-
# env: DOCKER=ubuntu:bionic COMPILER=clang++-6.0 PYTHON=3 DEBUG=ON
58-
27+
env: COMPILER=clang++-6.0 PYTHON=3
28+
5929
- name: Ubuntu 18.04 + GCC 8 + Python 2
6030
os: linux
61-
services:
62-
- docker
63-
env: DOCKER=ubuntu:bionic COMPILER=g++-8 PYTHON=2
31+
env: COMPILER=g++-8 PYTHON=2
6432

65-
- name: Ubuntu 18.04 + GCC 7 + Python 3 [Debug, Coverage]
33+
- name: Ubuntu 18.04 + GCC 7 + Python 3 [Coverage]
6634
os: linux
67-
services:
68-
- docker
69-
env: DOCKER=ubuntu:bionic COMPILER=g++-7 PYTHON=3 DEBUG=ON COVERAGE=ON
35+
env: COMPILER=g++ PYTHON=3 COVERAGE=ON
7036

7137
before_install:
7238
- |
73-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
74-
if [[ "$PYTHON" == "3" ]]; then PYTHON_LIB='python'; else PYTHON_LIB=python@2; CMAKE_MACOS_PYTHON2_EXTRA_FLAGS="-DPYTHON_LIBRARY=$(python-config --prefix)/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=$(python-config --prefix)/include/python2.7"; fi
39+
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
40+
NPROC="sysctl -n hw.ncpu"
41+
if [[ "$PYTHON" == "3" ]]; then PYTHON_LIB='python'; else PYTHON_LIB=python@2; CMAKE_PYTHON2_EXTRA_FLAGS="-DPYTHON_LIBRARY=$(python-config --prefix)/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=$(python-config --prefix)/include/python2.7"; fi
7542
brew cask uninstall --force oclint
76-
if [[ -z "$DISABLE_GTK" ]]; then GTK_PKG=gtk; else GTK_PKG=""; fi
7743
if [[ -z "$DISABLE_CAIRO" ]]; then CAIRO_PKG=cairo; else CAIRO_PKG=""; fi
78-
brew install gcc@8 $PYTHON_LIB mpfr gmp $GTK_PKG $CAIRO_PKG
44+
brew install gcc@8 $PYTHON_LIB mpfr gmp $CAIRO_PKG
45+
export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig
7946
sudo easy_install pip
8047
sudo pip$PYTHON install --upgrade pip
8148
sudo pip$PYTHON install coverage pytest
8249
fi
8350
- |
8451
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
85-
if [[ "$PYTHON" == "3" ]]; then PYTHON_LIB='python3'; else PYTHON_LIB=python; fi
86-
docker pull $DOCKER
87-
CONTAINER_ID=$(docker run --detach --tty --volume="$PWD":/ariadne --workdir=/ariadne $DOCKER "/bin/bash")
88-
SH_PREFIX="docker exec --tty $CONTAINER_ID"
89-
fi
90-
- |
91-
if [[ "$DOCKER" =~ ubuntu ]]; then
92-
$SH_PREFIX apt update
93-
if [[ -z "$DISABLE_GTK" ]]; then GTK_PKG=libgtk2.0-dev; else GTK_PKG=""; fi
94-
if [[ -z "$DISABLE_CAIRO" ]]; then CAIRO_PKG=libcairo2-dev; else CAIRO_PKG=""; fi
95-
PKG_INSTALL_STRING="apt install -y cmake pkg-config $COMPILER $PYTHON_LIB-pip lib$PYTHON_LIB-dev $GTK_PKG $CAIRO_PKG libmpfr-dev"
96-
fi
97-
- |
98-
if [[ "$DOCKER" =~ opensuse|fedora ]]; then
99-
if [[ "$COMPILER" == "c++" ]]; then COMPILER_PKG=gcc-c++; else COMPILER_PKG="clang gcc-c++"; fi
100-
if [[ -z "$DISABLE_GTK" ]]; then GTK_PKG=gtk2-devel; else GTK_PKG=""; fi
101-
if [[ -z "$DISABLE_CAIRO" ]]; then CAIRO_PKG=cairo-devel; else CAIRO_PKG=""; fi
52+
NPROC=nproc
53+
if [[ "$PYTHON" == "3" ]]; then PYTHON_LIB='python3'; else PYTHON_LIB=python; CMAKE_PYTHON2_EXTRA_FLAGS="-DPYTHON_LIBRARY=$(python-config --configdir)/libpython2.7.so -DPYTHON_INCLUDE_DIR=$(python-config --prefix)/include/python2.7"; fi
54+
if [[ -z "$DISABLE_CAIRO" ]]; then CAIRO_PKG=libcairo2-dev; else CAIRO_PKG=""; fi
55+
sudo apt update
56+
sudo apt install -y cmake pkg-config lcov $COMPILER $PYTHON_LIB-pip lib$PYTHON_LIB-dev $CAIRO_PKG libmpfr-dev
57+
sudo pip$PYTHON install coverage pytest
10258
fi
103-
- if [[ "$DOCKER" =~ fedora ]]; then PKG_INSTALL_STRING="dnf install -y make cmake pkg-config $COMPILER_PKG $PYTHON_LIB-devel $GTK_PKG $CAIRO_PKG mpfr-devel"; fi
104-
- if [[ "$DOCKER" =~ opensuse ]]; then PKG_INSTALL_STRING="zypper install -y cmake pkg-config $COMPILER_PKG $PYTHON_LIB-devel python$PYTHON-pip $GTK_PKG $CAIRO_PKG mpfr-devel"; fi
105-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then $SH_PREFIX sh -c "$PKG_INSTALL_STRING"; fi
106-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then PIP_INSTALL_STRING="pip$PYTHON install coverage pytest"; fi
107-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then $SH_PREFIX sh -c "$PIP_INSTALL_STRING"; fi
10859
10960
script:
110-
- CMAKE_ARGS="-DCMAKE_CXX_COMPILER=$COMPILER -DPYBIND11_PYTHON_VERSION=$PYTHON $CMAKE_MACOS_PYTHON2_EXTRA_FLAGS"
111-
- if [[ -n "$COVERAGE" ]]; then CMAKE_ARGS="$CMAKE_ARGS -DCOVERAGE=ON"; fi
112-
- if [[ -n "$DEBUG" ]]; then CMAKE_BUILD_TYPE="Debug"; else CMAKE_BUILD_TYPE="Release"; fi
61+
- echo "Running on $($NPROC) threads ..."
62+
- CMAKE_ARGS="-DCMAKE_CXX_COMPILER=$COMPILER -DPYBIND11_PYTHON_VERSION=$PYTHON $CMAKE_PYTHON2_EXTRA_FLAGS"
63+
- if [[ -n "$COVERAGE" ]]; then CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON"; else CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE=Release"; fi
11364
- if [[ "$TRAVIS_BRANCH" == master ]]; then CMAKE_ARGS="$CMAKE_ARGS -DWERROR=ON"; fi
114-
- CMAKE_ARGS="$CMAKE_ARGS -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE"
115-
- $SH_PREFIX cmake . $CMAKE_ARGS
116-
- if [[ -n "$COVERAGE" ]]; then $SH_PREFIX make tests; else $SH_PREFIX make; fi
117-
- $SH_PREFIX ctest -L "primary"
118-
- if [[ -z "$COVERAGE" ]]; then $SH_PREFIX make install; fi
119-
- if [[ -z "$COVERAGE" ]]; then $SH_PREFIX sh -c 'cp -Rf tutorials ~/tutorials'; fi
120-
- if [[ -z "$COVERAGE" ]]; then $SH_PREFIX sh -c 'cd ~/tutorials/hybrid_evolution && cmake . '$CMAKE_ARGS; fi
121-
- if [[ -z "$COVERAGE" ]]; then $SH_PREFIX sh -c 'cd ~/tutorials/hybrid_evolution && make'; fi
122-
- if [[ -z "$COVERAGE" ]]; then $SH_PREFIX sh -c 'cd ~/tutorials/hybrid_evolution && ./hybrid_evolution_tutorial -v 0 > /dev/null'; fi
123-
- if [[ -z "$COVERAGE" ]]; then $SH_PREFIX sh -c 'cd ~/tutorials/rigorous_numerics && cmake . '$CMAKE_ARGS; fi
124-
- if [[ -z "$COVERAGE" ]]; then $SH_PREFIX sh -c 'cd ~/tutorials/rigorous_numerics && make'; fi
125-
- if [[ -z "$COVERAGE" ]]; then $SH_PREFIX sh -c 'cd ~/tutorials/rigorous_numerics && ./rigorous_numerics_tutorial > /dev/null'; fi
126-
- if [[ -z "$COVERAGE" ]]; then $SH_PREFIX sh -c 'mkdir ~/tutorials/python && cp -Rf python/tutorials/* ~/tutorials/python'; fi
127-
- if [[ -z "$COVERAGE" ]]; then $SH_PREFIX sh -c 'export LD_LIBRARY_PATH=/usr/local/lib && cd ~/tutorials/python && python'$PYTHON' tutorial.py > /dev/null'; fi
65+
- cmake . $CMAKE_ARGS
66+
- if [[ -n "$COVERAGE" ]]; then make tests -j $($NPROC); else make -j $($NPROC); fi
67+
- ctest -L "primary" -j $($NPROC)
68+
- |
69+
if [[ -z "$COVERAGE" ]]; then
70+
sudo make install
71+
cp -Rf tutorials ~/tutorials
72+
cd ~/tutorials/hybrid_evolution
73+
cmake . $CMAKE_ARGS
74+
make -j $($NPROC)
75+
./hybrid_evolution_tutorial -v 0 > /dev/null
76+
cd ~/tutorials/rigorous_numerics
77+
cmake . $CMAKE_ARGS
78+
make -j $($NPROC)
79+
./rigorous_numerics_tutorial > /dev/null
80+
mkdir ~/tutorials/python
81+
cd $TRAVIS_BUILD_DIR
82+
cp -Rf python/tutorials/* ~/tutorials/python
83+
export LD_LIBRARY_PATH=/usr/local/lib
84+
cd ~/tutorials/python
85+
python$PYTHON tutorial.py > /dev/null
86+
fi
12887
12988
after_success:
130-
- if [[ -n "$COVERAGE" ]]; then bash <(curl -s https://codecov.io/bash); fi
89+
- |
90+
if [[ -n "$COVERAGE" ]]; then
91+
lcov --directory . --capture --output-file coverage.info
92+
lcov --remove coverage.info '/usr/*' --output-file coverage.info
93+
lcov --list coverage.info
94+
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"
95+
fi

CMakeLists.txt

Lines changed: 42 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cmake_minimum_required(VERSION 3.9)
2+
message(STATUS "CMake version ${CMAKE_VERSION}")
23

34
project(Ariadne VERSION 1.9)
45

@@ -17,6 +18,9 @@ set(CMAKE_MACOSX_RPATH 1)
1718
set(BUILD_SHARED_LIBS ON)
1819
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
1920
set(CMAKE_CXX_STANDARD 17)
21+
22+
set(PYBIND_SUBMODULE_COMMIT 435dbdd)
23+
2024
foreach(WARN ${COMPILER_WARN})
2125
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W${WARN}")
2226
endforeach()
@@ -33,7 +37,17 @@ if(NOT CMAKE_BUILD_TYPE)
3337
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O1")
3438
endif()
3539

36-
set(COVERAGE_COMPILER_FLAGS -O0 --coverage -fprofile-arcs -ftest-coverage)
40+
option(COVERAGE "Enable coverage reporting" OFF)
41+
add_library(coverage_config INTERFACE)
42+
if(COVERAGE)
43+
message(STATUS "Enabled coverage reporting")
44+
target_compile_options(coverage_config INTERFACE -O0 -g --coverage)
45+
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.13)
46+
target_link_options(coverage_config INTERFACE --coverage)
47+
else()
48+
target_link_libraries(coverage_config INTERFACE --coverage)
49+
endif()
50+
endif()
3751

3852
enable_testing()
3953
include(CTest)
@@ -94,19 +108,16 @@ else()
94108
message(WARNING "Unable to find Cairo. You will not be able to use graphics.")
95109
endif()
96110

97-
find_package(GTK2)
98-
if(GTK2_FOUND)
99-
set(HAVE_GTK2_H ON)
100-
include_directories(SYSTEM ${GTK2_INCLUDE_DIRS})
101-
else()
102-
message(WARNING "Unable to find GTK2. You will not be able to use graphics windows.")
103-
endif()
104-
105-
106111
configure_file(${PROJECT_SOURCE_DIR}/cmake/config.hpp.cmake ${PROJECT_SOURCE_DIR}/source/config.hpp)
107112

108113
include_directories(${PROJECT_SOURCE_DIR}/source)
109114

115+
find_package(Kirk)
116+
117+
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
118+
add_definitions(-Wno-non-template-friend)
119+
endif()
120+
110121
add_subdirectory(source)
111122
add_subdirectory(tests)
112123
add_subdirectory(examples)
@@ -120,9 +131,21 @@ if(PYTHONLIBS_FOUND)
120131
message(STATUS "pybind11 dependency not available.")
121132
find_package(Git)
122133
if(GIT_FOUND)
123-
message(STATUS "Downloading it...")
124-
execute_process(COMMAND git submodule update --init --recursive OUTPUT_QUIET ERROR_QUIET)
125-
message(STATUS "Downloaded pybind11 dependency successfully.")
134+
message(STATUS "Downloading pybind11 repository...")
135+
if (NOT EXISTS ${PROJECT_SOURCE_DIR}/.git)
136+
execute_process(COMMAND git init WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} OUTPUT_QUIET ERROR_QUIET)
137+
execute_process(COMMAND rm -Rf ${PROJECT_SOURCE_DIR}/external/pybind11 OUTPUT_QUIET ERROR_QUIET)
138+
execute_process(COMMAND git submodule add -f https://github.com/pybind/pybind11 external/pybind11 WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} OUTPUT_QUIET ERROR_QUIET)
139+
execute_process(COMMAND git checkout ${PYBIND_SUBMODULE_COMMIT} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/external/pybind11 OUTPUT_QUIET ERROR_QUIET)
140+
execute_process(COMMAND git submodule update --init --recursive WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/external/pybind11 OUTPUT_QUIET ERROR_QUIET)
141+
else()
142+
execute_process(COMMAND git submodule update --init --recursive WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} OUTPUT_QUIET ERROR_QUIET)
143+
endif()
144+
if(NOT EXISTS ${PROJECT_SOURCE_DIR}/external/pybind11/CMakeLists.txt)
145+
message(ERROR "pybind11 download failure.")
146+
else()
147+
message(STATUS "Downloaded pybind11 dependency successfully.")
148+
endif()
126149
else()
127150
message(ERROR "Git not found, pybind11 dependency could not be downloaded.")
128151
endif()
@@ -162,12 +185,6 @@ add_library(ariadne SHARED
162185
$<TARGET_OBJECTS:ariadne-hybrid>
163186
)
164187

165-
if(COVERAGE)
166-
target_link_libraries(ariadne gcov)
167-
target_link_libraries(ariadne-kernel gcov)
168-
target_link_libraries(ariadne-core gcov)
169-
endif()
170-
171188
target_link_libraries(ariadne dl)
172189
target_link_libraries(ariadne-kernel dl)
173190
target_link_libraries(ariadne-core dl)
@@ -176,6 +193,12 @@ target_link_libraries(ariadne ${GMP_LIBRARIES} ${MPFR_LIBRARIES})
176193
target_link_libraries(ariadne-kernel ${GMP_LIBRARIES} ${MPFR_LIBRARIES})
177194
target_link_libraries(ariadne-core ${GMP_LIBRARIES} ${MPFR_LIBRARIES})
178195

196+
if(COVERAGE)
197+
target_link_libraries(ariadne coverage_config)
198+
target_link_libraries(ariadne-kernel coverage_config)
199+
target_link_libraries(ariadne-core coverage_config)
200+
endif()
201+
179202
if(GMPXX_FOUND)
180203
target_link_libraries(ariadne ${GMPXX_LIBRARIES})
181204
target_link_libraries(ariadne-kernel ${GMP_LIBRARIES} ${MPFR_LIBRARIES})
@@ -187,10 +210,5 @@ if(CAIRO_FOUND)
187210
target_link_libraries(ariadne-kernel ${CAIRO_LIBRARIES})
188211
endif()
189212

190-
if(GTK2_FOUND)
191-
target_link_libraries(ariadne ${GTK2_LIBRARIES})
192-
target_link_libraries(ariadne-kernel ${GTK2_LIBRARIES})
193-
endif()
194-
195213
install(TARGETS ariadne DESTINATION lib)
196214
install(DIRECTORY source/ DESTINATION include/ariadne FILES_MATCHING PATTERN "*.hpp")

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Ariadne is a tool for reachability analysis and model checking of hybrid systems. Additionally, it is a framework for rigorous computation featuring arithmetic, linear algebra, calculus, geometry, algebraic and differential equations, and optimization solvers.
88

99
* This repository contains the main development fork of the tool. For a more stable version with a less sophisticated user interface, see the *release-1.0* repository.
10-
* The latest internal release is [v1.9.2](https://github.com/ariadne-cps/ariadne/releases/tag/v1.9.2). However, the code in the master branch should always be usable.
10+
* For the latest internal release, see the [releases](https://github.com/ariadne-cps/ariadne/releases) page. However, the code in the master branch should always be usable.
1111

1212
### Installation ###
1313

@@ -19,21 +19,27 @@ The build system is CMake. The library is tested for compilation using gcc and c
1919

2020
#### Dependencies
2121

22-
The only required library dependencies of Ariadne are GMP and MPFR. If you want to enable the graphical output you will require Cairo (to save into png files) and GTK2 (for window display). Finally, the Python bindings require the Python headers (either Python 2 or 3 are supported). In particular for Python, there is an internal Git submodule dependency on the header-only [pybind11](https://github.com/pybind/pybind11) library. Therefore in order to fetch the dependency, Git must be installed.
22+
The only required library dependencies of Ariadne are GMP and MPFR. If you want to enable the graphical output you will require Cairo in order to save into png files. Finally, the Python bindings require the Python headers (either Python 2 or 3 are supported). In particular for Python, there is an internal Git submodule dependency on the header-only [pybind11](https://github.com/pybind/pybind11) library. Therefore in order to fetch the dependency, Git must be installed.
2323

2424
Finally, if you want to build the documentation, you need Doxygen and a working Latex distribution (including the Math packages).
2525

2626
Specific instructions for Ubuntu and macOS follow (documentation packages are excluded).
2727

2828
##### Ubuntu
29-
Aptitude packages: `cmake git libgmp-dev libmpfr-dev libgtk2.0-dev libcairo2-dev`
29+
Aptitude packages: `cmake pkg-config git libgmp-dev libmpfr-dev libcairo2-dev`
3030

3131
Additional Aptitude package required for the Python interface: `python3-dev` or `python-dev`.
3232

3333
##### macOS
3434
1. Install the Command Line Developer Tools (will also be asked when installing Homebrew) from the Apple Store
3535

36-
2. Install Homebrew from http://brew.sh/ . Homebrew packages required: `cmake git mpfr gmp gtk cairo`
36+
2. Install Homebrew from http://brew.sh/ . Homebrew packages required: `cmake git mpfr gmp cairo`
37+
38+
For Cairo support, you may need to set up a permanent variable for the path of pkgconfig by adding the following line in your `~\.bash_profile`:
39+
40+
```
41+
export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig
42+
```
3743

3844
#### Building
3945

cmake/FindKirk.cmake

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
find_path(KIRK_INCLUDE_DIR kirk/kirk-real-obj.h PATH_SUFFIXES kirk)
2+
#check_include_files(kirk/kirk-real-obj.h HAVE_KIRK_REAL_OBJ_H)
3+
find_library(KIRK_LIBRARY kirk)
4+
5+
include(FindPackageHandleStandardArgs)
6+
find_package_handle_standard_args(KIRK DEFAULT_MSG KIRK_LIBRARY KIRK_INCLUDE_DIR)
7+
8+
#Diagnostic messages
9+
#message(KIRK_FOUND=${KIRK_FOUND})
10+
#message(KIRK_LIBRARY=${KIRK_LIBRARY})
11+
#message(KIRK_INCLUDE_DIR=${KIRK_INCLUDE_DIR})
12+
#message(HAVE_KIRK_REAL_OBJ_H=${HAVE_KIRK_REAL_OBJ_H})
13+

cmake/config.hpp.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@
1414

1515
#cmakedefine HAVE_GMPXX_H
1616
#cmakedefine HAVE_CAIRO_H
17-
#cmakedefine HAVE_GTK2_H
1817

1918
#endif /* ARIADNE_CONFIG_HPP */

doc/Doxyfile.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ FORMULA_TRANSPARENT = YES
14231423
# The default value is: NO.
14241424
# This tag requires that the tag GENERATE_HTML is set to YES.
14251425

1426-
USE_MATHJAX = NO
1426+
USE_MATHJAX = YES
14271427

14281428
# When MathJax is enabled you can set the default output format to be used for
14291429
# the MathJax output. See the MathJax site (see:
@@ -1453,15 +1453,15 @@ MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
14531453
# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
14541454
# This tag requires that the tag USE_MATHJAX is set to YES.
14551455

1456-
MATHJAX_EXTENSIONS =
1456+
MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
14571457

14581458
# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
14591459
# of code that will be used on startup of the MathJax code. See the MathJax site
14601460
# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
14611461
# example see the documentation.
14621462
# This tag requires that the tag USE_MATHJAX is set to YES.
14631463

1464-
MATHJAX_CODEFILE =
1464+
MATHJAX_CODEFILE = @CMAKE_CURRENT_SOURCE_DIR@/doc/macros.js
14651465

14661466
# When the SEARCHENGINE tag is enabled doxygen will generate a search box for
14671467
# the HTML output. The underlying search engine uses javascript and DHTML and

0 commit comments

Comments
 (0)