diff --git a/CMakeLists.txt b/CMakeLists.txt index c85e9ae..1384fc8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ link_directories(${LINK_DIRECTORIES} /opt/local/lib) find_package(PCRE REQUIRED) find_package(Judy REQUIRED) -set(LIBS ${LIBS} ${PCRE_LIBRARIES} ${Judy_LIBRARIES} libr2) +set(LIBS ${LIBS} ${PCRE_LIBRARIES} ${Judy_LIBRARIES} libr3) # find_package(opencv) @@ -49,7 +49,7 @@ enable_testing() add_subdirectory(tests) add_test(test_tree ${CMAKE_CURRENT_BINARY_DIR}/test_tree) -add_library(libr2 main.c) +add_library(libr3 main.c) # add_executable(alphablue-gui main.cc cv.cc) # target_link_libraries(alphablue-gui ${OpenCV_LIBS} ${GFlags_LIBS} ${GLog_LIBS} ${Boost_LIBS}) diff --git a/README.md b/README.md index 8341f4d..24fd215 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ -R2 +R3 ================ -libr2 is an URI router library. It compiles your route paths into a radix tree. +R3 is an URI router library. It compiles your route paths into a radix tree. By using the constructed radix tree in the start-up time, you may dispatch your routes efficiently. - Pattern Syntax ----------------------- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d09a52a..82dc2d0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,5 +1,5 @@ -# set(TEST_LIBS ${TEST_LIBS} ${CHECK_LIBRARIES} judy libr2) -# set(TEST_LIBS ${TEST_LIBS} ${CHECK_LIBRARIES} judy libr2) +# set(TEST_LIBS ${TEST_LIBS} ${CHECK_LIBRARIES} judy libr3) +# set(TEST_LIBS ${TEST_LIBS} ${CHECK_LIBRARIES} judy libr3) find_package(Check REQUIRED) find_package(PCRE REQUIRED) find_package(Judy REQUIRED) @@ -7,7 +7,7 @@ find_package(Judy REQUIRED) if (NOT CHECK_FOUND) message(STATUS "Skipping unit tests, Check library not found!") else (NOT CHECK_FOUND) - set(TEST_LIBS ${LIBS} ${CHECK_LIBRARIES} ${PCRE_LIBRARIES} ${Judy_LIBRARIES} libr2) + set(TEST_LIBS ${LIBS} ${CHECK_LIBRARIES} ${PCRE_LIBRARIES} ${Judy_LIBRARIES} libr3) include_directories(${CHECK_INCLUDE_DIRS}) # include_directories("${PROJECT_SOURCE_DIR}/include/r2")