File: eigen_gen_split_test_help.cmake

package info (click to toggle)
eigen3 3.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 20,492 kB
  • sloc: cpp: 151,572; ansic: 75,396; fortran: 24,137; sh: 971; python: 244; javascript: 205; makefile: 42
file content (11 lines) | stat: -rw-r--r-- 323 bytes parent folder | download | duplicates (17)
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()