32 lines
1.4 KiB
CMake
32 lines
1.4 KiB
CMake
|
# -*- mode: CMAKE explicit-buffer-name: "CMakeLists.txt<flute/src/3.1>" -*-
|
||
|
|
||
|
include_directories ( ${FLUTE_SOURCE_DIR}/src/3.1
|
||
|
)
|
||
|
|
||
|
set ( includes flute.h
|
||
|
dl.h
|
||
|
mst2.h
|
||
|
err.h
|
||
|
heap.h
|
||
|
dist.h
|
||
|
global.h
|
||
|
neighbors.h
|
||
|
)
|
||
|
set ( cpps flute.cpp
|
||
|
flute_mst.cpp
|
||
|
dist.cpp
|
||
|
dl.cpp
|
||
|
err.cpp
|
||
|
mst2.cpp
|
||
|
heap.cpp
|
||
|
neighbors.cpp
|
||
|
)
|
||
|
|
||
|
add_library ( flute ${cpps} )
|
||
|
set_target_properties ( flute PROPERTIES VERSION 3.1 SOVERSION 3 )
|
||
|
|
||
|
install ( TARGETS flute DESTINATION lib${LIB_SUFFIX} )
|
||
|
install ( FILES ${includes} DESTINATION include/flute/3.1 )
|
||
|
install ( FILES POST9.dat
|
||
|
POWV9.dat DESTINATION share/flute/3.1 )
|