cnr-isti-vclab / corto

Mesh compression library, designed for rendering and speed.
Other
196 stars 43 forks source link

cmake script modernization #37

Closed sherpya closed 1 year ago

sherpya commented 2 years ago

some complier flags shouldn't be set directly, they are set by cmake (optimization based on build type) or by the toolchain (ios)

"breaking change": default build is not optimized, because it is Debug, as any other cmake project anyway

Tested with:

BTW: there are a lot of type conversion warnings spotted by MSVC

ponchio commented 2 years ago

Thanks for the update!

About the warnings, I am aware, I need to find some time to add a bunch of static_cast and some cleanup.