aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-08-10 14:22:26 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2016-08-10 14:22:26 +0200
commite0b3400048f15e100b2ff7dac8beee4a51d9db58 (patch)
tree0c0e50d40ac316edaae359b3d4470ad82716b665 /configure
parenta144dd72b6ab2befaa6246b62da252c5fd73f2c8 (diff)
downloadkicad-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-xconfigure14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure
index 4aaae1c..54e3c67 100755
--- a/configure
+++ b/configure
@@ -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=()