mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-12-27 21:35:41 +00:00
Import houdini lib.
Will replace curl dependency soon.
This commit is contained in:
parent
1c894cbef5
commit
c75c23fa36
5 changed files with 27 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -7,3 +7,6 @@
|
|||
[submodule "lib/mstch"]
|
||||
path = lib/mstch
|
||||
url = https://github.com/KingDuckZ/mstch.git
|
||||
[submodule "lib/houdini/houdini"]
|
||||
path = lib/houdini/houdini
|
||||
url = https://github.com/vmg/houdini.git
|
||||
|
|
|
@ -6,4 +6,5 @@ set(TAWASHI_SOURCE_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")
|
|||
|
||||
add_subdirectory(lib/incredis)
|
||||
add_subdirectory(lib/mstch)
|
||||
add_subdirectory(lib/houdini)
|
||||
add_subdirectory(src)
|
||||
|
|
21
lib/houdini/CMakeLists.txt
Normal file
21
lib/houdini/CMakeLists.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
|
||||
project(houdini C)
|
||||
|
||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -Wextra -Wno-missing-field-initializers")
|
||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Wall -Wextra -Wno-missing-field-initializers")
|
||||
|
||||
add_library(${PROJECT_NAME} STATIC
|
||||
houdini/buffer.c
|
||||
houdini/houdini_href_e.c
|
||||
houdini/houdini_html_e.c
|
||||
houdini/houdini_html_u.c
|
||||
houdini/houdini_js_e.c
|
||||
houdini/houdini_js_u.c
|
||||
houdini/houdini_uri_e.c
|
||||
houdini/houdini_uri_u.c
|
||||
houdini/houdini_xml_e.c
|
||||
)
|
||||
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/houdini
|
||||
)
|
1
lib/houdini/houdini
Submodule
1
lib/houdini/houdini
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 59727b85553b70d468743076219e620d6c0d3cad
|
|
@ -52,6 +52,7 @@ target_link_libraries(${PROJECT_NAME}
|
|||
PRIVATE ${CURL_LIBRARIES}
|
||||
PRIVATE ${SourceHighlight_LIBRARIES}
|
||||
PRIVATE mstch
|
||||
PRIVATE houdini
|
||||
)
|
||||
target_compile_definitions(${PROJECT_NAME}
|
||||
PRIVATE BOOST_SPIRIT_USE_PHOENIX_V3=1
|
||||
|
|
Loading…
Reference in a new issue