summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FASTBuild/UnityIsolate-check.cmake
blob: f42bb1b6cb9e96722973209ade675fddaee65a35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
set(REGEX_TO_MATCH "
  Unity\\('main_Unity_1'\\)
  {
.*
    .UnityInputFiles =
    {
      '.*main.cpp',
      '.*some_source_file_1.cpp',
      '.*some_source_file_2.cpp',
      '.*some_source_file_3.cpp',
      '.*some_source_file_4.cpp'
    }
    .UnityInputIsolatedFiles =
    {
      '.*some_source_file_1.cpp',
      '.*some_source_file_4.cpp'
    }
  }
.*ObjectList.*
.*
    .CompilerInputUnity =
    {
      'main_Unity_1'
    }
")

include(${RunCMake_SOURCE_DIR}/check.cmake)