libeigen/eigen!2509 Closes #2868 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
14 lines
403 B
CMake
Executable File
14 lines
403 B
CMake
Executable File
#!cmake -P
|
|
# SPDX-FileCopyrightText: The Eigen Authors
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
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() |