Skip to content

Commit b5bd5f3

Browse files
authored
Merge branch 'variar:master' into ansi
2 parents 8ad7bea + edc7582 commit b5bd5f3

File tree

2,307 files changed

+358
-496664
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,307 files changed

+358
-496664
lines changed

.clang-format

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ BreakBeforeBinaryOperators: true
55
ColumnLimit: 100
66
Standard: c++17
77
IndentWidth: 4
8-
BreakBeforeBraces: Linux
98

109
# Glogg-specific options
1110
PointerAlignment: Left
1211
SpacesInParentheses: true
1312
SpacesInSquareBrackets: true
1413
# DerivePointerAlignment: true
15-
AccessModifierOffset: -2
1614

1715
BreakBeforeBraces: Custom
1816
BraceWrapping:

.github/actions/klogg-version/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ runs:
66
- name: Set klogg version
77
shell: sh
88
run: |
9-
echo "KLOGG_VERSION=23.07.0.$((${{ github.run_number }} + 717))" >> $GITHUB_ENV
9+
echo "KLOGG_VERSION=23.08.0.$((${{ github.run_number }} + 717))" >> $GITHUB_ENV

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ object_script.glogg.Release
3535
build_root/
3636
build_root_clang/
3737
build_root_gcc/
38+
build_root_qt5/
3839
build_root_qt6/
3940
test_data/
4041

3rdparty/CMakeLists.txt

Lines changed: 48 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,46 @@ endif()
346346

347347
set(CPM_USE_LOCAL_PACKAGES ${_TMP_CPM_USE_LOCAL_PACKAGES})
348348

349+
if(KLOGG_USE_SENTRY)
350+
set(SENTRY_BACKEND
351+
"crashpad"
352+
CACHE INTERNAL "" FORCE
353+
)
354+
set(SENTRY_TRANSPORT
355+
"none"
356+
CACHE INTERNAL "" FORCE
357+
)
358+
set(SENTRY_BUILD_EXAMPLES
359+
OFF
360+
CACHE INTERNAL "" FORCE
361+
)
362+
set(CRASHPAD_ENABLE_INSTALL
363+
OFF
364+
CACHE INTERNAL "" FORCE
365+
)
366+
set(CRASHPAD_ENABLE_INSTALL_DEV
367+
OFF
368+
CACHE INTERNAL "" FORCE
369+
)
370+
371+
cpmaddpackage(
372+
NAME
373+
sentry
374+
GITHUB_REPOSITORY
375+
getsentry/sentry-native
376+
GIT_TAG
377+
79899a808a4675a66db6b76a144cecea954506ea
378+
EXCLUDE_FROM_ALL
379+
YES
380+
)
381+
382+
if(WIN32)
383+
set_target_properties(crashpad_handler PROPERTIES OUTPUT_NAME "klogg_crashpad_handler.exe")
384+
else()
385+
set_target_properties(crashpad_handler PROPERTIES OUTPUT_NAME "klogg_crashpad_handler")
386+
endif()
387+
endif(KLOGG_USE_SENTRY)
388+
349389
set(klogg_cpm_targets
350390
xxhash
351391
Catch2
@@ -359,9 +399,14 @@ set(klogg_cpm_targets
359399
SingleApplication
360400
hs
361401
tbb
362-
exprtk,
363-
type_safe,
402+
exprtk
403+
type_safe
364404
mimalloc-static
405+
sentry
406+
crashpad_client
407+
crashpad_compat
408+
crashpad_util
409+
mini_chromium
365410
)
366411
foreach(target ${klogg_cpm_targets})
367412
if(TARGET ${target})
@@ -375,26 +420,4 @@ foreach(target ${klogg_cpm_targets})
375420
endif()
376421
endforeach()
377422

378-
if(KLOGG_USE_SENTRY)
379-
set(SENTRY_BACKEND
380-
"crashpad"
381-
CACHE INTERNAL "" FORCE
382-
)
383-
set(SENTRY_TRANSPORT
384-
"none"
385-
CACHE INTERNAL "" FORCE
386-
)
387-
set(SENTRY_BUILD_EXAMPLES
388-
OFF
389-
CACHE INTERNAL "" FORCE
390-
)
391-
set(CRASHPAD_ENABLE_INSTALL
392-
OFF
393-
CACHE INTERNAL "" FORCE
394-
)
395-
set(CRASHPAD_ENABLE_INSTALL_DEV
396-
OFF
397-
CACHE INTERNAL "" FORCE
398-
)
399-
add_subdirectory(sentry)
400-
endif(KLOGG_USE_SENTRY)
423+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)