add sentry native project
This commit is contained in:
parent
4ef04b8339
commit
bdee582203
@ -232,6 +232,7 @@ if (USE_WS OR USE_TEST)
|
|||||||
add_subdirectory(ixsentry)
|
add_subdirectory(ixsentry)
|
||||||
|
|
||||||
add_subdirectory(third_party/spdlog spdlog)
|
add_subdirectory(third_party/spdlog spdlog)
|
||||||
|
add_subdirectory(third_party/sentry-native sentry-native)
|
||||||
|
|
||||||
if (USE_WS)
|
if (USE_WS)
|
||||||
add_subdirectory(ws)
|
add_subdirectory(ws)
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for ALL_BUILD
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ALL_BUILD
|
||||||
|
|
||||||
|
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ALL_BUILD:
|
||||||
|
echo ""
|
||||||
|
echo Build\ all\ projects
|
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for ALL_BUILD
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ALL_BUILD
|
||||||
|
|
||||||
|
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ALL_BUILD:
|
||||||
|
echo ""
|
||||||
|
echo Build\ all\ projects
|
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for ALL_BUILD
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ALL_BUILD
|
||||||
|
|
||||||
|
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ALL_BUILD:
|
||||||
|
echo ""
|
||||||
|
echo Build\ all\ projects
|
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for ALL_BUILD
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ALL_BUILD
|
||||||
|
|
||||||
|
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ALL_BUILD:
|
||||||
|
echo ""
|
||||||
|
echo Build\ all\ projects
|
18
sentry-native/CMakeScripts/ReRunCMake.make
Normal file
18
sentry-native/CMakeScripts/ReRunCMake.make
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
|
||||||
|
TARGETS:=
|
||||||
|
empty:=
|
||||||
|
space:= $(empty) $(empty)
|
||||||
|
spaceplus:= $(empty)\ $(empty)
|
||||||
|
|
||||||
|
TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Applications/CMake.app/Contents/share/cmake-3.12/Modules/CMakeASMInformation.cmake))
|
||||||
|
TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Applications/CMake.app/Contents/share/cmake-3.12/Modules/Compiler/AppleClang-ASM.cmake))
|
||||||
|
TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Applications/CMake.app/Contents/share/cmake-3.12/Modules/Compiler/Clang-ASM.cmake))
|
||||||
|
TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Applications/CMake.app/Contents/share/cmake-3.12/Modules/Compiler/Clang.cmake))
|
||||||
|
TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Applications/CMake.app/Contents/share/cmake-3.12/Modules/Platform/Apple-clang.cmake))
|
||||||
|
TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bsergeant/src/foss/IXWebSocket/CMakeFiles/3.12.3/CMakeASMCompiler.cmake))
|
||||||
|
TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bsergeant/src/foss/IXWebSocket/third_party/sentry-native/CMakeLists.txt))
|
||||||
|
TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bsergeant/src/foss/IXWebSocket/third_party/sentry-native/src/CMakeLists.txt))
|
||||||
|
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/CMakeFiles/cmake.check_cache: $(TARGETS)
|
||||||
|
/Applications/CMake.app/Contents/bin/cmake -H/Users/bsergeant/src/foss/IXWebSocket -B/Users/bsergeant/src/foss/IXWebSocket
|
139
sentry-native/CMakeScripts/XCODE_DEPEND_HELPER.make
Normal file
139
sentry-native/CMakeScripts/XCODE_DEPEND_HELPER.make
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
# DO NOT EDIT
|
||||||
|
# This makefile makes sure all linkable targets are
|
||||||
|
# up-to-date with anything they link to
|
||||||
|
default:
|
||||||
|
echo "Do not invoke directly"
|
||||||
|
|
||||||
|
# Rules to remove targets that are older than anything to which they
|
||||||
|
# link. This forces Xcode to relink the targets from scratch. It
|
||||||
|
# does not seem to check these dependencies itself.
|
||||||
|
PostBuild.example.Debug:
|
||||||
|
PostBuild.sentry.Debug: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/example
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/example:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/example
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.example_crashpad.Debug:
|
||||||
|
PostBuild.sentry.Debug: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/example_crashpad
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/example_crashpad:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/example_crashpad
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry.Debug:
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a:
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry_test_integration.Debug:
|
||||||
|
PostBuild.sentry.Debug: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/sentry_test_integration
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/sentry_test_integration:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/sentry_test_integration
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry_test_unit.Debug:
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/sentry_test_unit:
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/sentry_test_unit
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.example.Release:
|
||||||
|
PostBuild.sentry.Release: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/example
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/example:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/example
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.example_crashpad.Release:
|
||||||
|
PostBuild.sentry.Release: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/example_crashpad
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/example_crashpad:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/example_crashpad
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry.Release:
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a:
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry_test_integration.Release:
|
||||||
|
PostBuild.sentry.Release: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/sentry_test_integration
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/sentry_test_integration:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/sentry_test_integration
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry_test_unit.Release:
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/sentry_test_unit:
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/sentry_test_unit
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.example.MinSizeRel:
|
||||||
|
PostBuild.sentry.MinSizeRel: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/example
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/example:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/example
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.example_crashpad.MinSizeRel:
|
||||||
|
PostBuild.sentry.MinSizeRel: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/example_crashpad
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/example_crashpad:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/example_crashpad
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry.MinSizeRel:
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.a:
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.a
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry_test_integration.MinSizeRel:
|
||||||
|
PostBuild.sentry.MinSizeRel: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/sentry_test_integration
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/sentry_test_integration:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/sentry_test_integration
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry_test_unit.MinSizeRel:
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/sentry_test_unit:
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/sentry_test_unit
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.example.RelWithDebInfo:
|
||||||
|
PostBuild.sentry.RelWithDebInfo: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/example
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/example:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/example
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.example_crashpad.RelWithDebInfo:
|
||||||
|
PostBuild.sentry.RelWithDebInfo: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/example_crashpad
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/example_crashpad:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/example_crashpad
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry.RelWithDebInfo:
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.a:
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.a
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry_test_integration.RelWithDebInfo:
|
||||||
|
PostBuild.sentry.RelWithDebInfo: /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/sentry_test_integration
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/sentry_test_integration:\
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.a
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/sentry_test_integration
|
||||||
|
|
||||||
|
|
||||||
|
PostBuild.sentry_test_unit.RelWithDebInfo:
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/sentry_test_unit:
|
||||||
|
/bin/rm -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/sentry_test_unit
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# For each target create a dummy ruleso the target does not have to exist
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.a:
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.a:
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a:
|
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for ZERO_CHECK
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ZERO_CHECK
|
||||||
|
|
||||||
|
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ZERO_CHECK:
|
||||||
|
echo ""
|
||||||
|
make -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeScripts/ReRunCMake.make
|
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for ZERO_CHECK
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ZERO_CHECK
|
||||||
|
|
||||||
|
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ZERO_CHECK:
|
||||||
|
echo ""
|
||||||
|
make -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeScripts/ReRunCMake.make
|
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for ZERO_CHECK
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ZERO_CHECK
|
||||||
|
|
||||||
|
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ZERO_CHECK:
|
||||||
|
echo ""
|
||||||
|
make -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeScripts/ReRunCMake.make
|
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for ZERO_CHECK
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ZERO_CHECK
|
||||||
|
|
||||||
|
|
||||||
|
/Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeFiles/ZERO_CHECK:
|
||||||
|
echo ""
|
||||||
|
make -f /Users/bsergeant/src/foss/IXWebSocket/sentry-native/CMakeScripts/ReRunCMake.make
|
@ -0,0 +1,9 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for install
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
install_buildpart_0
|
||||||
|
|
||||||
|
|
||||||
|
install_buildpart_0:
|
||||||
|
/Applications/CMake.app/Contents/bin/cmake -DBUILD_TYPE=$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -P cmake_install.cmake
|
@ -0,0 +1,9 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for install
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
install_buildpart_0
|
||||||
|
|
||||||
|
|
||||||
|
install_buildpart_0:
|
||||||
|
/Applications/CMake.app/Contents/bin/cmake -DBUILD_TYPE=$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -P cmake_install.cmake
|
@ -0,0 +1,9 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for install
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
install_buildpart_0
|
||||||
|
|
||||||
|
|
||||||
|
install_buildpart_0:
|
||||||
|
/Applications/CMake.app/Contents/bin/cmake -DBUILD_TYPE=$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -P cmake_install.cmake
|
@ -0,0 +1,9 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for install
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
install_buildpart_0
|
||||||
|
|
||||||
|
|
||||||
|
install_buildpart_0:
|
||||||
|
/Applications/CMake.app/Contents/bin/cmake -DBUILD_TYPE=$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -P cmake_install.cmake
|
10
sentry-native/CMakeScripts/sentry_postBuildPhase.makeDebug
Normal file
10
sentry-native/CMakeScripts/sentry_postBuildPhase.makeDebug
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for sentry
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
sentry_buildpart_0
|
||||||
|
|
||||||
|
|
||||||
|
sentry_buildpart_0:
|
||||||
|
echo "Creating symlinks"
|
||||||
|
/Applications/CMake.app/Contents/bin/cmake -E cmake_symlink_library /Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.dylib /Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.dylib /Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.dylib
|
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for sentry
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
sentry_buildpart_0
|
||||||
|
|
||||||
|
|
||||||
|
sentry_buildpart_0:
|
||||||
|
echo "Creating symlinks"
|
||||||
|
/Applications/CMake.app/Contents/bin/cmake -E cmake_symlink_library /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.dylib /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.dylib /Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.dylib
|
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for sentry
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
sentry_buildpart_0
|
||||||
|
|
||||||
|
|
||||||
|
sentry_buildpart_0:
|
||||||
|
echo "Creating symlinks"
|
||||||
|
/Applications/CMake.app/Contents/bin/cmake -E cmake_symlink_library /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.dylib /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.dylib /Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.dylib
|
10
sentry-native/CMakeScripts/sentry_postBuildPhase.makeRelease
Normal file
10
sentry-native/CMakeScripts/sentry_postBuildPhase.makeRelease
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Generated by CMake, DO NOT EDIT
|
||||||
|
# Custom rules for sentry
|
||||||
|
.SUFFIXES:
|
||||||
|
all: \
|
||||||
|
sentry_buildpart_0
|
||||||
|
|
||||||
|
|
||||||
|
sentry_buildpart_0:
|
||||||
|
echo "Creating symlinks"
|
||||||
|
/Applications/CMake.app/Contents/bin/cmake -E cmake_symlink_library /Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.dylib /Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.dylib /Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.dylib
|
1944
sentry-native/Sentry-Native.xcodeproj/project.pbxproj
Normal file
1944
sentry-native/Sentry-Native.xcodeproj/project.pbxproj
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN""http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>BuildSystemType</key>
|
||||||
|
<string>Original</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
84
sentry-native/cmake_install.cmake
Normal file
84
sentry-native/cmake_install.cmake
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
# Install script for directory: /Users/bsergeant/src/foss/IXWebSocket/third_party/sentry-native
|
||||||
|
|
||||||
|
# Set the install prefix
|
||||||
|
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||||
|
endif()
|
||||||
|
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||||
|
|
||||||
|
# Set the install configuration name.
|
||||||
|
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
if(BUILD_TYPE)
|
||||||
|
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||||
|
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||||
|
else()
|
||||||
|
set(CMAKE_INSTALL_CONFIG_NAME "Release")
|
||||||
|
endif()
|
||||||
|
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Set the component getting installed.
|
||||||
|
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
if(COMPONENT)
|
||||||
|
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||||
|
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||||
|
else()
|
||||||
|
set(CMAKE_INSTALL_COMPONENT)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Is this installation the result of a crosscompile?
|
||||||
|
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$")
|
||||||
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a")
|
||||||
|
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a" AND
|
||||||
|
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a")
|
||||||
|
execute_process(COMMAND "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a")
|
||||||
|
endif()
|
||||||
|
elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$")
|
||||||
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a")
|
||||||
|
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a" AND
|
||||||
|
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a")
|
||||||
|
execute_process(COMMAND "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a")
|
||||||
|
endif()
|
||||||
|
elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll])$")
|
||||||
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.a")
|
||||||
|
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a" AND
|
||||||
|
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a")
|
||||||
|
execute_process(COMMAND "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a")
|
||||||
|
endif()
|
||||||
|
elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$")
|
||||||
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.a")
|
||||||
|
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a" AND
|
||||||
|
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a")
|
||||||
|
execute_process(COMMAND "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libsentry.a")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE FILE FILES "/Users/bsergeant/src/foss/IXWebSocket/third_party/sentry-native/include/sentry.h")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$")
|
||||||
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE FILE FILES "/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a.dSYM")
|
||||||
|
elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$")
|
||||||
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE FILE FILES "/Users/bsergeant/src/foss/IXWebSocket/sentry-native/libsentry.a.dSYM")
|
||||||
|
elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll])$")
|
||||||
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE FILE FILES "/Users/bsergeant/src/foss/IXWebSocket/sentry-native/MinSizeRel/libsentry.a.dSYM")
|
||||||
|
elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$")
|
||||||
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE FILE FILES "/Users/bsergeant/src/foss/IXWebSocket/sentry-native/RelWithDebInfo/libsentry.a.dSYM")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||||
|
# Include the install script for each subdirectory.
|
||||||
|
include("/Users/bsergeant/src/foss/IXWebSocket/sentry-native/src/cmake_install.cmake")
|
||||||
|
|
||||||
|
endif()
|
||||||
|
|
34
sentry-native/src/cmake_install.cmake
Normal file
34
sentry-native/src/cmake_install.cmake
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Install script for directory: /Users/bsergeant/src/foss/IXWebSocket/third_party/sentry-native/src
|
||||||
|
|
||||||
|
# Set the install prefix
|
||||||
|
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||||
|
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||||
|
endif()
|
||||||
|
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||||
|
|
||||||
|
# Set the install configuration name.
|
||||||
|
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||||
|
if(BUILD_TYPE)
|
||||||
|
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||||
|
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||||
|
else()
|
||||||
|
set(CMAKE_INSTALL_CONFIG_NAME "Release")
|
||||||
|
endif()
|
||||||
|
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Set the component getting installed.
|
||||||
|
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||||
|
if(COMPONENT)
|
||||||
|
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||||
|
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||||
|
else()
|
||||||
|
set(CMAKE_INSTALL_COMPONENT)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Is this installation the result of a crosscompile?
|
||||||
|
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||||
|
endif()
|
||||||
|
|
@ -24,6 +24,7 @@ include_directories(ws ../third_party)
|
|||||||
include_directories(ws ../third_party/statsd-client-cpp/src)
|
include_directories(ws ../third_party/statsd-client-cpp/src)
|
||||||
include_directories(ws ../third_party/spdlog/include)
|
include_directories(ws ../third_party/spdlog/include)
|
||||||
include_directories(ws ../third_party/cpp-linenoise)
|
include_directories(ws ../third_party/cpp-linenoise)
|
||||||
|
include_directories(ws ../third_party/sentry-native/include)
|
||||||
|
|
||||||
add_definitions(-DSPDLOG_COMPILED_LIB=1)
|
add_definitions(-DSPDLOG_COMPILED_LIB=1)
|
||||||
|
|
||||||
@ -76,6 +77,7 @@ target_link_libraries(ws ixcore)
|
|||||||
target_link_libraries(ws ixsentry)
|
target_link_libraries(ws ixsentry)
|
||||||
|
|
||||||
target_link_libraries(ws spdlog)
|
target_link_libraries(ws spdlog)
|
||||||
|
target_link_libraries(ws sentry)
|
||||||
|
|
||||||
if(NOT APPLE AND NOT USE_MBED_TLS)
|
if(NOT APPLE AND NOT USE_MBED_TLS)
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(OpenSSL REQUIRED)
|
||||||
|
15
ws/ws.cpp
15
ws/ws.cpp
@ -9,6 +9,7 @@
|
|||||||
//
|
//
|
||||||
#include "ws.h"
|
#include "ws.h"
|
||||||
|
|
||||||
|
#include <sentry.h>
|
||||||
#include <cli11/CLI11.hpp>
|
#include <cli11/CLI11.hpp>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <ixcore/utils/IXCoreLogger.h>
|
#include <ixcore/utils/IXCoreLogger.h>
|
||||||
@ -26,9 +27,21 @@
|
|||||||
#define getpid _getpid
|
#define getpid _getpid
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void initSentry()
|
||||||
|
{
|
||||||
|
sentry_options_t *options = sentry_options_new();
|
||||||
|
|
||||||
|
sentry_options_set_environment(options, "Production");
|
||||||
|
sentry_options_set_release(options, "5fd7a6cd");
|
||||||
|
// sentry_options_set_debug(options, 1);
|
||||||
|
|
||||||
|
sentry_init(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
initSentry();
|
||||||
ix::initNetSystem();
|
ix::initNetSystem();
|
||||||
|
|
||||||
ix::IXCoreLogger::LogFunc logFunc = [](const char* msg) { spdlog::info(msg); };
|
ix::IXCoreLogger::LogFunc logFunc = [](const char* msg) { spdlog::info(msg); };
|
||||||
@ -368,6 +381,8 @@ int main(int argc, char** argv)
|
|||||||
tlsOptions.caFile = "NONE";
|
tlsOptions.caFile = "NONE";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// memset((char *)0x0, 1, 100);
|
||||||
|
|
||||||
int ret = 1;
|
int ret = 1;
|
||||||
if (app.got_subcommand("transfer"))
|
if (app.got_subcommand("transfer"))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user