We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6558dfd commit 6219f7fCopy full SHA for 6219f7f
CMakeLists.txt
@@ -75,12 +75,11 @@ function(configure_kernel kernel)
75
endforeach()
76
endfunction()
77
78
-configure_kernel("share/jupyter/kernels/xcpp11")
79
-configure_kernel("share/jupyter/kernels/xcpp14")
80
-configure_kernel("share/jupyter/kernels/xcpp17")
81
-configure_kernel("share/jupyter/kernels/clad-xcpp17")
82
-configure_kernel("share/jupyter/kernels/cuda-xcpp17")
83
-configure_kernel("share/jupyter/kernels/omp-xcpp17")
+file(GLOB _kernels LIST_DIRECTORIES true RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "share/jupyter/kernels/*")
+foreach(_kernel IN LISTS _kernels)
+ message("Configure kernel: ${_kernel}")
+ configure_kernel("${_kernel}")
+endforeach()
84
85
################
86
# Dependencies #
0 commit comments