Dqn/build.sh

21 lines
349 B
Bash
Executable File

#!/bin/bash
set -ex
code_dir=${PWD}
mkdir -p Build
pushd Build
g++ \
-Wall \
-Werror \
-fsanitize=address \
-std=c++17 \
-D DQN_IMPLEMENTATION \
-D DQN_UNIT_TESTS_WITH_MAIN \
-D DQN_UNIT_TESTS_WITH_KECCAK \
-x c++ ${code_dir}/dqn.h \
-g \
-o dqn_unit_tests
popd