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 # We will work on command line using MinGW compiler
0010 export MAKEFILES_TYPE='Unix Makefiles'
0011 
0012 if [ ! -d "build" ]; then
0013     mkdir build
0014 fi
0015 
0016 cd build
0017 
0018 cmake -G "$MAKEFILES_TYPE" . \
0019       -DCMAKE_BUILD_TYPE=Debug \
0020       -DCMAKE_INSTALL_PREFIX=/usr \
0021       -DENABLE_ASAN=OFF \
0022       -DENABLE_SYSTEM_GMIC=OFF \
0023       -DGMIC_QT_HOST=digikam \
0024       -Wno-dev \
0025       ..
0026