summaryrefslogtreecommitdiff
path: root/indra/cmake/GoogleBreakpad.cmake
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-06-14 10:55:25 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-06-14 10:55:25 -0700
commitbaf9b3cb078c04b019fccc4ae8a54db05b14bdef (patch)
treeaa422043ec900036716d35e73240efc9df152d32 /indra/cmake/GoogleBreakpad.cmake
parent76cf9e29a77566c10da6184833fad6b0912e9688 (diff)
parentfbc95fe7e77ed093f8f7938a4755ce6b175dcaff (diff)
Merge
Diffstat (limited to 'indra/cmake/GoogleBreakpad.cmake')
-rw-r--r--indra/cmake/GoogleBreakpad.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/cmake/GoogleBreakpad.cmake b/indra/cmake/GoogleBreakpad.cmake
new file mode 100644
index 0000000000..8270c0fabb
--- /dev/null
+++ b/indra/cmake/GoogleBreakpad.cmake
@@ -0,0 +1,19 @@
+# -*- cmake -*-
+include(Prebuilt)
+
+if (STANDALONE)
+ MESSAGE(FATAL_ERROR "*TODO standalone support for google breakad is unimplemented")
+ # *TODO - implement this include(FindGoogleBreakpad)
+else (STANDALONE)
+ use_prebuilt_binary(google_breakpad)
+ if (DARWIN)
+ set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES exception_handler)
+ endif (DARWIN)
+ if (LINUX)
+ set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES breakpad_client)
+ endif (LINUX)
+ if (WINDOWS)
+ set(BREAKPAD_EXCEPTION_HANDLER_LIBRARIES exception_handler crash_generation_client common)
+ endif (WINDOWS)
+endif (STANDALONE)
+