9 lines
304 B
Bash
Executable File
9 lines
304 B
Bash
Executable File
#! /bin/bash
|
|
|
|
CWD="$(pwd)"
|
|
BIN=$CWD/toolchain/local/bin
|
|
GCC=$BIN/x86_64-pc-acadia-gcc
|
|
AR=$BIN/x86_64-pc-acadia-ar
|
|
SYSROOT=$CWD/sysroot
|
|
cmake -B builddbg/ -G Ninja -D CMAKE_CXX_COMPILER=${GCC} -D CMAKE_ASM-ATT_COMPILER=${GCC} -D CMAKE_AR=${AR} -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX=${SYSROOT}
|