diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2015-01-23 18:53:46 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2015-04-22 22:03:36 +0300 |
commit | 5d41a786908d61f751d0dfa15fa6dc5ef30fc2c2 (patch) | |
tree | 46351993e94e31492a53af7de990271983d0d6f2 /toolchain | |
parent | c43e62a5a080fcd09806aa9e69543cb71b889211 (diff) |
Add toolchain files. To be used by 32-bit on 64-bit overlay (and vice versa).
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/win32-msvc2013/x64.toolchain | 26 | ||||
-rw-r--r-- | toolchain/win32-msvc2013/x86-xp.toolchain | 31 | ||||
-rw-r--r-- | toolchain/win32-msvc2013/x86.toolchain | 26 |
3 files changed, 83 insertions, 0 deletions
diff --git a/toolchain/win32-msvc2013/x64.toolchain b/toolchain/win32-msvc2013/x64.toolchain new file mode 100644 index 000000000..e765ea343 --- /dev/null +++ b/toolchain/win32-msvc2013/x64.toolchain @@ -0,0 +1,26 @@ +# This file describes the x64 toolchain of
+# MSVC2013 compiler.
+#
+# This file can be included in a .pro file
+# to cause the target in that file to be
+# built for the x64 architecture, regardless
+# of the native architecture of the build
+# environment.
+
+QMAKE_CC = "\"$$(VCINSTALLDIR)bin\amd64\cl.exe\""
+QMAKE_CXX = "\"$$(VCINSTALLDIR)bin\amd64\cl.exe\""
+QMAKE_LINK = \""$$(VCINSTALLDIR)\bin\amd64\link.exe\""
+QMAKE_LIB = \""$$(VCINSTALLDIR)\bin\amd64\lib.exe\""
+QMAKE_RC = \""$$(WindowsSdkDir)\bin\x64\rc.exe\""
+
+INCLUDEPATH *= "$$(VCINSTALLDIR)\include"
+INCLUDEPATH *= "$$(VCINSTALLDIR)\atlmfc\include"
+INCLUDEPATH *= "$$(WindowsSdkDir)\include\shared"
+INCLUDEPATH *= "$$(WindowsSdkDir)\include\um"
+INCLUDEPATH *= "$$(WindowsSdkDir)\include\winrt"
+INCLUDEPATH *= "$$(DXSDK_DIR)\include"
+
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(VCINSTALLDIR)\lib\amd64\""
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(VCINSTALLDIR)\atlmfc\lib\amd64\""
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(WindowsSdkDir)\lib\winv6.3\um\x64\""
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(DXSDK_DIR)\lib\x64\""
diff --git a/toolchain/win32-msvc2013/x86-xp.toolchain b/toolchain/win32-msvc2013/x86-xp.toolchain new file mode 100644 index 000000000..a349d17a8 --- /dev/null +++ b/toolchain/win32-msvc2013/x86-xp.toolchain @@ -0,0 +1,31 @@ +# This file describes the x86-xp toolchain of
+# MSVC2013 compiler. This is a special toolchain
+# that is designed to be backwards compatible
+# with Windows XP.
+#
+# This file can be included in a .pro file
+# to cause the target in that file to be
+# built for the x86 architecture targetting
+# Windows XP, regardless of the native
+# architecture of the build environment.
+
+WIN7_XP_SDK_DIR="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A"
+
+QMAKE_CC = "\"$$(VCINSTALLDIR)bin\cl.exe\" /D_USING_V110_SDK71_"
+QMAKE_CXX = "\"$$(VCINSTALLDIR)bin\cl.exe\" /D_USING_V110_SDK71_"
+QMAKE_LINK = \""$$(VCINSTALLDIR)\bin\link.exe\""
+QMAKE_LIB = \""$$(VCINSTALLDIR)\bin\lib.exe\""
+QMAKE_RC = \""$${WIN7_XP_SDK_DIR}\bin\rc.exe\" /D_USING_V110_SDK71_"
+
+INCLUDEPATH *= "$$(DXSDK_DIR)\include"
+INCLUDEPATH *= "$${WIN7_XP_SDK_DIR}\include"
+INCLUDEPATH *= "$$(VCINSTALLDIR)\include"
+INCLUDEPATH *= "$$(VCINSTALLDIR)\atlmfc\include"
+INCLUDEPATH *= "$$(WindowsSdkDir)\include\shared"
+INCLUDEPATH *= "$$(WindowsSdkDir)\include\um"
+INCLUDEPATH *= "$$(WindowsSdkDir)\include\winrt"
+
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(DXSDK_DIR)\lib\x86\""
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(VCINSTALLDIR)\lib\""
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(VCINSTALLDIR)\atlmfc\lib\""
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(WindowsSdkDir)\lib\winv6.3\um\x86\""
diff --git a/toolchain/win32-msvc2013/x86.toolchain b/toolchain/win32-msvc2013/x86.toolchain new file mode 100644 index 000000000..ddf67b802 --- /dev/null +++ b/toolchain/win32-msvc2013/x86.toolchain @@ -0,0 +1,26 @@ +# This file describes the x86 toolchain of
+# MSVC2013 compiler.
+#
+# This file can be included in a .pro file
+# to cause the target in that file to be
+# built for the x86 architecture, regardless
+# of the native architecture of the build
+# environment.
+
+QMAKE_CC = "\"$$(VCINSTALLDIR)bin\cl.exe\""
+QMAKE_CXX = "\"$$(VCINSTALLDIR)bin\cl.exe\""
+QMAKE_LINK = \""$$(VCINSTALLDIR)\bin\link.exe\""
+QMAKE_LIB = \""$$(VCINSTALLDIR)\bin\lib.exe\""
+QMAKE_RC = \""$$(WindowsSdkDir)\bin\x86\rc.exe\""
+
+INCLUDEPATH *= "$$(VCINSTALLDIR)\include"
+INCLUDEPATH *= "$$(VCINSTALLDIR)\atlmfc\include"
+INCLUDEPATH *= "$$(WindowsSdkDir)\include\shared"
+INCLUDEPATH *= "$$(WindowsSdkDir)\include\um"
+INCLUDEPATH *= "$$(WindowsSdkDir)\include\winrt"
+INCLUDEPATH *= "$$(DXSDK_DIR)\include"
+
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(VCINSTALLDIR)\lib\""
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(VCINSTALLDIR)\atlmfc\lib\""
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(WindowsSdkDir)\lib\winv6.3\um\x86\""
+QMAKE_LFLAGS *= "/LIBPATH:\"$$(DXSDK_DIR)\lib\x86\""
|