ILXL / ILXL/cppaudit

support macos

未关闭
#28 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
C++
星标
1
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

So far, here are steps we might need to do to support Mac

1. Install XQuartz https://www.xquartz.org/
1. Also install linux packages
1. brew install coreutils
1. brew install llvm (takes forever)
1. ln -s "$(brew --prefix llvm)/bin/clang-format" "/usr/local/bin/clang-format"
1. ln -s "$(brew --prefix llvm)/bin/clang-tidy" "/usr/local/bin/clang-tidy"
1. Install googletest
git clone https://github.com/google/googletest
cd googletest
mkdir build
cd build
cmake .. -DCMAKE_CXX_STANDARD=17
make
make install
1. Change makefiles. Can we add/remove flags depending on the OS? Add these for Mac but not for Linux?
1. Compilation: add ```-lm -I/opt/X11/include -lpthread -lX11 -lstdc++ -I/usr/X11R6/include -L/usr/X11R6/lib```
1. unittest: add ```-lm -lpthread -lX11 -I/usr/X11R6/include -L/usr/X11R6/lib```

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先检查 repository 的 makefiles 以及现有的 compilation 和 unittest 目标,然后将它们对 Linux 的假设与列出的 macOS 依赖项和 flags 进行比较。验证 issue 中描述的 XQuartz、Homebrew、LLVM 和 GoogleTest 设置。完成的标准是项目能够在 macOS 上构建并运行其单元测试,同时不破坏 Linux 构建。

由索引模型根据 Issue 内容生成。

评估

技术栈
cmake, cpp, macos
领域
build-system, operating-systems, testing-qa
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。