diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2016-08-10 14:22:26 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2016-08-10 14:22:26 +0200 |
commit | e0b3400048f15e100b2ff7dac8beee4a51d9db58 (patch) | |
tree | 0c0e50d40ac316edaae359b3d4470ad82716b665 /configure | |
parent | a144dd72b6ab2befaa6246b62da252c5fd73f2c8 (diff) | |
download | kicad-utils-e0b3400048f15e100b2ff7dac8beee4a51d9db58.tar.gz kicad-utils-e0b3400048f15e100b2ff7dac8beee4a51d9db58.tar.bz2 kicad-utils-e0b3400048f15e100b2ff7dac8beee4a51d9db58.tar.xz kicad-utils-e0b3400048f15e100b2ff7dac8beee4a51d9db58.zip |
o Better ./configure script.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -19,6 +19,20 @@ cd $BASEDIR NEW=`test -d build && echo 1 || true` +git submodule init +git submodule sync +git submodule update + +if [[ ! -d thirdparty/antlr4/runtime/Cpp/build ]] +then + cd thirdparty/antlr4 + mvn install + cd runtime/Cpp/build + mkdir thirdparty/antlr4/runtime/Cpp/build + cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/opt/antlr4-cpp + make install -j8 +fi + mkdir -p build CMAKE_OPTS=() |