external/boringssl/crypto/bytestring/CMakeLists.txt
raw| 1 | include_directories(../../include) |
| 2 | |
| 3 | add_library( |
| 4 | bytestring |
| 5 | |
| 6 | OBJECT |
| 7 | |
| 8 | asn1_compat.c |
| 9 | ber.c |
| 10 | cbs.c |
| 11 | cbb.c |
| 12 | ) |
| 13 | |
| 14 | if(ENABLE_TESTS) |
| 15 | add_executable( |
| 16 | bytestring_test |
| 17 | |
| 18 | bytestring_test.cc |
| 19 | |
| 20 | $<TARGET_OBJECTS:test_support> |
| 21 | ) |
| 22 | |
| 23 | target_link_libraries(bytestring_test crypto) |
| 24 | add_dependencies(all_tests bytestring_test) |
| 25 | endif() |