Closed heheda123123 closed 1 week ago
参考这个,一堆东西没适配呢。。 #4264
我开始也用它自带的cmakelists.txt,跑出来有问题(比如它默认就会把其他的包iguana/cinatra给复制过来),后来一想它就是个headeronly库,没必要搞那么复杂 它自带的几个选项主要是优化相关的,不影响功能
Bot detected the issue body's language is not English, translate it automatically.
Refer to this, a lot of things are not adapted. . #4264
I started using the cmakelists.txt that comes with it, but there were problems when running it. Then I thought it was a headeronly library, so there was no need to make it so complicated.
patch 掉,只走 install 分支 https://github.com/alibaba/yalantinglibs/blob/main/CMakeLists.txt#L17
关选项 https://github.com/alibaba/yalantinglibs/blob/main/cmake/install.cmake#L7
用 cmake 安装是为了安装 xxconfig,让其他包能找到,而且也方便维护,万一以后头文件除了 include,其他也拷贝呢
参考这个,一堆东西没适配呢。。 https://github.com/xmake-io/xmake-repo/pull/4264