我在Mingw64 / MSYS中使用qmake。
在pro文件中,我需要引用相对路径(DESTDIR = .. / bin),以便正确放置测试用例可执行文件。
运行make check目标时,生成的Makefile代码包含带有Windows路径符号的行:
cd ..\bin && /C/Projects/tests/Testcase/src/target_wrapper.sh ./Testcase.exe
更改为.. \ bin将失败,因为找不到..bin:
/bin/sh: Zeile 0: cd: ..bin: No such file or directory
我找不到qmake混合Windows和* nix表示法的原因。
我的问题是由mingw应用的补丁引起的:
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句