@@ -49,7 +49,15 @@ IF (EMBREE_TESTING_INSTALL_TESTS)
49
49
"\n "
50
50
"project(embree-testing)\n "
51
51
"\n "
52
+ "# allowing EMBREE_TESTING_INTENSITY to be overriden\n "
53
+ "unset(TESTING_INTENSITY_SAVE CACHE)\n "
54
+ "set(TESTING_INTENSITY_SAVE ${EMBREE_TESTING_INTENSITY} )\n "
55
+ "unset(EMBREE_TESTING_INTENSITY CACHE)\n "
52
56
"include(\" ../${CMAKE_INSTALL_LIBDIR} /cmake/embree-${EMBREE_VERSION} /embree-config.cmake\" )\n "
57
+ "if (DEFINED TESTING_INTENSITY_SAVE)\n "
58
+ " set(EMBREE_TESTING_INTENSITY \$ {TESTING_INTENSITY_SAVE})\n "
59
+ "endif()\n "
60
+ "\n "
53
61
"\n "
54
62
"SET(EMBREE_TESTING_PACKAGE_TEST_PROJECT ON)\n "
55
63
"SET(EMBREE_INSTALL_BINDIR ${CMAKE_INSTALL_BINDIR} )\n "
@@ -67,20 +75,20 @@ IF (EMBREE_TESTING_INSTALL_TESTS)
67
75
" endif()\n "
68
76
"endif()\n "
69
77
"\n "
70
- "message(\" filter: \\\" ${EMBREE_TESTING_FILTER_TESTNAMES} \"\\ \" )\n "
71
- "message(\" BUILD_TESTING: \\\"\$ {BUILD_TESTING}\"\\ \" )\n "
72
- "message(\" EMBREE_TESTING_INSTALL_TESTS: \\\"\$ {EMBREE_TESTING_INSTALL_TESTS}\"\\ \" )\n "
73
- "message(\" EMBREE_SYCL_SUPPORT: \\\"\$ {EMBREE_SYCL_SUPPORT}\"\\ \" )\n "
74
- "message(\" EMBREE_TESTING_ONLY_SYCL_TESTS : \\\"\$ {EMBREE_TESTING_ONLY_SYCL_TESTS} \"\\ \" )\n "
75
-
76
- "message(\" EMBREE_GEOMETRY_TRIANGLE: \\\"\$ {EMBREE_GEOMETRY_TRIANGLE}\"\\ \" )\n "
77
- "message(\" EMBREE_GEOMETRY_QUAD: \\\"\$ {EMBREE_GEOMETRY_QUAD}\"\\ \" )\n "
78
- "message(\" EMBREE_GEOMETRY_GRID: \\\"\$ {EMBREE_GEOMETRY_GRID}\"\\ \" )\n "
79
- "message(\" EMBREE_GEOMETRY_CURVE: \\\"\$ {EMBREE_GEOMETRY_CURVE}\"\\ \" )\n "
80
- "message(\" EMBREE_GEOMETRY_SUBDIVISION: \\\"\$ {EMBREE_GEOMETRY_SUBDIVISION}\"\\ \" )\n "
81
- "message(\" EMBREE_GEOMETRY_USER: \\\"\$ {EMBREE_GEOMETRY_USER}\"\\ \" )\n "
82
- "message(\" EMBREE_GEOMETRY_INSTANCE: \\\"\$ {EMBREE_GEOMETRY_INSTANCE}\"\\ \" )\n "
83
- "message(\" EMBREE_GEOMETRY_INSTANCE_ARRAY: \\\"\$ {EMBREE_GEOMETRY_INSTANCE_ARRAY}\"\\ \" )\n "
78
+ "message(\" filter: \\\" ${EMBREE_TESTING_FILTER_TESTNAMES} \\\" \" )\n "
79
+ "message(\" BUILD_TESTING: \\\"\$ {BUILD_TESTING}\\\" \" )\n "
80
+ "message(\" EMBREE_TESTING_INSTALL_TESTS: \\\"\$ {EMBREE_TESTING_INSTALL_TESTS}\\\" \" )\n "
81
+ "message(\" EMBREE_SYCL_SUPPORT: \\\"\$ {EMBREE_SYCL_SUPPORT}\\\" \" )\n "
82
+ "message(\" EMBREE_TESTING_INTENSITY : \\\"\$ {EMBREE_TESTING_INTENSITY} \\\" \" )\n "
83
+ "message( \" EMBREE_TESTING_ONLY_SYCL_TESTS: \\\"\$ {EMBREE_TESTING_ONLY_SYCL_TESTS} \\\"\" ) \n "
84
+ "message(\" EMBREE_GEOMETRY_TRIANGLE: \\\"\$ {EMBREE_GEOMETRY_TRIANGLE}\\\" \" )\n "
85
+ "message(\" EMBREE_GEOMETRY_QUAD: \\\"\$ {EMBREE_GEOMETRY_QUAD}\\\" \" )\n "
86
+ "message(\" EMBREE_GEOMETRY_GRID: \\\"\$ {EMBREE_GEOMETRY_GRID}\\\" \" )\n "
87
+ "message(\" EMBREE_GEOMETRY_CURVE: \\\"\$ {EMBREE_GEOMETRY_CURVE}\\\" \" )\n "
88
+ "message(\" EMBREE_GEOMETRY_SUBDIVISION: \\\"\$ {EMBREE_GEOMETRY_SUBDIVISION}\\\" \" )\n "
89
+ "message(\" EMBREE_GEOMETRY_USER: \\\"\$ {EMBREE_GEOMETRY_USER}\\\" \" )\n "
90
+ "message(\" EMBREE_GEOMETRY_INSTANCE: \\\"\$ {EMBREE_GEOMETRY_INSTANCE}\\\" \" )\n "
91
+ "message(\" EMBREE_GEOMETRY_INSTANCE_ARRAY: \\\"\$ {EMBREE_GEOMETRY_INSTANCE_ARRAY}\\\" \" )\n "
84
92
"\n "
85
93
"include(embree-addtests.cmake)\n "
86
94
)
0 commit comments