summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/UnityBuild/unitybuild_order-check.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-15 18:37:19 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-15 18:37:33 (GMT)
commit3b3f2474da6778fcd81875cfff75b113027cf9eb (patch)
tree1bef5c542395ab83a3d7320b5602a6c2462c685d /Tests/RunCMake/UnityBuild/unitybuild_order-check.cmake
parentf0986f62a85ffed452faf318b79d71ebf3a3bfd0 (diff)
parent274a6f3699c1ad7b099bbabf49618f23122d84f0 (diff)
downloadCMake-3b3f2474da6778fcd81875cfff75b113027cf9eb.zip
CMake-3b3f2474da6778fcd81875cfff75b113027cf9eb.tar.gz
CMake-3b3f2474da6778fcd81875cfff75b113027cf9eb.tar.bz2
Merge topic 'unity-lang-filename' into release-3.16
274a6f3699 Unity Build: include language in generated source file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4223
Diffstat (limited to 'Tests/RunCMake/UnityBuild/unitybuild_order-check.cmake')
-rw-r--r--Tests/RunCMake/UnityBuild/unitybuild_order-check.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/UnityBuild/unitybuild_order-check.cmake b/Tests/RunCMake/UnityBuild/unitybuild_order-check.cmake
index 533a89c..f26ec2e 100644
--- a/Tests/RunCMake/UnityBuild/unitybuild_order-check.cmake
+++ b/Tests/RunCMake/UnityBuild/unitybuild_order-check.cmake
@@ -1,4 +1,4 @@
-set(unitybuild_c "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/tgt.dir/Unity/unity_0.c")
+set(unitybuild_c "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/tgt.dir/Unity/unity_0_c.c")
file(STRINGS ${unitybuild_c} unitybuild_c_strings)
string(REGEX MATCH ".*#include.*s3.c.*#include.*s1.c.*#include.*s2.c.*" matched_code ${unitybuild_c_strings})
if(NOT matched_code)