https://github.com/ntamas/plfit
Tip revision: b0563649c66aedb1b29a0576b8b57483eeba01a8 authored by Tamas Nepusz on 25 November 2011, 13:47:26 UTC
bumped version number to 0.5
bumped version number to 0.5
Tip revision: b056364
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)