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
215
215
src/xutils.cpp
216
216
)
217
217
218
+ list (APPEND XEUS_CPP_SRC
219
+ src/xmagics/os.cpp
220
+ )
221
+
218
222
if (NOT EMSCRIPTEN )
219
223
list (APPEND XEUS_CPP_SRC
220
224
src/xmagics/xassist.cpp
221
- src/xmagics/os.cpp
225
+
222
226
)
223
227
endif ()
224
228
Original file line number Diff line number Diff line change 17
17
18
18
#include " xinput.hpp"
19
19
#include " xinspect.hpp"
20
- #ifndef EMSCRIPTEN
21
20
#include " xmagics/os.hpp"
21
+ #ifndef EMSCRIPTEN
22
22
#include " xmagics/xassist.hpp"
23
23
#endif
24
24
#include " xparser.hpp"
@@ -372,9 +372,10 @@ __get_cxx_version ()
372
372
// preamble_manager["magics"].get_cast<xmagics_manager>().register_magic("timeit",
373
373
// timeit(&m_interpreter));
374
374
// preamble_manager["magics"].get_cast<xmagics_manager>().register_magic("python", pythonexec());
375
+ preamble_manager[" magics" ].get_cast <xmagics_manager>().register_magic (" file" , writefile ());
375
376
#ifndef EMSCRIPTEN
376
377
preamble_manager[" magics" ].get_cast <xmagics_manager>().register_magic (" xassist" , xassist ());
377
- preamble_manager[ " magics " ]. get_cast <xmagics_manager>(). register_magic ( " file " , writefile ());
378
+
378
379
#endif
379
380
}
380
381
}
You can’t perform that action at this time.
0 commit comments