diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2003-10-01 14:21:13 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2003-10-01 14:21:13 +0000 |
commit | c8efe24f7e645b83e96556b217baa2286cbf7145 (patch) | |
tree | 605ba3c3ecaee1f41419220a89811c4a70084728 | |
parent | 8eb8e6c2a00d1edcac7afc0b48750f41aaa9a0aa (diff) | |
download | ATCD-c8efe24f7e645b83e96556b217baa2286cbf7145.tar.gz |
ChangeLogTag: Wed Oct 1 09:19:28 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r-- | ChangeLog | 12 | ||||
-rw-r--r-- | bin/MakeProjectCreator/templates/vc7.mpd | 2 | ||||
-rw-r--r-- | bin/MakeProjectCreator/templates/vc7dll.mpt | 4 | ||||
-rw-r--r-- | bin/MakeProjectCreator/templates/vc7exe.mpt | 4 |
4 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 6d5dec01397..efe84512bbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Wed Oct 1 09:19:28 2003 Chad Elliott <elliott_c@ociweb.com> + + * bin/MakeProjectCreator/templates/vc7.mpd: + + When optimize is not set, then turn off some linker optimizations. + + * bin/MakeProjectCreator/templates/vc7dll.mpt: + * bin/MakeProjectCreator/templates/vc7exe.mpt: + + When building release targets set optimize equal to 3 (full + optimization). + Wed Oct 1 07:20:31 2003 Chad Elliott <elliott_c@ociweb.com> * bin/depgen.pl: diff --git a/bin/MakeProjectCreator/templates/vc7.mpd b/bin/MakeProjectCreator/templates/vc7.mpd index 4d3eae5a2d2..dc5fbdaab4e 100644 --- a/bin/MakeProjectCreator/templates/vc7.mpd +++ b/bin/MakeProjectCreator/templates/vc7.mpd @@ -78,9 +78,11 @@ <%endif%> SubSystem="<%subsystem("1")%>" <%if(!debug)%> +<%if(optimize)%> OptimizeReferences="<%optref("2")%>" EnableCOMDATFolding="<%opticf("2")%>" <%endif%> +<%endif%> <%if(type_is_dynamic)%> ImportLibrary="$(OutDir)/<%sharedname%><%lib_modifier%>.lib" <%endif%> diff --git a/bin/MakeProjectCreator/templates/vc7dll.mpt b/bin/MakeProjectCreator/templates/vc7dll.mpt index b01ac6bac7c..634d09fb3e6 100644 --- a/bin/MakeProjectCreator/templates/vc7dll.mpt +++ b/bin/MakeProjectCreator/templates/vc7dll.mpt @@ -7,6 +7,7 @@ common_defines = WIN32 _WINDOWS Release { type_is_dynamic = 1 type_is_binary = 1 + optimize = 3 defines = NDEBUG output_dir = Release intermediate_dir = Release @@ -29,6 +30,7 @@ Debug { Static Release { type_is_static = 1 + optimize = 3 defines = NDEBUG output_dir = Static_Release intermediate_dir = Static_Release @@ -52,6 +54,7 @@ Static Debug { MFC Release { type_is_dynamic = 1 type_is_binary = 1 + optimize = 3 defines = NDEBUG output_dir = MFC_Release intermediate_dir = MFC_Release @@ -77,6 +80,7 @@ MFC Debug { Static MFC Release { type_is_static = 1 + optimize = 3 defines = NDEBUG output_dir = Static_MFC_Release intermediate_dir = Static_MFC_Release diff --git a/bin/MakeProjectCreator/templates/vc7exe.mpt b/bin/MakeProjectCreator/templates/vc7exe.mpt index 8c3ac5fc08d..eb8a4cb7e58 100644 --- a/bin/MakeProjectCreator/templates/vc7exe.mpt +++ b/bin/MakeProjectCreator/templates/vc7exe.mpt @@ -9,6 +9,7 @@ subsystem = 1 pdb = 1 Release { + optimize = 3 defines = NDEBUG output_dir = Release intermediate_dir = Release @@ -26,6 +27,7 @@ Debug { } Static Release { + optimize = 3 defines = NDEBUG output_dir = Static_Release intermediate_dir = Static_Release @@ -46,6 +48,7 @@ Static Debug { } MFC Release { + optimize = 3 common_defines = WIN32 _WINDOWS defines = NDEBUG _AFXDLL output_dir = MFC_Release @@ -68,6 +71,7 @@ MFC Debug { } Static MFC Release { + optimize = 3 defines = NDEBUG _AFXDLL output_dir = Static_MFC_Release intermediate_dir = Static_MFC_Release |