xo-tokenizer: build: canonical lib/proj names, + xo_ prefix
This commit is contained in:
parent
9dc37e84e6
commit
04920c0e9a
5 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# tokenizer/CMakeLists.txt
|
||||
|
||||
set(SELF_LIB tokenizer)
|
||||
set(SELF_LIB xo_tokenizer)
|
||||
set(SELF_SRCS
|
||||
tokentype.cpp
|
||||
token.cpp)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* author: Roland Conybeare
|
||||
*/
|
||||
|
||||
#include "tokenizer.hpp"
|
||||
#include "xo/tokenizer/tokenizer.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
|
||||
namespace xo {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue