edrosten / libcvd

libcvd - efficient and easy to use C++ computer vision library.
Other
238 stars 103 forks source link

Refactor CMakeLists for better style #46

Closed dmccabe-snap closed 5 years ago

dmccabe-snap commented 6 years ago

The existing CMakeLists file has some poor style choices. add_definitions, link_libraries et al are better replaced with target-specific commands. The dc1394v2 module has poor naming conventions. Also, the set of include files includes some TooN-only files.

This change refactors the CMake code to address these issues.


This change is Reviewable