Paths to built targets use forward slash instead of backslash for separators on Windows
I'm building a Qt example via command prompt and the paths displayed use forward slashes, requiring me to manually fix them up instead of just being able to copy-paste them to run the example:
C:\dev\qt-dev-debug\qtdeclarative>ninja quick_delegatechooser
[6/10] Performing configure step for 'quick_delegatechooser'
loading initial cache file C:/dev/qt-dev-debug/qtdeclarative/examples/quick/quick_delegatechooser-prefix/tmp/quick_delegatechooser-cache-Debug.cmake
-- The CXX compiler identification is MSVC 19.28.29915.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - not found
-- Found Threads: TRUE
-- Check if linker can resolve circular dependencies - TRUE
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version "1.1.1i")
-- Found WrapOpenSSLHeaders: C:/dev/Strawberry/c/include (found version "1.1.1i")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/dev/qt-dev-debug/qtdeclarative/examples/quick/quick_delegatechooser-prefix/src/quick_delegatechooser-build
[6/10] Performing build step for 'quick_delegatechooser'
[8/8] Linking CXX executable delegatechooser.exe
[10/10] Completed 'quick_delegatechooser'
It would be useful if the separators were what Windows uses natively.
Edited by Mitch Curtis