"Fossies" - the Fresh Open Source Software Archive

Member "digikam-6.3.0/project/scripts/bootstrap-gmicqt.sh" (4 Sep 2019, 628 Bytes) of package /linux/misc/digikam-6.3.0.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 
    3 # Copyright (c) 2008-2019, Gilles Caulier, <caulier dot gilles at gmail dot com>
    4 #
    5 # Redistribution and use is allowed according to the terms of the BSD license.
    6 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
    7 #
    8 # Copy this script on root folder where are source code
    9 
   10 # We will work on command line using MinGW compiler
   11 export MAKEFILES_TYPE='Unix Makefiles'
   12 
   13 if [ ! -d "build" ]; then
   14     mkdir build
   15 fi
   16 
   17 cd build
   18 
   19 cmake -G "$MAKEFILES_TYPE" . \
   20       -DCMAKE_BUILD_TYPE=Debug \
   21       -DCMAKE_INSTALL_PREFIX=/usr \
   22       -ENABLE_ASAN=OFF \
   23       -DGMIC_QT_HOST=digikam \
   24       -Wno-dev \
   25       ..
   26