Skip to content

Commit 33e62d6

Browse files
committed
Removed warnings in scripts when checking out tags
1 parent 744915f commit 33e62d6

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

ci/appveyor/build_library.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ echo ===========================================================================
1919
cd /d %APPVEYOR_BUILD_FOLDER%
2020
mkdir build >NUL 2>NUL
2121
cd build
22-
cmake -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%INSTALL_LOCATION% -DSHELLANYTHING_BUILD_TEST=ON -DBUILD_SHARED_LIBS=OFF ..
22+
cmake -Wno-dev -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%INSTALL_LOCATION% -DSHELLANYTHING_BUILD_TEST=ON -DBUILD_SHARED_LIBS=OFF ..
2323
if %errorlevel% neq 0 exit /b %errorlevel%
2424

2525
echo ============================================================================

ci/appveyor/install_glog.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cd glog
1919
echo.
2020

2121
echo Checking out version v0.4.0...
22-
git checkout v0.4.0
22+
git -c advice.detachedHead=false checkout v0.4.0
2323
echo.
2424

2525
echo ============================================================================
@@ -36,7 +36,7 @@ echo Compiling...
3636
echo ============================================================================
3737
mkdir build_dir >NUL 2>NUL
3838
cd build_dir
39-
cmake -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%glog_DIR% -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON ..
39+
cmake -Wno-dev -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%glog_DIR% -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON ..
4040
if %errorlevel% neq 0 exit /b %errorlevel%
4141
cmake --build . --config %Configuration%
4242
if %errorlevel% neq 0 exit /b %errorlevel%

ci/appveyor/install_googletest.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ set GTEST_ROOT=%APPVEYOR_BUILD_FOLDER%\third_parties\googletest\install
1111
echo ============================================================================
1212
echo Cloning googletest into %APPVEYOR_BUILD_FOLDER%\third_parties\googletest
1313
echo ============================================================================
14-
mkdir %APPVEYOR_BUILD_FOLDER%\third_parties >NUL 2>NUL
15-
cd %APPVEYOR_BUILD_FOLDER%\third_parties
14+
mkdir %APPVEYOR_BUILD_FOLDER%\third_parties2 >NUL 2>NUL
15+
cd %APPVEYOR_BUILD_FOLDER%\third_parties2
1616
git clone "https://github.com/google/googletest.git"
1717
cd googletest
1818
echo.
1919

2020
echo Checking out version 1.8.0...
21-
git checkout release-1.8.0
21+
git -c advice.detachedHead=false checkout release-1.8.0
2222
echo.
2323

2424
echo ============================================================================
2525
echo Compiling...
2626
echo ============================================================================
2727
mkdir build >NUL 2>NUL
2828
cd build
29-
cmake -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%GTEST_ROOT% -Dgtest_force_shared_crt=ON -DBUILD_GMOCK=OFF -DBUILD_GTEST=ON ..
29+
cmake -Wno-dev -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%GTEST_ROOT% -Dgtest_force_shared_crt=ON -DBUILD_GMOCK=OFF -DBUILD_GTEST=ON ..
3030
if %errorlevel% neq 0 exit /b %errorlevel%
3131
cmake --build . --config %Configuration%
3232
if %errorlevel% neq 0 exit /b %errorlevel%

ci/appveyor/install_rapidassist.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ cd RapidAssist
2020
echo.
2121

2222
echo Checking out version v0.8.1...
23-
git checkout 0.8.1
23+
git -c advice.detachedHead=false checkout 0.8.1
2424
echo.
2525

2626
echo ============================================================================
2727
echo Compiling...
2828
echo ============================================================================
2929
mkdir build >NUL 2>NUL
3030
cd build
31-
cmake -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%rapidassist_DIR% ..
31+
cmake -Wno-dev -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%rapidassist_DIR% ..
3232
if %errorlevel% neq 0 exit /b %errorlevel%
3333
cmake --build . --config %Configuration%
3434
if %errorlevel% neq 0 exit /b %errorlevel%

ci/appveyor/install_tinyxml2.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ cd tinyxml2
1919
echo.
2020

2121
echo Checking out version 6.2.0...
22-
git checkout 6.2.0
22+
git -c advice.detachedHead=false checkout 6.2.0
2323
echo.
2424

2525
echo ============================================================================
2626
echo Compiling...
2727
echo ============================================================================
2828
mkdir build >NUL 2>NUL
2929
cd build
30-
cmake -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%tinyxml2_DIR% -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON -DBUILD_TESTS:BOOL=OFF ..
30+
cmake -Wno-dev -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%tinyxml2_DIR% -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON -DBUILD_TESTS:BOOL=OFF ..
3131
if %errorlevel% neq 0 exit /b %errorlevel%
3232
cmake --build . --config %Configuration%
3333
if %errorlevel% neq 0 exit /b %errorlevel%

ci/appveyor/install_win32Clipboard.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ cd win32Clipboard
2020
echo.
2121

2222
echo Checking out version v0.3.0...
23-
git checkout 0.3.0
23+
git -c advice.detachedHead=false checkout 0.3.0
2424
echo.
2525

2626
echo ============================================================================
2727
echo Compiling...
2828
echo ============================================================================
2929
mkdir build >NUL 2>NUL
3030
cd build
31-
cmake -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%INSTALL_LOCATION% ..
31+
cmake -Wno-dev -DCMAKE_GENERATOR_PLATFORM=%Platform% -T %PlatformToolset% -DCMAKE_INSTALL_PREFIX=%INSTALL_LOCATION% ..
3232
if %errorlevel% neq 0 exit /b %errorlevel%
3333
cmake --build . --config %Configuration%
3434
if %errorlevel% neq 0 exit /b %errorlevel%

0 commit comments

Comments
 (0)