diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-06-14 15:34:39 +0300 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-06-14 15:34:39 +0300 |
commit | 0573e7e584236a7f7092ca068a6f816bc7f18c6f (patch) | |
tree | f044e6efb1f6368ae1ec5455acae004c5915cab7 /indra/cmake/GoogleBreakpad.cmake | |
parent | fdeb1a5c76e532ad8035963094a7fe98c998b176 (diff) | |
parent | e96544ff266849207adfc3823adfc2dcfe42ce72 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/cmake/GoogleBreakpad.cmake')
-rw-r--r-- | indra/cmake/GoogleBreakpad.cmake | 19 |
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) + |