diff options
author | Felipe Torrezan <felipe.torrezan@iar.com> | 2023-10-21 16:36:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-10-23 19:59:40 (GMT) |
commit | 37e44707bcc82effccb9f59fdf7c39f66e03e75c (patch) | |
tree | 9bb1a5d97909fef2732012bba11928e1e5a116fb /Tests/RunCMake/CMakeLists.txt | |
parent | aab0d6bc4f353bbad7c1cc6f336fbaf611c1fe7c (diff) | |
download | CMake-37e44707bcc82effccb9f59fdf7c39f66e03e75c.zip CMake-37e44707bcc82effccb9f59fdf7c39f66e03e75c.tar.gz CMake-37e44707bcc82effccb9f59fdf7c39f66e03e75c.tar.bz2 |
IAR: Add tests covering IAR toolchains
Run the tests only if enabled explicitly by an undocumented cache
entry. We will enable it on hosts known to have the toolchains.
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 5a23b8b..7fa5b88 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -1097,3 +1097,8 @@ endif() if(WIN32) add_RunCMake_test(Win32GenEx) endif() + +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() |