summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/scan_properties/main.cxx
blob: 2c7ec3e3c7f8fa1d7d6482b8d801968a9b37cec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#if SCANNING_CONTROL
#  if SCAN_AT_TARGET_LEVEL
#    ifndef CMAKE_SCANNED_THIS_SOURCE
#      error "This file should have been scanned"
#    endif
#  else
#    ifdef CMAKE_SCANNED_THIS_SOURCE
#      error "This file should not have been scanned"
#    endif
#  endif
#endif

int join();

int main(int argc, char** argv)
{
  return join();
}