diff options
Diffstat (limited to 'lib/nes/common')
| -rw-r--r-- | lib/nes/common/CMakeLists.txt | 13 | ||||
| -rw-r--r-- | lib/nes/common/containers/CMakeLists.txt | 12 | ||||
| -rw-r--r-- | lib/nes/common/containers/box.hh (renamed from lib/nes/common/box.hh) | 0 | ||||
| -rw-r--r-- | lib/nes/common/containers/list.hh (renamed from lib/nes/common/list.hh) | 0 | ||||
| -rw-r--r-- | lib/nes/common/containers/path-builder.cc (renamed from lib/nes/common/path-builder.cc) | 2 | ||||
| -rw-r--r-- | lib/nes/common/containers/path-builder.hh (renamed from lib/nes/common/path-builder.hh) | 4 | ||||
| -rw-r--r-- | lib/nes/common/containers/path-view.cc (renamed from lib/nes/common/path-view.cc) | 2 | ||||
| -rw-r--r-- | lib/nes/common/containers/path-view.hh (renamed from lib/nes/common/path-view.hh) | 0 | ||||
| -rw-r--r-- | lib/nes/common/containers/span.hh (renamed from lib/nes/common/span.hh) | 0 | ||||
| -rw-r--r-- | lib/nes/common/containers/string-builder.cc (renamed from lib/nes/common/string-builder.cc) | 2 | ||||
| -rw-r--r-- | lib/nes/common/containers/string-builder.hh (renamed from lib/nes/common/string-builder.hh) | 2 |
11 files changed, 21 insertions, 16 deletions
diff --git a/lib/nes/common/CMakeLists.txt b/lib/nes/common/CMakeLists.txt index a5703ff..3920d36 100644 --- a/lib/nes/common/CMakeLists.txt +++ b/lib/nes/common/CMakeLists.txt @@ -4,14 +4,7 @@ target_sources( types.hh debug.hh rgb.hh - list.hh - box.hh display.hh - string-builder.hh - string-builder.cc - path-view.hh - path-view.cc - path-builder.hh - path-builder.cc - span.hh - status.hh)
\ No newline at end of file + status.hh) + +add_subdirectory(containers)
\ No newline at end of file diff --git a/lib/nes/common/containers/CMakeLists.txt b/lib/nes/common/containers/CMakeLists.txt new file mode 100644 index 0000000..351772f --- /dev/null +++ b/lib/nes/common/containers/CMakeLists.txt @@ -0,0 +1,12 @@ +target_sources( + nes + PRIVATE + box.hh + list.hh + path-builder.hh + path-builder.cc + path-view.hh + path-view.cc + span.hh + string-builder.hh + string-builder.cc)
\ No newline at end of file diff --git a/lib/nes/common/box.hh b/lib/nes/common/containers/box.hh index 7bf2848..7bf2848 100644 --- a/lib/nes/common/box.hh +++ b/lib/nes/common/containers/box.hh diff --git a/lib/nes/common/list.hh b/lib/nes/common/containers/list.hh index 46f7027..46f7027 100644 --- a/lib/nes/common/list.hh +++ b/lib/nes/common/containers/list.hh diff --git a/lib/nes/common/path-builder.cc b/lib/nes/common/containers/path-builder.cc index b66226f..2e3ce07 100644 --- a/lib/nes/common/path-builder.cc +++ b/lib/nes/common/containers/path-builder.cc @@ -1,4 +1,4 @@ -#include "nes/common/path-builder.hh" +#include "nes/common/containers/path-builder.hh" namespace nes { diff --git a/lib/nes/common/path-builder.hh b/lib/nes/common/containers/path-builder.hh index e7980ea..2991a83 100644 --- a/lib/nes/common/path-builder.hh +++ b/lib/nes/common/containers/path-builder.hh @@ -1,8 +1,8 @@ #pragma once +#include "nes/common/containers/span.hh" +#include "nes/common/containers/path-view.hh" #include "nes/common/types.hh" -#include "nes/common/span.hh" -#include "nes/common/path-view.hh" #include "nes/common/status.hh" #include <string_view> diff --git a/lib/nes/common/path-view.cc b/lib/nes/common/containers/path-view.cc index 743c060..c81668b 100644 --- a/lib/nes/common/path-view.cc +++ b/lib/nes/common/containers/path-view.cc @@ -1,4 +1,4 @@ -#include "nes/common/path-view.hh" +#include "nes/common/containers/path-view.hh" #include "nes/common/debug.hh" namespace nes diff --git a/lib/nes/common/path-view.hh b/lib/nes/common/containers/path-view.hh index 7741060..7741060 100644 --- a/lib/nes/common/path-view.hh +++ b/lib/nes/common/containers/path-view.hh diff --git a/lib/nes/common/span.hh b/lib/nes/common/containers/span.hh index 6779c37..6779c37 100644 --- a/lib/nes/common/span.hh +++ b/lib/nes/common/containers/span.hh diff --git a/lib/nes/common/string-builder.cc b/lib/nes/common/containers/string-builder.cc index 7747aaa..74d9548 100644 --- a/lib/nes/common/string-builder.cc +++ b/lib/nes/common/containers/string-builder.cc @@ -1,4 +1,4 @@ -#include "nes/common/string-builder.hh" +#include "nes/common/containers/string-builder.hh" namespace nes { diff --git a/lib/nes/common/string-builder.hh b/lib/nes/common/containers/string-builder.hh index 0298b8e..0f8a64c 100644 --- a/lib/nes/common/string-builder.hh +++ b/lib/nes/common/containers/string-builder.hh @@ -1,7 +1,7 @@ #pragma once #include "nes/common/types.hh" -#include "nes/common/span.hh" +#include "nes/common/containers/span.hh" #include "nes/common/status.hh" #include <string_view> |
