Commit dd23dc3e authored by Martin Beseda's avatar Martin Beseda
Browse files

[FIX] [WIN] Trying to fix CI on Windows

parent 44762c59
......@@ -7,4 +7,4 @@ del CMakeCache.txt
set CLEAN_AFTER=no
set DEPENDENCIES_LINK_TYPE=static
call build_scripts\windows\win_VS_build_x64_debug.bat
call build_scripts\windows\win_VS_build_x64_release.bat
......@@ -13,11 +13,11 @@ rem call VsDevCmd.bat
rem C++ compiler (Requires Visual Studio 2017)
set CXX_COMPILER=cl
set C_COMPILER=cl
set FORTRAN_COMPILER=ifort
set Fortran_COMPILER=ifort
set MAKEFILE_GENERATOR="Visual Studio 15 2017 Win64"
cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=%CXX_COMPILER% -DMPI_CXX_COMPILER=%CXX_COMPILER% -DMPI_C_COMPILER=%C_COMPILER% -DCMAKE_C_COMPILER=%C_COMPILER% -DCMAKE_Fortran_COMPILER=%FORTRAN_COMPILER% -DBOOST_ROOT=%BOOST_ROOT% -DBOOST_LIBRARYDIR=%BOOST_LIBRARYDIR% -DBOOST_INCLUDEDIR=%BOOST_INCLUDEDIR% -DBUILD_TESTS=%BUILD_TESTS% -DBUILD_EXAMPLES=%BUILD_EXAMPLES% -DBUILD_LIB=%BUILD_LIB% -DLIB4NEURO_DIR=build\lib -DDEPENDENCIES_LINK_TYPE=%LINK_TYPE% -DLIB4NEURO_INCLUDE_DIR=%LIB4NEURO_INCLUDE_DIR% .
cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=%CXX_COMPILER% -DCMAKE_C_COMPILER=%C_COMPILER% -DCMAKE_Fortran_COMPILER=%Fortran_COMPILER% -DBOOST_ROOT=%BOOST_ROOT% -DBOOST_LIBRARYDIR=%BOOST_LIBRARYDIR% -DBOOST_INCLUDEDIR=%BOOST_INCLUDEDIR% -DBUILD_TESTS=%BUILD_TESTS% -DBUILD_EXAMPLES=%BUILD_EXAMPLES% -DBUILD_LIB=%BUILD_LIB% -DLIB4NEURO_DIR=build\lib -DDEPENDENCIES_LINK_TYPE=%LINK_TYPE% -DLIB4NEURO_INCLUDE_DIR=%LIB4NEURO_INCLUDE_DIR% .
title Building the 'lib4neuro' project for Debug [building]
......
......@@ -8,10 +8,11 @@ title Building the 'lib4neuro' project for Release [preparing makefiles]
rem C++ compiler (Requires Visual Studio 2017)
set CXX_COMPILER=cl
set C_COMPILER=cl
set Fortran_COMPILER=ifort
set MAKEFILE_GENERATOR="Visual Studio 15 2017 Win64"
cmake -G %MAKEFILE_GENERATOR% -S. -Bbuild -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=%CXX_COMPILER% -DCMAKE_C_COMPILER=%C_COMPILER% -DBUILD_TESTS=%BUILD_TESTS% -DBUILD_EXAMPLES=%BUILD_EXAMPLES% -DBUILD_LIB=%BUILD_LIB% -DLIB4NEURO_DIR=build\lib -DDEPENDENCIES_LINK_TYPE=%LINK_TYPE% -DLIB4NEURO_INCLUDE_DIR=%LIB4NEURO_INCLUDE_DIR% -DARMADILLO_ROOT=%WIN_ARMADILLO_ROOT% -DBOOST_ROOT=%WIN_BOOST_ROOT% -DEXPRTK_ROOT=%WIN_EXPRTK_ROOT% -DTURTLE_ROOT=%WIN_TURTLE_ROOT%
cmake -G %MAKEFILE_GENERATOR% -S. -Bbuild -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=%CXX_COMPILER% -DCMAKE_C_COMPILER=%C_COMPILER% -DCMAKE_Fortran_COMPILER=%Fortran_COMPILER% -DBUILD_TESTS=%BUILD_TESTS% -DBUILD_EXAMPLES=%BUILD_EXAMPLES% -DBUILD_LIB=%BUILD_LIB% -DLIB4NEURO_DIR=build\lib -DDEPENDENCIES_LINK_TYPE=%LINK_TYPE% -DLIB4NEURO_INCLUDE_DIR=%LIB4NEURO_INCLUDE_DIR% -DARMADILLO_ROOT=%WIN_ARMADILLO_ROOT% -DBOOST_ROOT=%WIN_BOOST_ROOT% -DEXPRTK_ROOT=%WIN_EXPRTK_ROOT% -DTURTLE_ROOT=%WIN_TURTLE_ROOT%
if "%BUILD_SOMETHING_LIB%" == "yes" (
title Building the 'lib4neuro' project for Release [building]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment