aconstlink / motor

Software Framework for Audio/Visual/Interactive Real-Time Applications
MIT License
3 stars 0 forks source link

Header only targets #10

Closed aconstlink closed 12 months ago

aconstlink commented 1 year ago

Actually it is now possible to add header-only projects in VS by using simply

add_library( "lib_name" INTERFACE ${sources} )

Using CMake 3.20 and VS 2022. Since there is no way going back for me, I opt in with this option.

This way we can get rid of some files, lib dependencies and CMake configurations.

aconstlink commented 12 months ago

:hammer: This is done. But the include_directories are not propagated through to libs using the header only lib. Right now there is nothing wrong with it. It just works...