2021-01-06 19:19:01 +01:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(LLVMDemangle)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
|
2021-01-12 23:28:41 +01:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
|
|
|
|
2021-04-18 20:24:42 +02:00
|
|
|
add_library(LLVMDemangle STATIC
|
2021-01-06 19:19:01 +01:00
|
|
|
Demangle/Demangle.cpp
|
|
|
|
Demangle/ItaniumDemangle.cpp
|
|
|
|
Demangle/MicrosoftDemangle.cpp
|
|
|
|
Demangle/MicrosoftDemangleNodes.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(LLVMDemangle PUBLIC include)
|