-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove htmlcxx dependency and use libtidy with tinyxml2 to parse html
- Loading branch information
Showing
10 changed files
with
130 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# - Try to find tidy | ||
# | ||
# Once done this will define | ||
# Tidy_FOUND - System has tidy | ||
# Tidy_INCLUDE_DIRS - The tidy include directories | ||
# Tidy_LIBRARIES - The libraries needed to use tidy | ||
|
||
find_package(PkgConfig) | ||
pkg_check_modules(PC_TIDY tidy) | ||
|
||
find_path(TIDY_INCLUDE_DIR tidy.h | ||
HINTS | ||
${PC_TIDY_INCLUDEDIR} | ||
${PC_TIDY_INCLUDE_DIRS} | ||
PATHS | ||
${PC_TIDY_INCLUDE_DIRS} | ||
) | ||
|
||
find_library(TIDY_LIBRARY tidy | ||
HINTS | ||
${PC_TIDY_LIBDIR} | ||
${PC_TIDY_LIBRARY_DIRS} | ||
PATHS | ||
${PC_TIDY_LIBRARY_DIRS} | ||
) | ||
|
||
mark_as_advanced(TIDY_INCLUDE_DIR TIDY_LIBRARY) | ||
|
||
if(TIDY_INCLUDE_DIR) | ||
set(Tidy_FOUND ON) | ||
set(Tidy_INCLUDE_DIRS ${TIDY_INCLUDE_DIR}) | ||
set(Tidy_LIBRARIES ${TIDY_LIBRARY}) | ||
endif(TIDY_INCLUDE_DIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.