lld/unittests/AsLibAll/CMakeLists.txt
raw| 1 | # Test usage of LLD as a library. |
| 2 | # This test covers a typical case where all the LLD drivers are pulled into the |
| 3 | # application executable. |
| 4 | |
| 5 | add_lld_unittests(LLDAsLibAllTests |
| 6 | AllDrivers.cpp |
| 7 | ) |
| 8 | |
| 9 | target_link_libraries(LLDAsLibAllTests |
| 10 | PRIVATE |
| 11 | lldCommon |
| 12 | lldCOFF |
| 13 | lldELF |
| 14 | lldMachO |
| 15 | lldMinGW |
| 16 | lldWasm |
| 17 | ) |