arntanguy / gram_savitzky_golay

C++ Implementation of Savitzky-Golay filtering based on Gram polynomials
BSD 2-Clause "Simplified" License
100 stars 29 forks source link

Adopt modern cmake (>3.1) good practices #4

Closed arntanguy closed 5 years ago

arntanguy commented 5 years ago

This MR removes dependency on the jrl-cmakemodules, and adopts good practices for modern cmake. The targets are now properly exported.

To use the library, simply use

find_package(gram_savitzky_golay REQUIRED)
add_executable(test test.cpp)
target_link_libraries(test gram_savitzky_golay)

Addtionally, compilation of the unit tests is made optional.