Revert "ask cmake for per-configuration output subdir"
This reverts commit 73d58dd4c83883b46697798e978d576b28b1d24e.
Unfortunately, ${CMAKE_CFG_INTDIR} is set during build only and doesn't
help here.
			
			
This commit is contained in:
		
							parent
							
								
									73d58dd4c8
								
							
						
					
					
						commit
						47ad2993b6
					
				@ -245,7 +245,7 @@ function(py_test name)
 | 
			
		||||
      add_test(
 | 
			
		||||
        NAME ${name}
 | 
			
		||||
        COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/${name}.py
 | 
			
		||||
            --build_dir=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR})
 | 
			
		||||
            --build_dir=${CMAKE_CURRENT_BINARY_DIR}/$<CONFIGURATION>)
 | 
			
		||||
    else (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.1)
 | 
			
		||||
      add_test(
 | 
			
		||||
        ${name}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user