meson/test cases/cmake/8 custom command/subprojects/cmMod/macro_name.cpp

21 lines
330 B
C++
Raw Normal View History

2019-11-21 05:16:17 +08:00
#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
2019-11-21 05:16:17 +08:00
int main() {
this_thread::sleep_for(chrono::seconds(1));
ofstream out1("macro_name.txt");
out1 << "FOO";
return 0;
}