Files
FastDeploy/third_party/eigen/scripts/eigen_gen_split_test_help.cmake
Jack Zhou 355382ad63 Move eigen to third party (#282)
* remove useless statement

* Add eigen to third_party dir

* remove reducdant lines
2022-09-26 19:24:02 +08:00

11 lines
323 B
CMake

#!cmake -P
file(WRITE split_test_helper.h "")
foreach(i RANGE 1 999)
file(APPEND split_test_helper.h
"#if defined(EIGEN_TEST_PART_${i}) || defined(EIGEN_TEST_PART_ALL)\n"
"#define CALL_SUBTEST_${i}(FUNC) CALL_SUBTEST(FUNC)\n"
"#else\n"
"#define CALL_SUBTEST_${i}(FUNC)\n"
"#endif\n\n"
)
endforeach()