Skip to content

Commit 5fbd359

Browse files
authored
Update xeus-cpp-lite example notebook (#227)
1 parent 232e345 commit 5fbd359

File tree

3 files changed

+471
-367
lines changed

3 files changed

+471
-367
lines changed

.github/workflows/deploy-github-page.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ jobs:
7878
--XeusAddon.prefix=${{ env.PREFIX }} \
7979
--contents README.md \
8080
--contents notebooks/xeus-cpp-lite-demo.ipynb \
81+
--contents notebooks/images/marie.png \
82+
--contents notebooks/audio/audio.wav \
8183
--output-dir dist
8284
8385
- name: Upload artifact

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,11 @@ set(XCPP_HEADERS
389389
add_library(xeus-cpp-headers INTERFACE)
390390
set_target_properties(xeus-cpp-headers PROPERTIES PUBLIC_HEADER "${XCPP_HEADERS}")
391391

392-
install(TARGETS xeus-cpp-headers PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/xcpp)
392+
if (EMSCRIPTEN)
393+
install(TARGETS xeus-cpp-headers PUBLIC_HEADER DESTINATION ${SYSROOT_PATH}/include/xcpp)
394+
else ()
395+
install(TARGETS xeus-cpp-headers PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/xcpp)
396+
endif()
393397

394398
# xeus-cpp
395399
# ========

0 commit comments

Comments
 (0)