forked from qt-creator/perfparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
31 lines (25 loc) · 971 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
find_package(elfutils)
if (NOT elfutils_FOUND)
message(STATUS "PerfParser is disabled. Set ELFUTILS_INSTALL_DIR to enable it.")
return()
endif()
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
find_package(Zstd)
find_package(LibRustcDemangle)
set_package_properties(LibRustcDemangle PROPERTIES
DESCRIPTION "Demangling for Rust symbols, written in Rust."
PURPOSE "Demangling of Rust symbols"
URL "https://github.com/alexcrichton/rustc-demangle"
TYPE RUNTIME)
find_package(LibDDemangle)
set_package_properties(LibDDemangle PROPERTIES
DESCRIPTION "Demangling for D symbols, written in D."
PURPOSE "Demangling of D symbols"
URL "https://github.com/lievenhey/d_demangler"
TYPE RUNTIME)
add_definitions(-DQT_NO_CAST_FROM_ASCII
-DQT_NO_CAST_TO_ASCII
-DQT_USE_QSTRINGBUILDER
-DQT_NO_FOREACH)
add_subdirectory(app)
add_subdirectory(tests)