Godlike / Pegasus

Game physics engine (can fly)
MIT License
6 stars 2 forks source link

CMake configuration for packaging #70

Closed MrDmitry closed 5 years ago

MrDmitry commented 7 years ago

Also use modern CMake features

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.

ilia-glushchenko commented 5 years ago

@dsodintsov Is this still relevant?

MrDmitry commented 5 years ago

Yes, r&d work is being done in sandbox/dsodintsov_cmake branch