Refactor ANTLR3 dependency (#6202)
authorGereon Kremer <gereon.kremer@cs.rwth-aachen.de>
Sat, 27 Mar 2021 09:41:49 +0000 (10:41 +0100)
committerGitHub <noreply@github.com>
Sat, 27 Mar 2021 09:41:49 +0000 (09:41 +0000)
commit4b7e392eca42f89d103c5eb74157a44d4b40fe4b
tree649e24b292ac6b6dba11fe4a0e5df69ab4406019
parent1ac0ebabb80f68c6c666d1eae1588c0950a6f2f7
Refactor ANTLR3 dependency (#6202)

This PR refactors our first, and arguably most fragile, dependency.
Right now all dependencies need to be manually installed (by calling the appropriate contrib/get-X script). For optional dependencies, we additionally need to enable them when calling the configure script (or via ccmake).
This PR is the first step in refactoring all dependencies to be automatically build (if required) as an external project.

Note that this not only eliminates the need to call contrib scripts, but also simplifies cross compilation: as all dependencies are now built within the build folders, every build folder has its own copy which may use different toolchains.
.github/workflows/ci.yml
.gitignore
CMakeLists.txt
cmake/FindANTLR.cmake [deleted file]
cmake/FindANTLR3.cmake [new file with mode: 0644]
cmake/FindDummy.cmake.template [new file with mode: 0644]
cmake/deps-helper.cmake [new file with mode: 0644]
configure.sh
contrib/get-antlr-3.4 [deleted file]
src/parser/CMakeLists.txt