CTEST_CUSTOM_* parameter have to be put in a CTestCustum.cmake file which itself has to be in the build directory
This commit is contained in:
		
							parent
							
								
									578d6f7ced
								
							
						
					
					
						commit
						2f15f74218
					
				| @ -278,7 +278,7 @@ add_subdirectory(Eigen) | ||||
| add_subdirectory(doc EXCLUDE_FROM_ALL) | ||||
| 
 | ||||
| # CMake/Ctest does not allow us to change the build command, | ||||
| # so we have to workaround by directely editing the generated DartConfiguration.tcl file | ||||
| # so we have to workaround by directly editing the generated DartConfiguration.tcl file | ||||
| # save CMAKE_MAKE_PROGRAM | ||||
| set(CMAKE_MAKE_PROGRAM_SAVE ${CMAKE_MAKE_PROGRAM}) | ||||
| # and set a fake one | ||||
| @ -297,6 +297,8 @@ set(CMAKE_MAKE_PROGRAM ${CMAKE_MAKE_PROGRAM_SAVE}) | ||||
| unset(CMAKE_MAKE_PROGRAM_SAVE) | ||||
| unset(EIGEN_MAKECOMMAND_PLACEHOLDER) | ||||
| 
 | ||||
| configure_file(${CMAKE_SOURCE_DIR}/CTestCustom.cmake.in ${CMAKE_BINARY_DIR}/CTestCustom.cmake) | ||||
| 
 | ||||
| 
 | ||||
| if(EIGEN_LEAVE_TEST_IN_ALL_TARGET) | ||||
|   add_subdirectory(test) # can't do EXCLUDE_FROM_ALL here, breaks CTest | ||||
|  | ||||
| @ -11,7 +11,3 @@ set(CTEST_DROP_METHOD "http") | ||||
| set(CTEST_DROP_SITE "eigen.tuxfamily.org") | ||||
| set(CTEST_DROP_LOCATION "/CDash/submit.php?project=Eigen") | ||||
| set(CTEST_DROP_SITE_CDASH TRUE) | ||||
| 
 | ||||
| ## A tribute to Dynamic! | ||||
| set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "33331") | ||||
| set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "33331") | ||||
							
								
								
									
										4
									
								
								CTestCustom.cmake.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								CTestCustom.cmake.in
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| 
 | ||||
| ## A tribute to Dynamic! | ||||
| set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "33331") | ||||
| set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "33331") | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Gael Guennebaud
						Gael Guennebaud