GoogleTest hello world.

./build and ./test work automatically when cwd is inside userland/libs/XXX
without --package-all.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-11-25 00:00:00 +00:00
parent 50570326d4
commit 39073519b1
11 changed files with 156 additions and 32 deletions

9
.gitmodules vendored
View File

@@ -11,6 +11,9 @@
[submodule "submodules/crosstool-ng"]
path = submodules/crosstool-ng
url = https://github.com/cirosantilli/crosstool-ng
[submodule "submodules/freebsd"]
path = submodules/freebsd
url = https://github.com/cirosantilli/freebsd
[submodule "submodules/gcc"]
path = submodules/gcc
url = https://github.com/cirosantilli/gcc
@@ -30,6 +33,9 @@
# git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
# But git clone --branch --depth 1 worked weirdly:
# https://unix.stackexchange.com/questions/338578/linux-kernel-source-code-size-difference
[submodule "submodules/googletest"]
path = submodules/googletest
url = https://github.com/cirosantilli/googletest
[submodule "submodules/linux"]
path = submodules/linux
url = https://github.com/cirosantilli/linux
@@ -39,6 +45,3 @@
[submodule "submodules/xen"]
path = submodules/xen
url = https://github.com/cirosantilli/xen
[submodule "submodules/freebsd"]
path = submodules/freebsd
url = https://github.com/cirosantilli/freebsd