mirror of
https://github.com/google/cpu_features.git
synced 2025-04-27 23:22:31 +02:00
Allow specifying cmake generator.
This commit is contained in:
parent
fc7efb4c14
commit
317edf860b
@ -32,6 +32,12 @@ matrix:
|
|||||||
env:
|
env:
|
||||||
TOOLCHAIN=NATIVE
|
TOOLCHAIN=NATIVE
|
||||||
TARGET=x86_64-windows
|
TARGET=x86_64-windows
|
||||||
|
CMAKE_GENERATOR="Visual Studio 14 2015 Win64"
|
||||||
|
- os: windows
|
||||||
|
env:
|
||||||
|
TOOLCHAIN=NATIVE
|
||||||
|
TARGET=x86_64-windows
|
||||||
|
CMAKE_GENERATOR="Visual Studio 15 2017 Win64"
|
||||||
- os: linux-ppc64le
|
- os: linux-ppc64le
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env:
|
env:
|
||||||
|
@ -88,7 +88,7 @@ function integrate() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Generating CMake configuration
|
# Generating CMake configuration
|
||||||
cmake -H. -B"${BUILD_DIR}" ${DEFAULT_CMAKE_ARGS} ${CMAKE_ADDITIONAL_ARGS}
|
cmake -H. -B"${BUILD_DIR}" ${DEFAULT_CMAKE_ARGS} ${CMAKE_ADDITIONAL_ARGS} -G"${CMAKE_GENERATOR:-Unix Makefiles}"
|
||||||
|
|
||||||
# Building
|
# Building
|
||||||
cmake --build "${BUILD_DIR}" ${CMAKE_BUILD_ARGS}
|
cmake --build "${BUILD_DIR}" ${CMAKE_BUILD_ARGS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user