Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build SmartExceptionTracer with cmake #2397

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion folly/debugging/exception_tracer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ if (FOLLY_HAVE_ELF AND FOLLY_HAVE_DWARF)
folly_exception_tracer_base
ExceptionTracer.cpp
StackTrace.cpp
SmartExceptionTracer.cpp
SmartExceptionTracerSingleton.cpp
)
set_property(TARGET folly_exception_tracer_base PROPERTY VERSION ${PACKAGE_VERSION})
apply_folly_compile_options_to_target(folly_exception_tracer_base)
Expand All @@ -29,6 +31,7 @@ if (FOLLY_HAVE_ELF AND FOLLY_HAVE_DWARF)
folly_exception_tracer
ExceptionStackTraceLib.cpp
ExceptionTracerLib.cpp
SmartExceptionStackTraceHooks.cpp
)
set_property(TARGET folly_exception_tracer PROPERTY VERSION ${PACKAGE_VERSION})
apply_folly_compile_options_to_target(folly_exception_tracer)
Expand All @@ -50,11 +53,11 @@ if (FOLLY_HAVE_ELF AND FOLLY_HAVE_DWARF)

install(
FILES
ExceptionAbi.h
ExceptionCounterLib.h
ExceptionTracer.h
ExceptionTracerLib.h
StackTrace.h
SmartExceptionTracer.h
DESTINATION
${INCLUDE_INSTALL_DIR}/folly/debugging/exception_tracer
)
Expand Down