Delete unused junction/Averager.h
[junction.git] / samples / MapCorrectnessTests / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8.5)
2
3 get_filename_component(SAMPLE_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
4 if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
5     # CMAKE_CONFIGURATION_TYPES only reliable if set before project(), and not from an include file
6     set(CMAKE_CONFIGURATION_TYPES "Debug;RelWithAsserts;RelWithDebInfo" CACHE INTERNAL "Build configs")
7     project(${SAMPLE_NAME})
8 endif()    
9
10 set(TEST_CHECK_MAP_CONTENTS TRUE CACHE BOOL "Validate contents of the map using its iterator")
11 set(JUNCTION_USERCONFIG "junction_userconfig.h.in" CACHE STRING "Custom config for ${SAMPLE_NAME}")
12 include(../../cmake/AddSample.cmake)