brintos

brintos / llvm-project-archived public Read only

0
0
Text · 659 B · ec0ff95 Raw
27 lines · plain
1set(FREEBSD_SOURCES2  RegisterContextFreeBSDTest.cpp)3set(NETBSD_SOURCES4  RegisterContextNetBSDTest_i386.cpp5  RegisterContextNetBSDTest_x86_64.cpp)6 7if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")8  list(APPEND PLATFORM_SOURCES ${FREEBSD_SOURCES})9elseif (CMAKE_SYSTEM_NAME MATCHES "NetBSD")10  list(APPEND PLATFORM_SOURCES ${NETBSD_SOURCES})11endif()12 13set(LLVM_OPTIONAL_SOURCES14  ${FREEBSD_SOURCES}15  ${NETBSD_SOURCES})16 17add_lldb_unittest(ProcessUtilityTests18  LinuxProcMapsTest.cpp19  MemoryTagManagerAArch64MTETest.cpp20  RegisterContextTest.cpp21  CoreFileMemoryRangesTest.cpp22  ${PLATFORM_SOURCES}23 24  LINK_LIBS25    lldbPluginProcessUtility26    LLVMTestingSupport)27