Skip to content

Commit 9628b1c

Browse files
committed
Add smallpt example notebook running through xeus-cpp-lite
1 parent 3c5328d commit 9628b1c

File tree

2 files changed

+105
-0
lines changed

2 files changed

+105
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ if(EMSCRIPTEN)
436436
xeus_wasm_compile_options(xcpp)
437437
xeus_wasm_link_options(xcpp "web,worker")
438438
target_link_options(xcpp
439+
PUBLIC "SHELL: -s USE_SDL=2"
439440
PUBLIC "SHELL: --preload-file ${SYSROOT_PATH}/include@/include"
440441
#PUBLIC "SHELL: --preload-file ${CMAKE_INSTALL_PREFIX}${XEUS_CPP_RESOURCE_DIR}@${XEUS_CPP_RESOURCE_DIR}"
441442
PUBLIC "SHELL: --preload-file ${XEUS_CPP_DATA_DIR}@/share/xeus-cpp"

notebooks/smallpt.ipynb

Lines changed: 104 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)