xo-reader: naming: xo_parser->xo_reader

This commit is contained in:
Roland Conybeare 2024-08-06 10:19:33 -04:00
commit f00c390e37
10 changed files with 8 additions and 8 deletions

View file

@ -1,8 +1,8 @@
# xo-parser/CMakeLists.txt
# xo-reader/CMakeLists.txt
cmake_minimum_required(VERSION 3.10)
project(xo_parser VERSION 0.1)
project(xo_reader VERSION 0.1)
include(GNUInstallDirs)
include(cmake/xo-bootstrap-macros.cmake)
@ -18,7 +18,7 @@ add_definitions(${PROJECT_CXX_FLAGS})
# ----------------------------------------------------------------
add_subdirectory(src/parser)
add_subdirectory(src/reader)
add_subdirectory(utest)
# ----------------------------------------------------------------

View file

@ -1,6 +1,6 @@
# parser/CMakeLists.txt
set(SELF_LIB xo_parser)
set(SELF_LIB xo_reader)
set(SELF_SRCS
parser.cpp
reader.cpp)

View file

@ -1,13 +1,13 @@
# xo-parser/utest/CMakeLists.txt
# xo-reader/utest/CMakeLists.txt
set(UTEST_EXE utest.parser)
set(UTEST_SRCS
parser_utest_main.cpp
reader_utest_main.cpp
parser.test.cpp)
if (ENABLE_TESTING)
xo_add_utest_executable(${UTEST_EXE} ${UTEST_SRCS})
xo_self_dependency(${UTEST_EXE} xo_parser)
xo_self_dependency(${UTEST_EXE} xo_reader)
#xo_dependency(${UTEST_EXE} xo_ratio)
#xo_dependency(${UTEST_EXE} xo_reflectutil)
xo_external_target_dependency(${UTEST_EXE} Catch2 Catch2::Catch2)

View file

@ -3,7 +3,7 @@
* author: Roland Conybeare
*/
#include "xo/parser/parser.hpp"
#include "xo/reader/parser.hpp"
#include <catch2/catch.hpp>
namespace xo {