Godlike / Arion

Real-time oriented 3d collision detection library
MIT License
3 stars 1 forks source link

Use modern CMake features #36

Closed MrDmitry closed 5 years ago

MrDmitry commented 5 years ago

Move add_library block to the beginning of the file, unify add_library blocks by using ${PROJECT_NAME} Add library aliases for configuration-level library checking Use PUBLIC, INTERFACE and PRIVATE sections of target_ directives to allow CMake inherit options from linked libraries

Overall using modern CMake features reduces amount of boilerplate user code required to use the library and makes it easier to read CMake files when looking for some specific library options.