mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-10 17:30:12 +00:00
add ReleaseDll and DebugDll configuration for Jam msvcgen build system, to support plugin development (such as Extras/MayaPlugin)
This commit is contained in:
parent
486b172f58
commit
15df743b51
@ -121,6 +121,21 @@ builds = [
|
||||
libdirskey => 'libdir',
|
||||
priority => 100
|
||||
},
|
||||
{
|
||||
tag => 'release_dll',
|
||||
name => 'ReleaseDll',
|
||||
defines => ['NDEBUG'],
|
||||
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 => 'release_dbl',
|
||||
name => 'ReleaseDoublePrecision',
|
||||
@ -149,6 +164,20 @@ builds = [
|
||||
libdirskey => 'libdirdebug',
|
||||
priority => 200
|
||||
},
|
||||
{
|
||||
tag => 'debug_dll',
|
||||
name => 'DebugDll',
|
||||
defines => ['_DEBUG'],
|
||||
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
|
||||
},
|
||||
{
|
||||
tag => 'debug_dbl',
|
||||
name => 'DebugDoublePrecision',
|
||||
|
@ -74,6 +74,14 @@
|
||||
DebugInformationFormat="3"
|
||||
BufferSecurityCheck="FALSE"
|
||||
[% END %]
|
||||
[% MACRO compiler_release_dll BLOCK -%]
|
||||
Optimization="2"
|
||||
StringPooling="TRUE"
|
||||
EnableFunctionLevelLinking="TRUE"
|
||||
RuntimeLibrary="2"
|
||||
DebugInformationFormat="3"
|
||||
BufferSecurityCheck="FALSE"
|
||||
[% END %]
|
||||
[% MACRO compiler_debug BLOCK -%]
|
||||
Optimization="0"
|
||||
MinimalRebuild="TRUE"
|
||||
@ -81,6 +89,13 @@
|
||||
RuntimeTypeInfo="FALSE"
|
||||
RuntimeLibrary="1"
|
||||
[% END %]
|
||||
[% MACRO compiler_debug_dll BLOCK -%]
|
||||
Optimization="0"
|
||||
MinimalRebuild="TRUE"
|
||||
DebugInformationFormat="4"
|
||||
RuntimeTypeInfo="FALSE"
|
||||
RuntimeLibrary="3"
|
||||
[% END %]
|
||||
[% MACRO compiler_debug_dbl BLOCK -%]
|
||||
Optimization="0"
|
||||
MinimalRebuild="TRUE"
|
||||
@ -114,6 +129,17 @@
|
||||
SubSystem="[% subsys %]"
|
||||
[% END %]
|
||||
|
||||
[% MACRO linker_app_release_dll(subsys) BLOCK -%]
|
||||
OutputFile="[% path([my.doc.buildroot.0, glue(['ReleaseDll',my.doc.target.0])]) %]"
|
||||
SubSystem="[% subsys %]"
|
||||
[% END %]
|
||||
[% MACRO linker_app_debug_dll(subsys) BLOCK -%]
|
||||
OutputFile="[% path([my.doc.buildroot.0, glue(['DebugDll',my.doc.target.0])]) %]"
|
||||
SubSystem="[% subsys %]"
|
||||
[% END %]
|
||||
[% MACRO linker_appcon_release_dll GET linker_app_release_dll(1) %]
|
||||
[% MACRO linker_appcon_debug_dll GET linker_app_debug_dll(1) %]
|
||||
|
||||
[% MACRO linker_app_release_dbl(subsys) BLOCK -%]
|
||||
OutputFile="[% path([my.doc.buildroot.0, glue(['ReleaseDbl',my.doc.target.0])]) %]"
|
||||
SubSystem="[% subsys %]"
|
||||
|
Loading…
Reference in New Issue
Block a user