duckscraper/CMakeLists.txt
King_DuckZ aa015ddd6a Working example.
Tested with:
./scraper //meta[@name]
Note that libtidy adds a meta name=generator tag.
2014-06-07 01:15:06 +02:00

24 lines
468 B
CMake

cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
project(scraper CXX)
add_subdirectory(lib/tidy)
find_package(PugiXML REQUIRED)
#find_package(CURL REQUIRED)
#${CURL_INCLUDE_DIR}
#${CURL_LIBRARIES}
include_directories(SYSTEM
lib/tidy/include
${PUGIXML_INCLUDE_DIR}
)
add_executable(${PROJECT_NAME}
src/main.cpp
)
target_link_libraries(${PROJECT_NAME}
tidy
${PUGIXML_LIBRARIES}
)