Skip to content

Commit

Permalink
Merge pull request #721 from shymega/enhance/make-gtest-submodule
Browse files Browse the repository at this point in the history
Proposal: Replace bundled gtest directory with Git submodule
  • Loading branch information
p12tic committed Jun 8, 2020
2 parents c336cfd + b16ad17 commit 00f2b1f
Show file tree
Hide file tree
Showing 276 changed files with 14 additions and 256,592 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "ext/gtest"]
path = ext/gtest
url = https://github.com/google/googletest.git
[submodule "ext/gmock"]
path = ext/gmock
url = https://github.com/google/googlemock.git
2 changes: 2 additions & 0 deletions clean_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ set B_QT_FULLPATH=%B_QT_ROOT%\%B_QT_VER%\%B_QT_MSVC%
echo Bonjour: %BONJOUR_SDK_HOME%
echo Qt: %B_QT_FULLPATH%

git submodule update --init --recursive

rmdir /q /s build
mkdir build
if ERRORLEVEL 1 goto failed
Expand Down
4 changes: 4 additions & 0 deletions clean_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ if [ "$(uname)" = "Darwin" ]; then
fi
# allow local customizations to build environment
[ -r ./build_env.sh ] && . ./build_env.sh

# Initialise Git submodules
git submodule update --init --recursive

B_CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=$B_BUILD_TYPE $B_CMAKE_FLAGS"
rm -rf build
mkdir build || exit 1
Expand Down
1 change: 1 addition & 0 deletions ext/gmock
Submodule gmock added at 7d33fe
92 changes: 0 additions & 92 deletions ext/gmock/CHANGES

This file was deleted.

151 changes: 0 additions & 151 deletions ext/gmock/CMakeLists.txt

This file was deleted.

40 changes: 0 additions & 40 deletions ext/gmock/CONTRIBUTORS

This file was deleted.

28 changes: 0 additions & 28 deletions ext/gmock/COPYING

This file was deleted.

Loading

0 comments on commit 00f2b1f

Please sign in to comment.