https://github.com/projectm-visualizer/build-gtest
Googletest build scripts
https://github.com/projectm-visualizer/build-gtest
Last synced: 4 months ago
JSON representation
Googletest build scripts
- Host: GitHub
- URL: https://github.com/projectm-visualizer/build-gtest
- Owner: projectM-visualizer
- License: zlib
- Created: 2023-12-27T22:17:34.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-27T22:18:01.000Z (over 2 years ago)
- Last Synced: 2025-03-03T17:44:51.358Z (over 1 year ago)
- Language: CMake
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GoogleTest
Provides support for GoogleTest 1.7 (r711) and CMake (3.3.0) on:
- OSX (i386, x86_64)
- iOS (armv7, arm64)
- Android (armeabi-v7a)
- Emscripten
- Windows/MXE (i686)
More info in the [Wiki](https://github.com/arielm/chronotext-gtest/wiki)...
## Setup...
```
cd chronotext-gtest
source setup.sh
```
This will download and unpack a version of GoogleTest adapted to the relevant platforms.
## Build...
```
./build-osx.sh
./build-ios.sh
./build-android.sh
./build-emscripten.sh
./build-mxe.sh
```
This will build and package static libs for the relevant platforms.
## Test...
```
cd test
RUN_TEST -DPLATFORM=osx
RUN_TEST -DPLATFORM=ios
RUN_TEST -DPLATFORM=android
RUN_TEST -DPLATFORM=emscripten
RUN_TEST -DPLATFORM=mxe
```
This will build and run a couple of C++ tests on the relevant platforms.