work on buildsystem to allow double precision visual build setting in autogenerated visual studion projectfiles
This commit is contained in:
3
Demos/DoublePrecisionDemo/Jamfile
Normal file
3
Demos/DoublePrecisionDemo/Jamfile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
SubDir TOP Demos DoublePrecisionDemo ;
|
||||||
|
|
||||||
|
BulletDemo DoublePrecisionDemo : [ Wildcard *.h *.cpp ] ;
|
||||||
@@ -50,4 +50,5 @@ SubInclude TOP Demos ContinuousConvexCollision ;
|
|||||||
SubInclude TOP Demos GjkConvexCastDemo ;
|
SubInclude TOP Demos GjkConvexCastDemo ;
|
||||||
SubInclude TOP Demos Raytracer ;
|
SubInclude TOP Demos Raytracer ;
|
||||||
SubInclude TOP Demos SimplexDemo ;
|
SubInclude TOP Demos SimplexDemo ;
|
||||||
|
SubInclude TOP Demos DoublePrecisionDemo ;
|
||||||
|
|
||||||
|
|||||||
@@ -121,6 +121,20 @@ builds = [
|
|||||||
libdirskey => 'libdir',
|
libdirskey => 'libdir',
|
||||||
priority => 100
|
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',
|
tag => 'debug',
|
||||||
name => 'Debug',
|
name => 'Debug',
|
||||||
@@ -134,7 +148,23 @@ builds = [
|
|||||||
libskey => 'librarydebug',
|
libskey => 'librarydebug',
|
||||||
libdirskey => 'libdirdebug',
|
libdirskey => 'libdirdebug',
|
||||||
priority => 200
|
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
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -99,13 +99,18 @@
|
|||||||
OutputFile="[% path([my.doc.buildroot.0, my.doc.target.0]) %]"
|
OutputFile="[% path([my.doc.buildroot.0, my.doc.target.0]) %]"
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
||||||
[% MACRO linker_app(subsys) BLOCK -%]
|
[% MACRO linker_app(subsys,prefix) BLOCK -%]
|
||||||
[% linker_common -%]
|
|
||||||
SubSystem="[% subsys %]"
|
|
||||||
[% END %]
|
[% END %]
|
||||||
[% MACRO linker_appcon GET linker_app(1) %]
|
[% MACRO linker_appcon GET linker_app(1) %]
|
||||||
[% MACRO linker_appgui_release GET linker_app(2) %]
|
[% MACRO linker_appgui_release BLOCK -%]
|
||||||
[% MACRO linker_appgui_debug GET linker_app(1) %]
|
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 -%]
|
[% MACRO linker_plugin BLOCK -%]
|
||||||
[% linker_common -%]
|
[% linker_common -%]
|
||||||
|
|||||||
Reference in New Issue
Block a user