Files
clang-p2996/lldb/source/Plugins/Language/CPlusPlus/CMakeLists.txt
Pavel Labath 2c4f67794b [lldb/cmake] Implicitly pass arguments to llvm_add_library (#142583)
If we're not touching them, we don't need to do anything special to pass
them along -- with one important caveat: due to how cmake arguments
work, the implicitly passed arguments need to be specified before
arguments that we handle.

This isn't particularly nice, but the alternative is enumerating all
arguments that can be used by llvm_add_library and the macros it calls
(it also relies on implicit passing of some arguments to
llvm_process_sources).
2025-06-04 11:33:37 +02:00

55 lines
1.3 KiB
CMake

lldb_tablegen(LanguageCPlusPlusProperties.inc -gen-lldb-property-defs
SOURCE LanguageCPlusPlusProperties.td
TARGET LLDBPluginLanguageCPlusPlusPropertiesGen)
lldb_tablegen(LanguageCPlusPlusPropertiesEnum.inc -gen-lldb-property-enum-defs
SOURCE LanguageCPlusPlusProperties.td
TARGET LLDBPluginLanguageCPlusPlusPropertiesEnumGen)
add_lldb_library(lldbPluginCPlusPlusLanguage PLUGIN
BlockPointer.cpp
Coroutines.cpp
CPlusPlusLanguage.cpp
CPlusPlusNameParser.cpp
CxxStringTypes.cpp
GenericBitset.cpp
GenericOptional.cpp
LibCxx.cpp
LibCxxAtomic.cpp
LibCxxInitializerList.cpp
LibCxxList.cpp
LibCxxMap.cpp
LibCxxQueue.cpp
LibCxxRangesRefView.cpp
LibCxxSliceArray.cpp
LibCxxProxyArray.cpp
LibCxxSpan.cpp
LibCxxTuple.cpp
LibCxxUnorderedMap.cpp
LibCxxVariant.cpp
LibCxxValarray.cpp
LibCxxVector.cpp
LibStdcpp.cpp
LibStdcppTuple.cpp
LibStdcppUniquePointer.cpp
MSVCUndecoratedNameParser.cpp
LINK_COMPONENTS
Support
LINK_LIBS
lldbCore
lldbDataFormatters
lldbHost
lldbSymbol
lldbTarget
lldbUtility
lldbValueObject
lldbPluginClangCommon
lldbPluginCPPRuntime
lldbPluginTypeSystemClang
)
add_dependencies(lldbPluginCPlusPlusLanguage
LLDBPluginLanguageCPlusPlusPropertiesGen
LLDBPluginLanguageCPlusPlusPropertiesEnumGen)