2018-02-20 00:12:04 +08:00
|
|
|
cmake_minimum_required(VERSION 3.8)
|
|
|
|
project(breakpad CXX)
|
|
|
|
|
2018-08-08 21:02:30 +08:00
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
|
2018-02-20 00:12:04 +08:00
|
|
|
add_definitions(
|
|
|
|
-DNOMINMAX
|
|
|
|
-DUNICODE
|
|
|
|
-DWIN32_LEAN_AND_MEAN
|
|
|
|
-D_CRT_SECURE_NO_WARNINGS
|
|
|
|
-D_CRT_SECURE_NO_DEPRECATE
|
|
|
|
-D_CRT_NONSTDC_NO_DEPRECATE
|
|
|
|
)
|
|
|
|
|
|
|
|
set(CMAKE_DEBUG_POSTFIX d)
|
|
|
|
|
|
|
|
string(COMPARE EQUAL "${CMAKE_BUILD_TYPE}" "Release" DEFAULT_INSTALL_HEADERS)
|
|
|
|
option(INSTALL_HEADERS "Install header files" ${DEFAULT_INSTALL_HEADERS})
|
2023-01-19 04:34:08 +08:00
|
|
|
option(INSTALL_TOOLS "Install tools" OFF)
|
2018-02-20 00:12:04 +08:00
|
|
|
|
2018-08-08 21:02:30 +08:00
|
|
|
# libbreakpad target
|
2021-03-30 01:12:06 +08:00
|
|
|
if(NOT CMAKE_SYSTEM_NAME STREQUAL Android)
|
|
|
|
file(GLOB_RECURSE LIBBREAKPAD_SOURCES src/processor/*.cc)
|
|
|
|
if(WIN32)
|
|
|
|
list(FILTER LIBBREAKPAD_SOURCES EXCLUDE REGEX
|
2023-03-20 14:26:03 +08:00
|
|
|
"_unittest|_selftest|synth_minidump|/tests|/testdata|/linux|/mac|/android|/solaris|microdump_stackwalk|minidump_dump|minidump_stackwalk")
|
2021-03-30 01:12:06 +08:00
|
|
|
elseif(APPLE)
|
|
|
|
list(FILTER LIBBREAKPAD_SOURCES EXCLUDE REGEX
|
2023-03-20 14:26:03 +08:00
|
|
|
"_unittest|_selftest|synth_minidump|/tests|/testdata|/linux|/windows|/android|/solaris|microdump_stackwalk|minidump_dump|minidump_stackwalk")
|
2021-03-30 01:12:06 +08:00
|
|
|
else()
|
|
|
|
list(FILTER LIBBREAKPAD_SOURCES EXCLUDE REGEX
|
2023-03-20 14:26:03 +08:00
|
|
|
"_unittest|_selftest|synth_minidump|/tests|/testdata|/mac|/windows|/android|/solaris|microdump_stackwalk|minidump_dump|minidump_stackwalk")
|
2021-03-30 01:12:06 +08:00
|
|
|
endif()
|
2018-02-20 00:12:04 +08:00
|
|
|
|
2021-03-30 01:12:06 +08:00
|
|
|
find_library(LIBDISASM_LIB NAMES libdisasmd libdisasm)
|
2018-02-20 00:12:04 +08:00
|
|
|
|
2021-03-30 01:12:06 +08:00
|
|
|
add_library(libbreakpad ${LIBBREAKPAD_SOURCES})
|
|
|
|
target_link_libraries(libbreakpad PRIVATE ${LIBDISASM_LIB})
|
2018-02-20 00:12:04 +08:00
|
|
|
|
2021-03-30 01:12:06 +08:00
|
|
|
target_include_directories(libbreakpad
|
|
|
|
PUBLIC
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
|
|
|
|
$<INSTALL_INTERFACE:include>
|
|
|
|
)
|
2018-02-20 00:12:04 +08:00
|
|
|
|
2021-03-30 01:12:06 +08:00
|
|
|
set(TARGETS libbreakpad)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# libbreakpad_client target
|
|
|
|
if(CMAKE_SYSTEM_NAME STREQUAL Android)
|
|
|
|
file(READ "android/google_breakpad/Android.mk" android_mk)
|
|
|
|
string(REGEX MATCHALL "src/[^\n]*\\.cc" LIBBREAKPAD_CLIENT_SOURCES "${android_mk}")
|
2020-12-17 16:16:41 +08:00
|
|
|
else()
|
2021-03-30 01:12:06 +08:00
|
|
|
if(WIN32)
|
|
|
|
file(GLOB_RECURSE LIBBREAKPAD_CLIENT_SOURCES src/client/windows/*.cc src/common/windows/*.cc)
|
|
|
|
include_directories("$ENV{VSINSTALLDIR}/DIA SDK/include")
|
|
|
|
elseif(APPLE)
|
|
|
|
add_definitions(-DHAVE_MACH_O_NLIST_H)
|
|
|
|
file(GLOB_RECURSE LIBBREAKPAD_CLIENT_SOURCES src/client/mac/*.cc src/common/mac/*.cc)
|
|
|
|
list(APPEND LIBBREAKPAD_CLIENT_SOURCES src/common/mac/MachIPC.mm)
|
|
|
|
else()
|
|
|
|
add_definitions(-DHAVE_A_OUT_H)
|
|
|
|
file(GLOB_RECURSE LIBBREAKPAD_CLIENT_SOURCES src/client/linux/*.cc src/common/linux/*.cc)
|
|
|
|
endif()
|
|
|
|
file(GLOB LIBBREAKPAD_COMMON_SOURCES src/common/*.cc src/common/*.c src/client/*.cc)
|
|
|
|
list(APPEND LIBBREAKPAD_CLIENT_SOURCES ${LIBBREAKPAD_COMMON_SOURCES})
|
2020-12-17 16:16:41 +08:00
|
|
|
endif()
|
|
|
|
list(FILTER LIBBREAKPAD_CLIENT_SOURCES EXCLUDE REGEX "/sender|/tests|/unittests|/testcases|_unittest|_test")
|
|
|
|
if(WIN32)
|
|
|
|
list(FILTER LIBBREAKPAD_CLIENT_SOURCES EXCLUDE REGEX "language.cc|path_helper.cc|stabs_to_module.cc|stabs_reader.cc|minidump_file_writer.cc")
|
|
|
|
elseif(NOT APPLE)
|
|
|
|
try_compile(HAVE_GETCONTEXT ${CMAKE_BINARY_DIR}/check_getcontext ${CMAKE_CURRENT_LIST_DIR}/check_getcontext.cc OUTPUT_VARIABLE BUILD_OUT)
|
|
|
|
if (NOT HAVE_GETCONTEXT)
|
|
|
|
enable_language(ASM)
|
|
|
|
list(APPEND LIBBREAKPAD_CLIENT_SOURCES src/common/linux/breakpad_getcontext.S)
|
2018-08-08 21:02:30 +08:00
|
|
|
endif()
|
2020-12-17 16:16:41 +08:00
|
|
|
endif()
|
2018-08-08 21:02:30 +08:00
|
|
|
|
2020-12-17 16:16:41 +08:00
|
|
|
add_library(libbreakpad_client ${LIBBREAKPAD_CLIENT_SOURCES})
|
|
|
|
if(WIN32)
|
2018-08-08 21:02:30 +08:00
|
|
|
target_link_libraries(libbreakpad_client PRIVATE wininet.lib)
|
2020-12-17 16:16:41 +08:00
|
|
|
elseif(APPLE)
|
|
|
|
find_library(CoreFoundation_FRAMEWORK CoreFoundation)
|
|
|
|
target_link_libraries(libbreakpad_client PRIVATE ${CoreFoundation_FRAMEWORK})
|
|
|
|
else()
|
|
|
|
find_library(PTHREAD_LIBRARIES pthread)
|
2021-03-30 01:12:06 +08:00
|
|
|
if(PTHREAD_LIBRARIES)
|
|
|
|
target_link_libraries(libbreakpad_client PRIVATE ${PTHREAD_LIBRARIES})
|
|
|
|
endif()
|
2020-12-17 16:16:41 +08:00
|
|
|
if (HAVE_GETCONTEXT)
|
|
|
|
target_compile_definitions(libbreakpad_client PRIVATE HAVE_GETCONTEXT=1)
|
|
|
|
endif()
|
2018-08-08 21:02:30 +08:00
|
|
|
endif()
|
|
|
|
|
2020-12-17 16:16:41 +08:00
|
|
|
target_include_directories(libbreakpad_client
|
|
|
|
PUBLIC
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
|
|
|
|
$<INSTALL_INTERFACE:include>
|
|
|
|
)
|
|
|
|
list(APPEND TARGETS libbreakpad_client)
|
|
|
|
|
2023-01-19 04:34:08 +08:00
|
|
|
if(INSTALL_TOOLS)
|
|
|
|
if(LINUX)
|
|
|
|
add_executable(microdump_stackwalk
|
|
|
|
src/processor/microdump_stackwalk.cc)
|
|
|
|
target_link_libraries(microdump_stackwalk PRIVATE libbreakpad libbreakpad_client)
|
|
|
|
install(TARGETS microdump_stackwalk DESTINATION bin)
|
|
|
|
|
|
|
|
add_executable(minidump_dump
|
|
|
|
src/processor/minidump_dump.cc)
|
|
|
|
target_link_libraries(minidump_dump PRIVATE libbreakpad libbreakpad_client)
|
|
|
|
install(TARGETS minidump_dump DESTINATION bin)
|
|
|
|
|
|
|
|
add_executable(minidump_stackwalk
|
|
|
|
src/processor/minidump_stackwalk.cc)
|
|
|
|
target_link_libraries(minidump_stackwalk PRIVATE libbreakpad libbreakpad_client)
|
|
|
|
install(TARGETS minidump_stackwalk DESTINATION bin)
|
|
|
|
|
|
|
|
add_executable(core2md
|
|
|
|
src/tools/linux/core2md/core2md.cc)
|
|
|
|
target_link_libraries(core2md PRIVATE libbreakpad_client)
|
|
|
|
install(TARGETS core2md DESTINATION bin)
|
|
|
|
|
|
|
|
add_executable(pid2md
|
|
|
|
src/tools/linux/pid2md/pid2md.cc)
|
|
|
|
target_link_libraries(pid2md PRIVATE libbreakpad_client)
|
|
|
|
install(TARGETS pid2md DESTINATION bin)
|
|
|
|
|
|
|
|
add_executable(dump_syms
|
|
|
|
src/common/dwarf_cfi_to_module.cc
|
|
|
|
src/common/dwarf_cu_to_module.cc
|
|
|
|
src/common/dwarf_line_to_module.cc
|
|
|
|
src/common/dwarf_range_list_handler.cc
|
|
|
|
src/common/language.cc
|
|
|
|
src/common/module.cc
|
|
|
|
src/common/path_helper.cc
|
|
|
|
src/common/stabs_reader.cc
|
|
|
|
src/common/stabs_to_module.cc
|
|
|
|
src/common/dwarf/bytereader.cc
|
|
|
|
src/common/dwarf/dwarf2diehandler.cc
|
|
|
|
src/common/dwarf/dwarf2reader.cc
|
|
|
|
src/common/dwarf/elf_reader.cc
|
|
|
|
src/common/linux/crc32.cc
|
|
|
|
src/common/linux/dump_symbols.cc
|
|
|
|
src/common/linux/elf_symbols_to_module.cc
|
|
|
|
src/common/linux/elfutils.cc
|
|
|
|
src/common/linux/file_id.cc
|
|
|
|
src/common/linux/linux_libc_support.cc
|
|
|
|
src/common/linux/memory_mapped_file.cc
|
|
|
|
src/common/linux/safe_readlink.cc
|
|
|
|
src/tools/linux/dump_syms/dump_syms.cc)
|
|
|
|
target_link_libraries(dump_syms PRIVATE libbreakpad_client)
|
|
|
|
install(TARGETS dump_syms DESTINATION bin)
|
|
|
|
|
|
|
|
add_executable(minidump-2-core
|
|
|
|
src/common/linux/memory_mapped_file.cc
|
|
|
|
src/tools/linux/md2core/minidump-2-core.cc)
|
|
|
|
target_link_libraries(minidump-2-core PRIVATE libbreakpad_client)
|
|
|
|
install(TARGETS minidump-2-core DESTINATION bin)
|
|
|
|
|
|
|
|
add_executable(minidump_upload
|
|
|
|
src/common/linux/http_upload.cc
|
|
|
|
src/tools/linux/symupload/minidump_upload.cc)
|
|
|
|
target_link_libraries(minidump_upload PRIVATE libbreakpad_client ${CMAKE_DL_LIBS})
|
|
|
|
install(TARGETS minidump_upload DESTINATION bin)
|
|
|
|
|
|
|
|
add_executable(sym_upload
|
|
|
|
src/common/linux/http_upload.cc
|
|
|
|
src/common/linux/libcurl_wrapper.cc
|
|
|
|
src/common/linux/symbol_collector_client.cc
|
|
|
|
src/common/linux/symbol_upload.cc
|
|
|
|
src/tools/linux/symupload/sym_upload.cc)
|
|
|
|
target_link_libraries(sym_upload PRIVATE libbreakpad_client ${CMAKE_DL_LIBS})
|
|
|
|
install(TARGETS sym_upload DESTINATION bin)
|
|
|
|
|
|
|
|
add_executable(core_handler
|
|
|
|
src/tools/linux/core_handler/core_handler.cc)
|
|
|
|
target_link_libraries(core_handler PRIVATE libbreakpad_client)
|
|
|
|
install(TARGETS core_handler DESTINATION bin)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2018-08-08 21:02:30 +08:00
|
|
|
# installation
|
|
|
|
install(TARGETS ${TARGETS} EXPORT unofficial-breakpad-targets
|
2018-02-20 00:12:04 +08:00
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
LIBRARY DESTINATION lib
|
|
|
|
ARCHIVE DESTINATION lib
|
|
|
|
)
|
|
|
|
|
|
|
|
if(INSTALL_HEADERS)
|
2018-08-08 21:02:30 +08:00
|
|
|
if(WIN32)
|
|
|
|
set(HEADER_EXCLUDE_REGEX "/apple|/ios|/linux|/mac|/solaris|/android|/dwarf|/tests|/testdata|/unittests")
|
|
|
|
elseif(APPLE)
|
2020-12-17 16:16:41 +08:00
|
|
|
set(HEADER_EXCLUDE_REGEX "/apple|/ios|/linux|/windows|/solaris|/android|/dwarf|/tests|/testdata|/unittests|/sender|/testapp|/*proj|/gcov")
|
2018-08-08 21:02:30 +08:00
|
|
|
else()
|
[Breakpad] fix cmake include install (#22130)
* [abseil] Upgrade to 2021.1102
* revert portfile.cmake
* update version
* update portfile.cmake
* update version
* [s2geometry] google s2 for for manipulating geometric shapes
* [libevent] no absolute paths (#21179)
* [Pcre2] Check if files exists before call vcpkg_replace_string. (#22003)
* Check if files exists before call vcpkg_replace_string.
* Update per comments.
Only guard debug.
* Update ports/pcre2/portfile.cmake
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* Bump port-version.
Co-authored-by: GLUD Lars <lars.glud@leica-geosystems.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [lodepng] Fix cannot open include file "lodepng.h" (#22007)
* [lodepng] Fix cannot open include file "lodepng.h"
* update version
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
* [MyGUI] update to 3.4.1 (#22015)
* [MyGUI] update to 3.4.1
* update version
* [s2n] Update, add openssl dependency (#21484)
* Update to 1.3.0, add openssl dependency
* Add 'tests' feature
* Update versions
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Libpq update and VCPKG_OSX_SYSROOT fix (#21583)
* [libpq] Update to 12.9
* [libpq] Use VCPKG_OSX_SYSROOT if set
otherwise configure set the default sysroot in addition, ignoring the
sysroot set by vcpkg_configure_cmake.
* [libpq] remove comment only chunks from patches
* [libpq] update version registry
* [qhttpengine] New port (#22009)
* [qhttpengine] New port
* Update version database
* Fix the format of portfile.cmake
* Fix the format of portfile.cmake
* update version
* Remove duplicate build_shared_libs setting.
Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [ xtensor-io ] Fix wrong hash (#22018)
* [xtensor-io] Fix wrong hash
* update version
* [vcpkg] Update VMs for December 2021 Patch Tuesday (#22013)
* Add Microsoft.VisualStudio.ComponentGroup.UWP.VC.BuildTools to VS as requested by https://github.com/microsoft/vcpkg/issues/19554
* Cherry pick python changes from https://github.com/microsoft/vcpkg/pull/21912
* Update linux pool.
* Update windows pool.
* [starlink] Veggiesaurus/starlink ast cminpack fix (#20559)
* add CMINPACK_NO_DLL flag back
* bump port version
* updated versions JSON
* quotation mark adjustment
* git-tree update
* adjusted c flags configuration
* hash update
* whitespace fix
* git-tree hash update
* updated to ast 9.2.5, added external-cminpack flag
* updated version hash
* removed old version entry
* removed $schema element from json
* updated port git-tree hash
* [libunifex] Update to 2021-12-07 (#21995)
* updated libunifex version
* remove comment
* run x-add-versions --all
* Update ports/libunifex/vcpkg.json
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* rerun x-add-version libunifex
* Update versions/l-/libunifex.json
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* update libunifex to 12-07
* x-add-version
* libunifex port update
force cpp20 as cpp17 build doesn't work with msvc. added a compile fix for externConstexpr and removed warnings with /EHsc
* Update libunifex.json
version update
* Update fix-compile-error.patch
relax clang warnings
* Update libunifex.json
git x-add-version libunifex
* remove unused
* x-add-versions
* remove old version log
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [tensorflow] update to 2.7, including bazel latest 4.x update (#22022)
* Revert "incorporate changes from microsoft:master"
* Revert "Revert "incorporate changes from microsoft:master""
* update tensorflow to 2.7 and bazel to latest 4.x
* Update version database.
Co-authored-by: jgehw <Joachim_Gehweiler@McAfee.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [hiredis] Fix static build (#22038)
* [hiredis] Fix static build
* Update version database
* [vcpkg baseline] Fix mpg123 build failed on Linux (#22028)
* [baseline] Fix mpg123 build failed on Linux
* update version
* Fix misspelled "module".
* Actually fix the misspelling this time Bill.
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [qt5-base] no _debug lib suffixes on macOS (#14225) (#21695)
* [qt5-base] no _debug lib suffixes on macOS (#14225)
* [qt5-base] patch qt5-base to remove _debug postfix on osx
* Apply suggestions from code review
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
* [qt5-base] create link to _debug.pc file from .pc file without _debug
* update version
* [qt5-base] create forward pkgconfig file
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
* [python3] Support arm (#21528)
* [python3] Support arm on non Windows
* Support arm on all platform, add host dependency
* version
* [pybind11] Add supports
* version
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
* [openmvg] update to 2.0 (#22020)
* [openmvg] update to 2.0
* update version
* update patch
* update version
* [brynet] Update to 1.11.1 (#22021)
* brynet: upgrade to 1.11.1
* Update portfile.cmake
* Update brynet.json
* [graphicsmagick] update to version 1.3.37 (#22024)
* [graphicsmagick] update to version 1.3.37
* [graphicsmagick] manifest format
* [graphicsmagick] version database update
* [graphicsmagick] version-string -> version
* [graphicsmagick] version database update
* [meson] fix windows linker detection (#22032)
* fix meson linker detection .....
* bit of code cleanup in vcpkg_configure_meson
* forgot the version stuff
* put cmake back on path because meson is buggy as hell
* [libgpg-error] Release-only build support (#22036)
* [libgpg-error] Release-only build support
* Update version database
* Fix protfile spaces
* Update version database
* [elfutils] provide static or shared libraries correctly (#22055)
The logic for keeping the static or shared libraries according to
VCPKG_LIBRARY_LINKAGE was backwards, and it was providing shared
libraries when they should have been static, and vice versa.
* [gl3w] Use khrplatform.h from the egl-registry port (#22056)
* [gl3w] use khrplatform.h from the egl-registry port
The file was changed yesterday, invalidating the hash: KhronosGroup/EGL-Registry@57b4876de0f33677ece92dd9de0ef105ce69139d.
* [gl3w] migrate to new functions from vcpkg-cmake{,-config}
* [gl3w] bump port version
* [caf] Update to 0.18.5 (#22046)
* [caf] Update to 0.18.5
* Remove setting of BUILD_SHARED_LIBS already handled by vcpkg_cmake_configure.
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [gmsh] Add new port (#21896)
* add: gmsh
* add: versioning for gmsh.
* [gmsh] Re-factory code
* Fix install, remove some features due to lack required dependencies.
* version
* Do not support uwp officially
* version
* Update ports/gmsh/portfile.cmake
* Update versions/g-/gmsh.json
* Group the options
* version
* version
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
* [kf5] upgrade to 5.89 (#21890)
* [kf5*] Update to 5.89
* [kf5*] Update versions
* [kf5kio] update tag to rc2
* [kf5kio] update versions
* [kf5*] final 5.89 released
* [kf5*] update versions
* Clean up trailing whitespace and add quotes when naming .clang-format.
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [ompl] Add vcpkg_check_linkage (#21659)
* [ompl] Add vcpkg_check_linkage
* version
* version
* [pcl] Add feature apps, visualization, simulation, examples and add usage (#21788)
* [pcl] Add feature apps, visualization and examples
* version
* Add simulation
* Enable more apps, install examples, add usage
* format manifest file
* version
* set feature vtk as a alias for feature visualization
* version
* [activemq-cpp] Added missing libuuid dependency (#22059)
This is a mandatory dependency according to
https://github.com/apache/activemq-cpp/blob/master/README.txt
* [optimus-cpp] New port: ID hashing and Obfuscation using Knuth's Algorithm for C++ (#22025)
* [optimus-cpp] New port: ID hashing and Obfuscation using Knuth's Algorithm for C++
* Changed reference
* Update version database
* Fix hash
* Update version database
* Review changes and update lib version
* fixver
* Update version database
* Update version database 2
* Fix vcpkg deps
* Update version database
* [tensorflow-common] remove single quotes from vcpkg flags (#21869)
* [vcpkg_acquire_msys] Update bzip2 to 1.0.8-2
* [tensorflow-common] remove single quotes from vcpkg flags
They are escaped like '\'-mtune=native\'' which leads to a compiler error:
cc: error: unrecognized command line option '-mtune=native'
Set via: set(VCPKG_CXX_FLAGS "-mtune=native")
* [sdl2-mixer] Fix link mpg123 error (#22049)
* [sdl2-mixer] Fix link mpg123 error
* update version
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
* [breakpad] fix include cmake install
* [breakpad] fix cmake include
* [breakpad] fix cmake include
* [breakpad] fix cmake include install
* [breakpad] fix cmake include install
* [breakpad]: fix cmake include install
* [breakpad]: fix cmake install include
* Function modernization
* update version
* update vcpkg.json
* update version
* update portfile.cmake
* update version
Co-authored-by: Jonliu1993 <13720414433@163.com>
Co-authored-by: autoantwort <41973254+autoantwort@users.noreply.github.com>
Co-authored-by: Lars Glud <larshg@gmail.com>
Co-authored-by: GLUD Lars <lars.glud@leica-geosystems.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
Co-authored-by: Kai Pastor <dg0yt@darc.de>
Co-authored-by: Daniel Schürmann <daschuer@mixxx.org>
Co-authored-by: Vitaly <v31337@gmail.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Angus Comrie <accomrie@gmail.com>
Co-authored-by: Li Zeyang <a.banknote@gmail.com>
Co-authored-by: Joachim Gehweiler <44170764+jgehw@users.noreply.github.com>
Co-authored-by: jgehw <Joachim_Gehweiler@McAfee.com>
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: IronsDu <irons.du@gmail.com>
Co-authored-by: Josue Andrade Gomes <josuegomes@gmail.com>
Co-authored-by: Clayton Wheeler <cswheeler@gmail.com>
Co-authored-by: Christian Fillion <cfillion@users.noreply.github.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: X.ZhaoMa <ma@arch.ethz.ch>
Co-authored-by: Dawid Wróbel <me@dawidwrobel.com>
2021-12-23 11:55:05 +08:00
|
|
|
set(HEADER_EXCLUDE_REGEX "/apple|/ios|/windows|/mac|/solaris|/android|/dwarf|/tests|/testdata|/unittests")
|
2020-12-17 16:16:41 +08:00
|
|
|
install(
|
|
|
|
DIRECTORY src/third_party/lss
|
|
|
|
DESTINATION include/third_party
|
|
|
|
FILES_MATCHING PATTERN "*.h"
|
|
|
|
REGEX "${HEADER_EXCLUDE_REGEX}" EXCLUDE
|
|
|
|
)
|
2018-08-08 21:02:30 +08:00
|
|
|
endif()
|
|
|
|
install(
|
|
|
|
DIRECTORY src/client src/common src/google_breakpad
|
|
|
|
DESTINATION include/
|
2020-06-18 02:19:55 +08:00
|
|
|
FILES_MATCHING
|
|
|
|
PATTERN "*.h"
|
|
|
|
REGEX ${HEADER_EXCLUDE_REGEX} EXCLUDE
|
2018-08-08 21:02:30 +08:00
|
|
|
)
|
2018-02-20 00:12:04 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
install(
|
|
|
|
EXPORT unofficial-breakpad-targets
|
|
|
|
FILE unofficial-breakpad-config.cmake
|
|
|
|
NAMESPACE unofficial::breakpad::
|
|
|
|
DESTINATION share/unofficial-breakpad
|
|
|
|
)
|