summaryrefslogtreecommitdiff
path: root/indra/cmake/GoogleBreakpad.cmake
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2010-06-14 15:34:39 +0300
committerYuri Chebotarev <ychebotarev@productengine.com>2010-06-14 15:34:39 +0300
commit0573e7e584236a7f7092ca068a6f816bc7f18c6f (patch)
treef044e6efb1f6368ae1ec5455acae004c5915cab7 /indra/cmake/GoogleBreakpad.cmake
parentfdeb1a5c76e532ad8035963094a7fe98c998b176 (diff)
parente96544ff266849207adfc3823adfc2dcfe42ce72 (diff)
merge
--HG-- branch : product-engine
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)
+