https://github.com/ntamas/plfit
Raw File
Tip revision: 58063c05c298d02a0d974d7758f990a88fb89088 authored by Tamas Nepusz on 15 December 2012, 21:25:55 UTC
optionally calculating mean, variance, skewness and kurtosis
Tip revision: 58063c0
CMakeLists.txt
cmake_minimum_required(VERSION 2.6)

project(plfit C CXX)
enable_testing()

option(PLFIT_COMPILE_PYTHON_MODULE
	   "Whether we want to compile the Python module (requires SWIG)"
	   OFF)
option(PLFIT_USE_SSE
       "Use SSE/SSE2 optimizations if available"
	   ON)

# Check for required headers
include(CheckIncludeFiles)
check_include_files(emmintrin.h HAVE_EMMINTRIN_H)
check_include_files(malloc.h HAVE_MALLOC_H)

add_definitions(-Wall -DHAVE_CONFIG_H)
if(PLFIT_USE_SSE)
	add_definitions(-DUSE_SSE)
endif(PLFIT_USE_SSE)

add_subdirectory(src)
add_subdirectory(test)
back to top