413443aa95
This remove dep on LLVM library by building the demangler as part of the project. This should help with building on macOS.
14 lines
265 B
CMake
14 lines
265 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
project(LLVMDemangle)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
add_library(LLVMDemangle
|
|
Demangle.cpp
|
|
ItaniumDemangle.cpp
|
|
MicrosoftDemangle.cpp
|
|
MicrosoftDemangleNodes.cpp
|
|
)
|
|
|
|
target_include_directories(LLVMDemangle PUBLIC ../include)
|