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