File indexing completed on 2024-05-12 04:17:32
0001 #!/bin/bash 0002 0003 # SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier, <caulier dot gilles at gmail dot com> 0004 # 0005 # SPDX-License-Identifier: BSD-3-Clause 0006 # 0007 # Copy this script on root folder where are source code 0008 0009 #export VERBOSE=1 0010 0011 # We will work on command line using MinGW compiler 0012 export MAKEFILES_TYPE='Unix Makefiles' 0013 0014 if [ ! -d "build" ]; then 0015 mkdir build 0016 fi 0017 0018 cd build 0019 0020 export Options='-DCLAZY_AST_MATCHERS_CRASH_WORKAROUND=ON \ 0021 -DLINK_CLAZY_TO_LLVM=ON \ 0022 -DAPPIMAGE_HACK=OFF \ 0023 -DCLAZY_MAN_PAGE=OFF' 0024 0025 cmake -G "$MAKEFILES_TYPE" . \ 0026 -DCMAKE_INSTALL_PREFIX=/usr \ 0027 -Wno-dev \ 0028 $Options \ 0029 .. 0030