This commit is contained in:
Andrei 2019-10-23 20:09:01 +03:00
commit 4749c60d2f
3 changed files with 5 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "googletest"]
path = googletest
url = https://github.com/google/googletest.git

View File

@ -1,4 +1,4 @@
pid_from_msl: pid_from_msl.cpp
@if [ ! -d "googletest" ]; then echo "Error! googletest not found! Put it into this folder!"; exit 1; fi
g++ -std=c++17 -fpermissive -O3 -static -o pid_from_msl.exe pid_from_msl.cpp googletest/gtest-all.cpp googletest/gmock-all.cpp -Igoogletest/googletest -Igoogletest/googletest/include -Igoogletest/googlemock/include
g++ -std=c++17 -fpermissive -O3 -static -o pid_from_msl.exe pid_from_msl.cpp googletest/googletest/src/gtest-all.cc googletest/googlemock/src/gmock-all.cc -Igoogletest/googletest -Igoogletest/googletest/include -Igoogletest/googlemock/include

1
googletest Submodule

@ -0,0 +1 @@
Subproject commit f1afeaa6434812276d106c161f09bf9351a47d39