You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
417 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Google Test 範例專案
## 使用方法
clone 專案
```sh
git clone https://gitea.cglab.cs.nccu.edu.tw/yhchen/gtest_example.git
```
建立 build 資料夾,所有編譯需要的檔案會被建立在這個資料夾裡面
```sh
mkdir build
cd build
```
使用 cmake 建立 makefile並編譯檔案
```sh
cmake ..
make
```
進到 `unittest` 目錄,如果有看到 `utest` 執行檔,代表編譯順利完成