allow the unix generator to run in windows host mode
this is a complete bastardization of the concept and breaks the (unused) debugging feature to create proper unix makefiles under windows, but apparently it permits cross-compiling unix targets under windows. Change-Id: I4ee95a20e7d6a6b2063ec7aa22f52c1a97d78a77 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
2ea976c3a7
commit
c0791b86ab
@ -520,6 +520,9 @@ MetaMakefileGenerator::modesForGenerator(const QString &gen,
|
|||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
*host_mode = Option::HOST_MACX_MODE;
|
*host_mode = Option::HOST_MACX_MODE;
|
||||||
*target_mode = Option::TARG_MACX_MODE;
|
*target_mode = Option::TARG_MACX_MODE;
|
||||||
|
#elif defined(Q_OS_WIN)
|
||||||
|
*host_mode = Option::HOST_WIN_MODE;
|
||||||
|
*target_mode = Option::TARG_UNIX_MODE;
|
||||||
#else
|
#else
|
||||||
*host_mode = Option::HOST_UNIX_MODE;
|
*host_mode = Option::HOST_UNIX_MODE;
|
||||||
*target_mode = Option::TARG_UNIX_MODE;
|
*target_mode = Option::TARG_UNIX_MODE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user