mirror of
https://github.com/google/cpu_features.git
synced 2025-04-27 15:12:30 +02:00
Allow specifying cmake generator.
This commit is contained in:
parent
fc7efb4c14
commit
317edf860b
@ -32,6 +32,12 @@ matrix:
|
||||
env:
|
||||
TOOLCHAIN=NATIVE
|
||||
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
|
||||
compiler: gcc
|
||||
env:
|
||||
|
@ -88,7 +88,7 @@ function integrate() {
|
||||
esac
|
||||
|
||||
# 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
|
||||
cmake --build "${BUILD_DIR}" ${CMAKE_BUILD_ARGS}
|
||||
|
Loading…
x
Reference in New Issue
Block a user