find_package(PythonInterp)
find_package(PythonLibs ${PYTHON_VERSION_STRING})
include_directories(${PYTHON_INCLUDE_DIRS})

find_package(Boost COMPONENTS python)

add_library(pyamgcl pyamgcl.cpp)
set_target_properties(pyamgcl PROPERTIES PREFIX "")
target_link_Libraries(pyamgcl amgcl ${Boost_LIBRARIES})

find_package(PythonInterp)
find_package(PythonLibs ${PYTHON_VERSION_STRING})
include_directories(${PYTHON_INCLUDE_DIRS})

find_package(Boost COMPONENTS python)

add_library(pyamgcl pyamgcl.cpp)
set_target_properties(pyamgcl PROPERTIES PREFIX "")
target_link_Libraries(pyamgcl amgcl ${Boost_LIBRARIES})

configure_file(
    ${CMAKE_CURRENT_SOURCE_DIR}/test.py
    ${CMAKE_CURRENT_BINARY_DIR}/test.py
    COPYONLY
    )

Copy python test file to build dir
Copy python test file to build dir
