Delete copy + assignment for CurlUrlCreator
[dueringa_WikiWalker.git] / CMakeLists.txt
blob83353cded922e36872e867b46d7417662a4b75f1
1 cmake_minimum_required(VERSION 2.8.11)
2 project(WikiWalker)
3 set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
4 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
5 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
6 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
8 option(WITH_TESTS "also build tests" OFF)
10 # Projects
11 add_subdirectory(${CMAKE_SOURCE_DIR}/src)
13 if(WITH_TESTS)
14 add_subdirectory(${CMAKE_SOURCE_DIR}/test)
15 endif(WITH_TESTS)
17 add_custom_target(
18         doc
19         doxygen
20         WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/doc/