summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2005-06-21 17:04:19 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2005-06-21 17:04:19 +0000
commit0f01ae19ecb75e0d4ffbe16e2f333bfacc60864d (patch)
tree35fb36ae61d1593e5afe2438e5ab9348afbb8ce2 /templates
parent5d82f699b6efd7f2396feebeea64578cee0ccceb (diff)
downloadMPC-0f01ae19ecb75e0d4ffbe16e2f333bfacc60864d.tar.gz
ChangeLogTag: Tue Jun 21 11:55:38 2005 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/bmake.mpd5
-rw-r--r--templates/bmakecommon.mpt14
-rw-r--r--templates/em3vcpdll.mpt4
-rw-r--r--templates/em3vcpdllexe.mpt4
-rw-r--r--templates/em3vcplib.mpt4
-rw-r--r--templates/em3vcplibexe.mpt4
-rw-r--r--templates/nmakedll.mpt2
-rw-r--r--templates/nmakeexe.mpt2
-rw-r--r--templates/vc6dspdll.mpt2
-rw-r--r--templates/vc6dspdllexe.mpt2
-rw-r--r--templates/vc6dsplib.mpt2
-rw-r--r--templates/vc6dsplibexe.mpt2
-rw-r--r--templates/vc7csharp.mpt2
-rw-r--r--templates/vc7dll.mpt2
-rw-r--r--templates/vc7exe.mpt2
-rw-r--r--templates/vc7lib.mpt2
-rw-r--r--templates/vc7libexe.mpt2
-rw-r--r--templates/vc7vb.mpt2
-rw-r--r--templates/vc8dll.mpt2
-rw-r--r--templates/vc8exe.mpt2
-rw-r--r--templates/vc8lib.mpt2
-rw-r--r--templates/vc8libexe.mpt2
22 files changed, 36 insertions, 31 deletions
diff --git a/templates/bmake.mpd b/templates/bmake.mpd
index 4bb9bc8b..8ca221d9 100644
--- a/templates/bmake.mpd
+++ b/templates/bmake.mpd
@@ -32,8 +32,8 @@ UNICODE_DIR = Unicode\\
UC_MAIN = w
!endif
-INTERMEDIATE = $(CFG_DIR)$(UNICODE_DIR)<%noextension(project_name)%>
<%foreach(compilers)%>
+<%fornotlast("!ifdef")%><%forlast("!else #")%> <%uc(compiler)%>
OBJ_EXT = <%obj_ext%>
DLL_EXT = <%dll_ext%>
LIB_EXT = <%lib_ext%>
@@ -49,6 +49,9 @@ EXEFLAGS = <%exeflags%>
WARNFLAGS = <%warnflags%>
CCFLAGS = <%ccflags%><%if(compile_flags)%> <%compile_flags%><%endif%>
<%endfor%>
+!endif
+
+INTERMEDIATE = $(CFG_DIR)$(UNICODE_DIR)<%noextension(project_name)%>
<%if(exename)%>
NAME = <%exename%>$(EXEMODIFIER)
<%else%>
diff --git a/templates/bmakecommon.mpt b/templates/bmakecommon.mpt
index b5eaaba5..edd566e4 100644
--- a/templates/bmakecommon.mpt
+++ b/templates/bmakecommon.mpt
@@ -3,12 +3,14 @@
conditional_include "common"
-configurations = Debug Release
-compilers = bcc
-common_defines = WIN32 _WINDOWS _NO_VCL
-common_libs = import32$(LIB_EXT) cw32mti.lib ws2_32.lib
-common_flags = -a8
-unicode_flags = -WU
+// If there are more than two compilers,
+// then the template needs to be modified to support that
+compilers = cbx bcc
+configurations = Debug Release
+common_defines = WIN32 _WINDOWS _NO_VCL
+common_libs = import32$(LIB_EXT) cw32mti.lib ws2_32.lib
+common_flags = -a8
+unicode_flags = -WU
bcc {
obj_ext = .obj
diff --git a/templates/em3vcpdll.mpt b/templates/em3vcpdll.mpt
index afe74454..d5dbbb8e 100644
--- a/templates/em3vcpdll.mpt
+++ b/templates/em3vcpdll.mpt
@@ -5,8 +5,8 @@ conditional_include "common"
conditional_include "windowscommon"
type_description = "Dynamic-Link Library"
-configurations = Release Debug
-platforms = "WCE ARM" "WCE ARMV4" "WCE x86" "WCE emulator"
+configurations = Debug Release
+platforms = "WCE ARM" "WCE ARMV4" "WCE emulator" "WCE x86"
default_configuration = Debug
default_platform = "WCE ARM"
common_defines = UNICODE _UNICODE
diff --git a/templates/em3vcpdllexe.mpt b/templates/em3vcpdllexe.mpt
index 8e35f80b..66907635 100644
--- a/templates/em3vcpdllexe.mpt
+++ b/templates/em3vcpdllexe.mpt
@@ -5,10 +5,10 @@ conditional_include "common"
conditional_include "windowscommon"
type_description = Application
-platforms = "WCE ARM" "WCE ARMV4" "WCE x86" "WCE emulator"
+platforms = "WCE ARM" "WCE ARMV4" "WCE emulator" "WCE x86"
default_configuration = Debug
default_platform = "WCE ARM"
-configurations = Release Debug
+configurations = Debug Release
common_defines = UNICODE _UNICODE
stack =
use_exe_modifier =
diff --git a/templates/em3vcplib.mpt b/templates/em3vcplib.mpt
index d72ad60f..4d34dd9f 100644
--- a/templates/em3vcplib.mpt
+++ b/templates/em3vcplib.mpt
@@ -5,10 +5,10 @@ conditional_include "common"
conditional_include "windowscommon"
type_description = "Static Library"
-platforms = "WCE ARM" "WCE ARMV4" "WCE x86" "WCE emulator"
+platforms = "WCE ARM" "WCE ARMV4" "WCE emulator" "WCE x86"
default_configuration = Debug
default_platform = "WCE ARM"
-configurations = Release Debug
+configurations = Debug Release
common_defines = UNICODE _UNICODE
stack =
unicode = 1
diff --git a/templates/em3vcplibexe.mpt b/templates/em3vcplibexe.mpt
index ffd343f0..617155eb 100644
--- a/templates/em3vcplibexe.mpt
+++ b/templates/em3vcplibexe.mpt
@@ -5,10 +5,10 @@ conditional_include "common"
conditional_include "windowscommon"
type_description = Application
-platforms = "WCE ARM" "WCE ARMV4" "WCE x86" "WCE emulator"
+platforms = "WCE ARM" "WCE ARMV4" "WCE emulator" "WCE x86"
default_configuration = Debug
default_platform = "WCE ARM"
-configurations = Release Debug
+configurations = Debug Release
common_defines = UNICODE _UNICODE
stack =
use_exe_modifier =
diff --git a/templates/nmakedll.mpt b/templates/nmakedll.mpt
index 68a7f3a3..8b04e1f0 100644
--- a/templates/nmakedll.mpt
+++ b/templates/nmakedll.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug "Static Release" "Static Debug"
+configurations = Debug Release "Static Debug" "Static Release"
platforms = Win32
default_configuration = Debug
common_defines = WIN32 _WINDOWS
diff --git a/templates/nmakeexe.mpt b/templates/nmakeexe.mpt
index 5952183f..3e4dde0d 100644
--- a/templates/nmakeexe.mpt
+++ b/templates/nmakeexe.mpt
@@ -6,7 +6,7 @@ conditional_include "windowscommon"
type_description = "Console Application"
type_code = 0x0103
-configurations = Release Debug "Static Release" "Static Debug"
+configurations = Debug Release "Static Debug" "Static Release"
platforms = Win32
default_configuration = Debug
common_defines = WIN32 _CONSOLE
diff --git a/templates/vc6dspdll.mpt b/templates/vc6dspdll.mpt
index c4beef02..5c51dd24 100644
--- a/templates/vc6dspdll.mpt
+++ b/templates/vc6dspdll.mpt
@@ -7,7 +7,7 @@ conditional_include "windowscommon"
type_description = "Dynamic-Link Library"
type_code = 0x0102
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _WINDOWS
use_lib_modifier = 1
diff --git a/templates/vc6dspdllexe.mpt b/templates/vc6dspdllexe.mpt
index fe75b1ea..87b8f7ea 100644
--- a/templates/vc6dspdllexe.mpt
+++ b/templates/vc6dspdllexe.mpt
@@ -7,7 +7,7 @@ conditional_include "windowscommon"
type_description = "Console Application"
type_code = 0x0103
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _CONSOLE
subsystem = console
use_exe_modifier =
diff --git a/templates/vc6dsplib.mpt b/templates/vc6dsplib.mpt
index 620fc831..4a20bade 100644
--- a/templates/vc6dsplib.mpt
+++ b/templates/vc6dsplib.mpt
@@ -7,7 +7,7 @@ conditional_include "windowscommon"
type_description = "Static Library"
type_code = 0x0104
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _WINDOWS
use_lib_modifier = 1
diff --git a/templates/vc6dsplibexe.mpt b/templates/vc6dsplibexe.mpt
index 76e2235c..6fd7349e 100644
--- a/templates/vc6dsplibexe.mpt
+++ b/templates/vc6dsplibexe.mpt
@@ -7,7 +7,7 @@ conditional_include "windowscommon"
type_description = "Console Application"
type_code = 0x0103
-configurations = Release Debug
+configurations = Debug Release
default_configuration = Debug
common_defines = WIN32 _CONSOLE
subsystem = console
diff --git a/templates/vc7csharp.mpt b/templates/vc7csharp.mpt
index 48361172..c5e46cd6 100644
--- a/templates/vc7csharp.mpt
+++ b/templates/vc7csharp.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug
+configurations = Debug Release
common_defines = TRACE
Release {
diff --git a/templates/vc7dll.mpt b/templates/vc7dll.mpt
index 46b254e1..d877e775 100644
--- a/templates/vc7dll.mpt
+++ b/templates/vc7dll.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _WINDOWS
use_lib_modifier = 1
diff --git a/templates/vc7exe.mpt b/templates/vc7exe.mpt
index e0fba338..cde8655f 100644
--- a/templates/vc7exe.mpt
+++ b/templates/vc7exe.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _CONSOLE
configuration_type = 1
subsystem = 1
diff --git a/templates/vc7lib.mpt b/templates/vc7lib.mpt
index f9e968f3..d3062d81 100644
--- a/templates/vc7lib.mpt
+++ b/templates/vc7lib.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _WINDOWS
configuration_type = 4
use_lib_modifier = 1
diff --git a/templates/vc7libexe.mpt b/templates/vc7libexe.mpt
index bdebe360..8dddc9e8 100644
--- a/templates/vc7libexe.mpt
+++ b/templates/vc7libexe.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _CONSOLE
configuration_type = 1
subsystem = 1
diff --git a/templates/vc7vb.mpt b/templates/vc7vb.mpt
index 4377ac47..43ad6358 100644
--- a/templates/vc7vb.mpt
+++ b/templates/vc7vb.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug
+configurations = Debug Release
common_defines =
Release {
diff --git a/templates/vc8dll.mpt b/templates/vc8dll.mpt
index 1ec9a17d..79e400f2 100644
--- a/templates/vc8dll.mpt
+++ b/templates/vc8dll.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _WINDOWS _CRT_SECURE_NO_DEPRECATE
ConfigurationType = 2
use_lib_modifier = 1
diff --git a/templates/vc8exe.mpt b/templates/vc8exe.mpt
index 795bf0e9..2a208403 100644
--- a/templates/vc8exe.mpt
+++ b/templates/vc8exe.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _CONSOLE _CRT_SECURE_NO_DEPRECATE
ConfigurationType = 1
SubSystem = 1
diff --git a/templates/vc8lib.mpt b/templates/vc8lib.mpt
index 25340446..14f922d2 100644
--- a/templates/vc8lib.mpt
+++ b/templates/vc8lib.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _WINDOWS _CRT_SECURE_NO_DEPRECATE
ConfigurationType = 4
use_lib_modifier = 1
diff --git a/templates/vc8libexe.mpt b/templates/vc8libexe.mpt
index 3d491fdd..4c26b43c 100644
--- a/templates/vc8libexe.mpt
+++ b/templates/vc8libexe.mpt
@@ -4,7 +4,7 @@
conditional_include "common"
conditional_include "windowscommon"
-configurations = Release Debug
+configurations = Debug Release
common_defines = WIN32 _CONSOLE _CRT_SECURE_NO_DEPRECATE
ConfigurationType = 1
SubSystem = 1