Rename to R3

This commit is contained in:
c9s 2014-05-15 00:18:59 +08:00
parent 07f3de0804
commit 30673aafbc
3 changed files with 7 additions and 8 deletions

View file

@ -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})

View file

@ -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
-----------------------

View file

@ -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")