## either that file won't work, or files in the subdirectoy won't work... WTF?
cmake_minimum_required(VERSION 2.8.11)
project(WikiWalker)
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

# Projects
add_subdirectory(${CMAKE_SOURCE_DIR}/src)
add_subdirectory(${CMAKE_SOURCE_DIR}/test)

cmake_minimum_required(VERSION 2.8.11)
project(WikiWalker)
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

option(WITH_TESTS "also build tests" OFF)

# Projects
add_subdirectory(${CMAKE_SOURCE_DIR}/src)

if(WITH_TESTS)
add_subdirectory(${CMAKE_SOURCE_DIR}/test)
endif(WITH_TESTS)

Add option to exclude tests from build
Add option to exclude tests from build
