https://github.com/payload/crystax-tests
https://github.com/payload/crystax-tests
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/payload/crystax-tests
- Owner: payload
- License: mit
- Created: 2016-02-01T18:33:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-01T20:14:00.000Z (over 9 years ago)
- Last Synced: 2025-02-10T09:11:57.172Z (4 months ago)
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.sh
- License: LICENSE
Awesome Lists containing this project
README
#!/bin/bash
#
# Use this code to compile these tests with a cross compiling toolchain.
# You have to set both variables.
#SYSROOT=${SYSROOT:-}
CC=${CC:-}
# rm -rf CMakeCache* CMakeFiles
cmake \
-DCMAKE_SYSTEM_NAME=Android \
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER \
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ONLY \
-DCMAKE_SYSROOT=$SYSROOT \
-DCMAKE_C_COMPILER=$CC \
.
make