cmake安装目录
程序员文章站
2022-07-15 16:43:47
...
代码参考:GitHub - Bulbasaur
- 安装目录,如文档,用户手册之类的
INSTALL(DIRECTORY manual/ DESTINATION share/deepin-manual/manual/bulbasaur)
- 安装文件,如二进制文件等
install(TARGETS ${TARGET} DESTINATION bin)
install(FILES ../${TARGET}.desktop DESTINATION share/applications)
install(FILES ../${TARGET}.png DESTINATION share/icons)