File: configure.sh

package info (click to toggle)
stdgpu 1.3.0%2Bgit20220507.32e0517-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,528 kB
  • sloc: cpp: 7,818; pascal: 1,893; xml: 214; sh: 181; makefile: 50
file content (13 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -e

if [ "$#" = 0 ]; then
    CONFIG="Release"
else
    CONFIG=$1
    shift
fi

# Configure project
cmake -E cmake_echo_color --blue ">>>>> Configure stdgpu project ($CONFIG)"
cmake -B build -S . -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_INSTALL_PREFIX=bin $@