当前project的CMakeLists.txt也太简单了吧。要记得cmake不仅仅提供build,test,也提供install。官方的cmake应当提供install功能。 你可以把test设置成option可以供其他人调用。 并且建议用export导出libfv-config.cmake。
当前project的CMakeLists.txt也太简单了吧。要记得cmake不仅仅提供build,test,也提供install。官方的cmake应当提供install功能。
你可以把test设置成option可以供其他人调用。
并且建议用export导出libfv-config.cmake。