[ox] Move ptrarith into fs

This commit is contained in:
Gary Talent 2021-03-24 00:44:11 -05:00
parent 5a8e16c3f3
commit 40f2537c05
9 changed files with 12 additions and 15 deletions

View File

@ -5,6 +5,5 @@ add_subdirectory(clargs)
add_subdirectory(claw)
add_subdirectory(fs)
add_subdirectory(mc)
add_subdirectory(ptrarith)
add_subdirectory(model)
add_subdirectory(std)

View File

@ -59,6 +59,14 @@ install(
include/ox/fs/filesystem
)
install(
FILES
ptrarith/nodebuffer.hpp
ptrarith/ptr.hpp
DESTINATION
include/ox/fs/ptrarith
)
install(
TARGETS
OxFS
@ -68,4 +76,5 @@ install(
if(OX_RUN_TESTS)
add_subdirectory(test)
add_subdirectory(ptrarith/test)
endif()

View File

@ -8,7 +8,7 @@
#pragma once
#include <ox/ptrarith/nodebuffer.hpp>
#include <ox/fs/ptrarith/nodebuffer.hpp>
namespace ox {

View File

@ -10,7 +10,7 @@
#include <ox/fs/filesystem/pathiterator.hpp>
#include <ox/fs/filestore/filestoretemplate.hpp>
#include <ox/ptrarith/nodebuffer.hpp>
#include <ox/fs/ptrarith/nodebuffer.hpp>
#include <ox/std/byteswap.hpp>
#include "types.hpp"

View File

@ -14,7 +14,7 @@
#include <map>
#include <vector>
#include <string>
#include <ox/ptrarith/nodebuffer.hpp>
#include <ox/fs/ptrarith/nodebuffer.hpp>
#include <ox/std/std.hpp>
using namespace std;

View File

@ -1,11 +0,0 @@
install(
FILES
nodebuffer.hpp
ptr.hpp
DESTINATION
include/ox/ptrarith
)
if(OX_RUN_TESTS)
add_subdirectory(test)
endif()