Improved build scripts
This commit is contained in:
parent
0c6d298362
commit
e532acd82d
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
cmake_minimum_required(VERSION 3.9)
|
||||
project(TeaWeb-Native)
|
||||
|
||||
set (CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "") #Override some config values from the parent project
|
||||
set(CMAKE_CXX_COMPILER "emcc")
|
||||
set(CMAKE_C_COMPILER "emcc")
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if ! [ -d generated ]; then
|
||||
mkdir generated
|
||||
fi
|
||||
OPUS_FN="'_free','_malloc','_opus_strerror','_opus_get_version_string','_opus_encoder_get_size','_opus_encoder_init','_opus_encode','_opus_encode_float','_opus_encoder_ctl','_opus_decoder_get_size','_opus_decoder_init','_opus_decode','_opus_decode_float','_opus_decoder_ctl','_opus_packet_get_nb_samples'"
|
||||
cd libraries/opus/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue