Changeset - r24425:4e31788e3af3
[Not reviewed]
master
0 1 0
Michael Lutz - 3 years ago 2020-12-13 18:00:25
michi@icosahedron.de
Fix: [CMake, MSVC] Don't copy regression exe's into a subfolder as they need have their lang files next to them.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
cmake/scripts/Regression.cmake
Show inline comments
 
@@ -19,8 +19,8 @@ endif()
 
# subsystem to console. The copy is needed as multiple regressions can run
 
# at the same time.
 
if(EDITBIN_EXECUTABLE)
 
    execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${OPENTTD_EXECUTABLE} regression/${REGRESSION_TEST}.exe)
 
    set(OPENTTD_EXECUTABLE "regression/${REGRESSION_TEST}.exe")
 
    execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${OPENTTD_EXECUTABLE} regression_${REGRESSION_TEST}.exe)
 
    set(OPENTTD_EXECUTABLE "regression_${REGRESSION_TEST}.exe")
 

	
 
    execute_process(COMMAND ${EDITBIN_EXECUTABLE} /nologo /subsystem:console ${OPENTTD_EXECUTABLE})
 
endif()
0 comments (0 inline, 0 general)