georgmartius / vid.stab

Video stabilization library
http://public.hronopik.de/vid.stab/
Other
842 stars 108 forks source link

cmake: Use CMAKE_BUILD_TYPE instead of forcing -On/-g #59

Closed mgorny closed 6 years ago

mgorny commented 6 years ago

Set a default CMAKE_BUILD_TYPE instead of explicitly forcing -On/-g flags. The correct value of build type automatically sets appropriate flags, while also providing a clean interface for overriding them. Default to 'Release' in main and transcode projects, and to 'Debug' in tests.

Also remove CMAKE_BUILTTYPE which looks like a typo.