diff options
author | Alan Phipps <a-phipps@ti.com> | 2023-12-06 18:53:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-02-09 20:54:40 (GMT) |
commit | 9ba0a54554c15fe28ea0612c6e166ad114c87cda (patch) | |
tree | de9acfaf9bc733eace186169e7b97936ff24f2a0 /Tests/RunCMake/CMakeLists.txt | |
parent | c673511263822c688fa302120a29e1e0cf812c0b (diff) | |
download | CMake-9ba0a54554c15fe28ea0612c6e166ad114c87cda.zip CMake-9ba0a54554c15fe28ea0612c6e166ad114c87cda.tar.gz CMake-9ba0a54554c15fe28ea0612c6e166ad114c87cda.tar.bz2 |
TIClang: Add support for TI Clang-based compilers, including tiarmclang
Add TIClang compiler ID and support in compiler modules. Update
documentation. Add rudimentary RunCMake test for TIClang to test
basic functionality.
Fixes: #24619
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 3e22247..d9090d6 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -1177,3 +1177,9 @@ if(CMake_TEST_IAR_TOOLCHAINS) add_RunCMake_test(IAR -DCMake_TEST_IAR_TOOLCHAINS=${CMake_TEST_IAR_TOOLCHAINS}) set_property(TEST RunCMake.IAR APPEND PROPERTY LABELS "IAR") endif() +if(CMake_TEST_TICLANG_TOOLCHAINS) + # This is necessary to preserve the LIST variable contents given by user. + string(REPLACE ";" "$<SEMICOLON>" TOOLCHAINS "${CMake_TEST_TICLANG_TOOLCHAINS}") + add_RunCMake_test(TIClang "-DCMake_TEST_TICLANG_TOOLCHAINS=${TOOLCHAINS}") + set_property(TEST RunCMake.TIClang APPEND PROPERTY LABELS "TIClang") +endif() |