diff --git a/Demos/DoublePrecisionDemo/Jamfile b/Demos/DoublePrecisionDemo/Jamfile new file mode 100644 index 000000000..57d754225 --- /dev/null +++ b/Demos/DoublePrecisionDemo/Jamfile @@ -0,0 +1,3 @@ +SubDir TOP Demos DoublePrecisionDemo ; + +BulletDemo DoublePrecisionDemo : [ Wildcard *.h *.cpp ] ; diff --git a/Demos/Jamfile b/Demos/Jamfile index 03992ba51..91ac95888 100644 --- a/Demos/Jamfile +++ b/Demos/Jamfile @@ -50,4 +50,5 @@ SubInclude TOP Demos ContinuousConvexCollision ; SubInclude TOP Demos GjkConvexCastDemo ; SubInclude TOP Demos Raytracer ; SubInclude TOP Demos SimplexDemo ; +SubInclude TOP Demos DoublePrecisionDemo ; diff --git a/mk/msvcgen/control.tlib b/mk/msvcgen/control.tlib index e6b570d50..02e921789 100644 --- a/mk/msvcgen/control.tlib +++ b/mk/msvcgen/control.tlib @@ -121,6 +121,20 @@ builds = [ libdirskey => 'libdir', priority => 100 }, +{ + tag => 'release_dbl', + name => 'ReleaseDoublePrecision', + defines => ['NDEBUG','BT_USE_DOUBLE_PRECISION'], + snpreprocessor => 'SN_TARGET_PS3;NDEBUG;__GCC__', + snadditional => '-O2 -Wall -fno-exceptions', + defineskey => 'define', + cflagskey => 'cflags', + incdirskey => 'include', + lflagskey => 'lflags', + libskey => 'library', + libdirskey => 'libdir', + priority => 100 + }, { tag => 'debug', name => 'Debug', @@ -134,7 +148,23 @@ builds = [ libskey => 'librarydebug', libdirskey => 'libdirdebug', priority => 200 - } + }, +{ + tag => 'debug_dbl', + name => 'DebugDoublePrecision', + defines => ['_DEBUG','BT_USE_DOUBLE_PRECISION'], + snpreprocessor => 'SN_TARGET_PS3;_DEBUG;__GCC__', + snadditional => '-g -O0 -Wall -fno-exceptions', + defineskey => 'definedebug', + cflagskey => 'cflagsdebug', + incdirskey => 'includedebug', + lflagskey => 'lflagsdebug', + libskey => 'librarydebug', + libdirskey => 'libdirdebug', + priority => 200 + }, + + ]; #------------------------------------------------------------------------------ diff --git a/mk/msvcgen/projectx7.tlib b/mk/msvcgen/projectx7.tlib index 8402f5c1a..610e6b45a 100644 --- a/mk/msvcgen/projectx7.tlib +++ b/mk/msvcgen/projectx7.tlib @@ -99,13 +99,18 @@ OutputFile="[% path([my.doc.buildroot.0, my.doc.target.0]) %]" [% END %] -[% MACRO linker_app(subsys) BLOCK -%] -[% linker_common -%] - SubSystem="[% subsys %]" +[% MACRO linker_app(subsys,prefix) BLOCK -%] [% END %] [% MACRO linker_appcon GET linker_app(1) %] -[% MACRO linker_appgui_release GET linker_app(2) %] -[% MACRO linker_appgui_debug GET linker_app(1) %] +[% MACRO linker_appgui_release BLOCK -%] + OutputFile="[% path([my.doc.buildroot.0, glue([ 'Release_',my.doc.target.0])]) %]" + SubSystem="1" +[% END %] + +[% MACRO linker_appgui_debug BLOCK -%] + OutputFile="[% path([my.doc.buildroot.0, glue([ 'Debug_',my.doc.target.0])]) %]" + SubSystem="2" +[% END %] [% MACRO linker_plugin BLOCK -%] [% linker_common -%]