24navigation/build/fast_lio/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp

18 lines
609 B
C++
Raw Normal View History

2024-03-08 16:26:56 +08:00
#include <stdio.h>
#include <omp.h>
const char ompver_str[] = { 'I', 'N', 'F', 'O', ':', 'O', 'p', 'e', 'n', 'M',
'P', '-', 'd', 'a', 't', 'e', '[',
('0' + ((_OPENMP/100000)%10)),
('0' + ((_OPENMP/10000)%10)),
('0' + ((_OPENMP/1000)%10)),
('0' + ((_OPENMP/100)%10)),
('0' + ((_OPENMP/10)%10)),
('0' + ((_OPENMP/1)%10)),
']', '\0' };
int main(void)
{
puts(ompver_str);
return 0;
}