gumbo-query
gumbo-query copied to clipboard
Where is <gumbo.h> located at in the src folder? i have my own cmake workspace and just need the source code
Do i need this one? https://github.com/google/gumbo-parser/blob/master/src/gumbo.h
Found the solution. Install gumbo parser through your own pkg manager (for me it is pacman), find the static library "/usr/lib/libgumbo.so" and than target link it like
include_directories(${Gumbo_INCLUDE_DIRS})
ADD_LIBRARY(gumbo_lib STATIC IMPORTED) SET_TARGET_PROPERTIES(gumbo_lib PROPERTIES IMPORTED_LOCATION /usr/lib/libgumbo.so)
target_link_libraries( ${MAIN_EXE_NAME} gumbo_lib )
That isn't a static library. It is a shared library.