summaryrefslogtreecommitdiffstats
path: root/test cases/cmake/8 custom command/subprojects/cmMod/macro_name.cpp
blob: 964062ffe7ec69f7d696e27a67465df360fde951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <iostream>
#include <fstream>
#include <chrono>
#include <thread>

using namespace std;

#ifdef TEST_CMD_INCLUDE
#if CPY_INC_WAS_INCLUDED != 1
#error "cpyInc.hpp was not included"
#endif
#endif

int main() {
  this_thread::sleep_for(chrono::seconds(1));
  ofstream out1("macro_name.txt");
  out1 << "FOO";

  return 0;
}