aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/eigen_gen_split_test_help.cmake
blob: e43f5aabec38103cf449219b26f0f0c07d4cb461 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!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()