mirror of https://github.com/pyodide/pyodide.git
15 lines
468 B
YAML
15 lines
468 B
YAML
package:
|
|
name: cpp-exceptions-test
|
|
version: "0.1"
|
|
_tag: pyodide.test
|
|
source:
|
|
path: src
|
|
build:
|
|
type: shared_library
|
|
script: |
|
|
em++ -c throw.cpp -o throw.o ${SIDE_MODULE_CFLAGS} -fexceptions
|
|
em++ -c catch.cpp -o catch.o ${SIDE_MODULE_CFLAGS} -fexceptions
|
|
mkdir dist
|
|
em++ throw.o ${SIDE_MODULE_LDFLAGS} -o dist/cpp-exceptions-test-throw.so -fexceptions
|
|
em++ catch.o ${SIDE_MODULE_LDFLAGS} -o dist/cpp-exceptions-test-catch.so -fexceptions
|