Skip to content

Commit 5502e68

Browse files
authored
Add c++23 kernel and add configure ste in cmake
1 parent a7649c0 commit 5502e68

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ endfunction()
154154
message("Configure kernels: ...")
155155
configure_kernel("/share/jupyter/kernels/xcpp17/")
156156
configure_kernel("/share/jupyter/kernels/xcpp20/")
157+
configure_kernel("/share/jupyter/kernels/xccp23/")
157158

158159
# Source files
159160
# ============
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"display_name": "C++23",
3+
"env": {
4+
"PATH":"@XEUS_CPP_PATH@",
5+
"LD_LIBRARY_PATH":"@XEUS_CPP_LD_LIBRARY_PATH@"
6+
},
7+
"argv": [
8+
"@XEUS_CPP_KERNELSPEC_PATH@xcpp",
9+
"-f",
10+
"{connection_file}",
11+
"-resource-dir", "@XEUS_CPP_RESOURCE_DIR@",
12+
"-I", "@XEUS_CPP_INCLUDE_DIR@",
13+
"-std=c++23"@XEUS_CPP_OMP@
14+
],
15+
"language": "cpp",
16+
"metadata": {"debugger": false
17+
}
18+
}

0 commit comments

Comments
 (0)