summaryrefslogtreecommitdiffstats
path: root/lib/googletest-1.8.x/googlemock/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/googletest-1.8.x/googlemock/SConscript')
-rw-r--r--lib/googletest-1.8.x/googlemock/SConscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/googletest-1.8.x/googlemock/SConscript b/lib/googletest-1.8.x/googlemock/SConscript
new file mode 100644
index 0000000000..207f06c86b
--- /dev/null
+++ b/lib/googletest-1.8.x/googlemock/SConscript
@@ -0,0 +1,12 @@
+Import('env')
+env = env.Clone()
+
+# Add root and include folders
+env.Prepend(CPPPATH = ['.', '../include', '../../googletest/include'])
+
+# Sources used by base library and library that includes main.
+gmock_source = 'src/gmock-all.cc'
+
+# gmock.lib to be used by most apps (if you have your own main
+# function)
+gmock = env.StaticLibrary(target='gmock', source=gmock_source)