Éanna Ó Catháin | 919c14e | 2020-09-14 17:36:49 +0100 | [diff] [blame] | 1 | # Copyright © 2020 Arm Ltd and Contributors. All rights reserved. |
| 2 | # SPDX-License-Identifier: MIT |
| 3 | |
| 4 | #Test TPIP |
| 5 | set(TEST_TPIP ${DEPENDENCIES_DIR}/test) |
| 6 | file(MAKE_DIRECTORY ${TEST_TPIP}) |
| 7 | set(TEST_TPIP_INCLUDE ${TEST_TPIP}/include) |
| 8 | file(MAKE_DIRECTORY ${TEST_TPIP_INCLUDE}) |
| 9 | |
| 10 | ExternalProject_Add(catch2-headers |
| 11 | URL https://github.com/catchorg/Catch2/releases/download/v2.11.1/catch.hpp |
| 12 | DOWNLOAD_NO_EXTRACT 1 |
| 13 | CONFIGURE_COMMAND "" |
| 14 | BUILD_COMMAND ${CMAKE_COMMAND} -E copy <DOWNLOAD_DIR>/catch.hpp ${TEST_TPIP_INCLUDE} |
| 15 | INSTALL_COMMAND "" |
| 16 | ) |