Skip to content

Commit

Permalink
Merge pull request #86 from rapgenic/flatten
Browse files Browse the repository at this point in the history
Backport [5/5]: Flatten source tree
  • Loading branch information
AntoinePrv committed Dec 23, 2022
2 parents 50883e7 + 0e5aeba commit dac06e6
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 20 deletions.
19 changes: 10 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,20 @@ set(
include/xeus-octave/xinterpreter.hpp
include/xeus-octave/input.hpp
include/xeus-octave/output.hpp
src/toolkits/notebook.hpp
src/toolkits/opengl.hpp
src/toolkits/plotly.hpp
src/toolkits/plotstream.hpp
src/toolkits/tex2html.hpp
src/xoctave/display.hpp
include/xeus-octave/utils.hpp
include/xeus-octave/tk_notebook.hpp
include/xeus-octave/opengl.hpp
include/xeus-octave/tk_plotly.hpp
include/xeus-octave/plotstream.hpp
include/xeus-octave/tex2html.hpp
include/xeus-octave/display.hpp
)

set(
XEUS_OCTAVE_SRC
src/toolkits/plotly.cpp
src/toolkits/notebook.cpp
src/xoctave/display.cpp
src/tk_plotly.cpp
src/tk_notebook.cpp
src/display.cpp
src/xinterpreter.cpp
src/input.cpp
src/output.cpp
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 3 additions & 4 deletions src/toolkits/notebook.cpp → src/tk_notebook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <string>
#include <vector>

#include "opengl.hpp"
#include "xeus-octave/opengl.hpp"

#include <GLFW/glfw3.h>
#include <nlohmann/json.hpp>
Expand All @@ -43,11 +43,10 @@
#include <png.h>
#include <xtl/xbase64.hpp>

#include "xeus-octave/plotstream.hpp"
#include "xeus-octave/tk_notebook.hpp"
#include "xeus-octave/xinterpreter.hpp"

#include "notebook.hpp"
#include "plotstream.hpp"

namespace nl = nlohmann;
namespace oc = octave;
using namespace std::chrono;
Expand Down
6 changes: 3 additions & 3 deletions src/toolkits/plotly.cpp → src/tk_plotly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
#include <octave/utils.h>
#include <octave/version.h>

#include "plotly.hpp"
#include "plotstream.hpp"
#include "tex2html.hpp"
#include "xeus-octave/plotstream.hpp"
#include "xeus-octave/tex2html.hpp"
#include "xeus-octave/tk_plotly.hpp"

namespace oc = octave;
namespace nl = nlohmann;
Expand Down
7 changes: 3 additions & 4 deletions src/xinterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,14 @@
#include <xeus/xmessage.hpp>

#include "xeus-octave/config.hpp"
#include "xeus-octave/display.hpp"
#include "xeus-octave/input.hpp"
#include "xeus-octave/output.hpp"
#include "xeus-octave/tk_notebook.hpp"
#include "xeus-octave/tk_plotly.hpp"
#include "xeus-octave/utils.hpp"
#include "xeus-octave/xinterpreter.hpp"

#include "toolkits/notebook.hpp"
#include "toolkits/plotly.hpp"
#include "xoctave/display.hpp"

namespace nl = nlohmann;
namespace oc = octave;

Expand Down

0 comments on commit dac06e6

Please sign in to comment.