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
686 B
19 lines
686 B
4 years ago
|
@rem Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||
|
@rem file Copyright.txt or https://cmake.org/licensing for details.
|
||
|
|
||
|
set ARCH=%1
|
||
|
call \msvc-%ARCH%.bat && @echo on || exit /b
|
||
|
set "PATH=C:\cmake\cmake\bin;C:\ninja;C:\python3;%PATH%"
|
||
|
mkdir \cmake\src\cmake-ninja && ^
|
||
|
cd \cmake\src\cmake-ninja && ^
|
||
|
> CMakeCache.txt (
|
||
|
@echo CMAKE_Fortran_COMPILER:STRING=
|
||
|
@echo CMAKE_Swift_COMPILER:STRING=
|
||
|
@echo CMake_TEST_IPO_WORKS_C:BOOL=ON
|
||
|
@echo CMake_TEST_IPO_WORKS_CXX:BOOL=ON
|
||
|
@echo CMake_TEST_NO_NETWORK:BOOL=ON
|
||
|
) && ^
|
||
|
cmake ..\cmake -DCMake_TEST_HOST_CMAKE=1 -G "Ninja" && ^
|
||
|
ninja && ^
|
||
|
ctest --output-on-failure -j %NUMBER_OF_PROCESSORS%
|