1 cmake_minimum_required (VERSION 2.8)
7 option(NATIVE "compile on gcc with -march=native" OFF)
8 option(BENCHMARKS "compile benchmarks" OFF)
10 file (GLOB_RECURSE headers *hpp)
12 if(CMAKE_COMPILER_IS_GNUCXX)
14 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
16 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftemplate-depth-1000")
20 add_subdirectory (benchmarks)
22 add_subdirectory (testsuite)