File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -215,10 +215,14 @@ set(XEUS_CPP_SRC
215215 src/xutils.cpp
216216)
217217
218+ list (APPEND XEUS_CPP_SRC
219+ src/xmagics/os.cpp
220+ )
221+
218222if (NOT EMSCRIPTEN)
219223 list (APPEND XEUS_CPP_SRC
220224 src/xmagics/xassist.cpp
221- src/xmagics/os.cpp
225+
222226 )
223227endif ()
224228
Original file line number Diff line number Diff line change 1717
1818#include " xinput.hpp"
1919#include " xinspect.hpp"
20- #ifndef EMSCRIPTEN
2120#include " xmagics/os.hpp"
21+ #ifndef EMSCRIPTEN
2222#include " xmagics/xassist.hpp"
2323#endif
2424#include " xparser.hpp"
@@ -372,9 +372,10 @@ __get_cxx_version ()
372372 // preamble_manager["magics"].get_cast<xmagics_manager>().register_magic("timeit",
373373 // timeit(&m_interpreter));
374374 // preamble_manager["magics"].get_cast<xmagics_manager>().register_magic("python", pythonexec());
375+ preamble_manager[" magics" ].get_cast <xmagics_manager>().register_magic (" file" , writefile ());
375376#ifndef EMSCRIPTEN
376377 preamble_manager[" magics" ].get_cast <xmagics_manager>().register_magic (" xassist" , xassist ());
377- preamble_manager[ " magics " ]. get_cast <xmagics_manager>(). register_magic ( " file " , writefile ());
378+
378379#endif
379380 }
380381}
You can’t perform that action at this time.
0 commit comments