xo-tokenizer: build: canonical lib/proj names, + xo_ prefix

This commit is contained in:
Roland Conybeare 2024-07-23 12:05:39 +10:00
commit 04920c0e9a
5 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
cmake_minimum_required(VERSION 3.10)
project(tokenizer VERSION 0.1)
project(xo_tokenizer VERSION 0.1)
include(GNUInstallDirs)
include(cmake/xo-bootstrap-macros.cmake)

View file

@ -1,6 +1,6 @@
# tokenizer/CMakeLists.txt
set(SELF_LIB tokenizer)
set(SELF_LIB xo_tokenizer)
set(SELF_SRCS
tokentype.cpp
token.cpp)

View file

@ -7,7 +7,7 @@ set(SELF_SOURCE_FILES
token.test.cpp)
xo_add_utest_executable(${SELF_EXECUTABLE_NAME} ${SELF_SOURCE_FILES})
xo_self_dependency(${SELF_EXECUTABLE_NAME} tokenizer)
xo_self_dependency(${SELF_EXECUTABLE_NAME} xo_tokenizer)
xo_external_target_dependency(${SELF_EXECUTABLE_NAME} Catch2 Catch2::Catch2)
# end CMakeLists.txt

View file

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