mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Added conf files for ProjectGen (Linux platform support).
This commit is contained in:
parent
546e3a219a
commit
27d50fae46
6 changed files with 456 additions and 0 deletions
96
Templates/Empty/buildFiles/config/torque3D_dedicated.conf
Normal file
96
Templates/Empty/buildFiles/config/torque3D_dedicated.conf
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
<?php
|
||||
|
||||
/// Prefs
|
||||
addProjectDefine( 'TORQUE_SHADERGEN' );
|
||||
addProjectDefine( 'TORQUE_UNICODE' );
|
||||
addProjectDefine( 'TORQUE_DEDICATED' );
|
||||
|
||||
/// For OPCODE
|
||||
addProjectDefine( 'BAN_OPCODE_AUTOLINK' );
|
||||
addProjectDefine( 'ICE_NO_DLL' );
|
||||
addProjectDefine( 'TORQUE_OPCODE' );
|
||||
|
||||
// Additional includes
|
||||
addIncludePath( "../../game/shaders" );
|
||||
|
||||
addLibIncludePath( "lmng" );
|
||||
addLibIncludePath( "lpng" );
|
||||
addLibIncludePath( "ljpeg" );
|
||||
addLibIncludePath( "lungif" );
|
||||
addLibIncludePath( "zlib" );
|
||||
addLibIncludePath( "tinyxml" );
|
||||
addLibIncludePath( "opcode" );
|
||||
addLibIncludePath( "squish" );
|
||||
addLibIncludePath( "libvorbis/include" );
|
||||
addLibIncludePath( "libogg/include" );
|
||||
addLibIncludePath( "libtheora/include" );
|
||||
addLibIncludePath( "convexDecomp" );
|
||||
|
||||
// Modules
|
||||
includeModule( 'Torque3D' );
|
||||
includeModule( 'core' );
|
||||
includeModule( 'T3D' );
|
||||
includeModule( 'advancedLighting' );
|
||||
includeModule( 'basicLighting' );
|
||||
includeModule( 'vorbis' );
|
||||
includeModule( 'theora' );
|
||||
|
||||
includeModule( 'collada' );
|
||||
|
||||
// Dependencies
|
||||
addProjectDependency( 'lmng' );
|
||||
addProjectDependency( 'lpng' );
|
||||
addProjectDependency( 'lungif' );
|
||||
addProjectDependency( 'ljpeg' );
|
||||
addProjectDependency( 'zlib' );
|
||||
addProjectDependency( 'tinyxml' );
|
||||
|
||||
addProjectDependency( 'opcode' );
|
||||
addProjectDependency( 'pcre' );
|
||||
addProjectDependency( 'squish' );
|
||||
addProjectDependency( 'collada_dom' );
|
||||
addProjectDependency( 'libvorbis' );
|
||||
addProjectDependency( 'libogg' );
|
||||
addProjectDependency( 'libtheora' );
|
||||
addProjectDependency( 'convexDecomp' );
|
||||
|
||||
if ( $USE_BULLET_PHYSICS == true )
|
||||
{
|
||||
includeModule( 'bullet' );
|
||||
addProjectDependency( 'libbullet' );
|
||||
}
|
||||
|
||||
if ( Generator::$platform == "mac" )
|
||||
{
|
||||
addProjectDefine( '__MACOSX__' );
|
||||
addProjectDefine( 'LTM_DESC' );
|
||||
}
|
||||
|
||||
|
||||
if (Generator::$platform == "win32")
|
||||
{
|
||||
setProjectModuleDefinitionFile('../../' . getLibSrcDir() . 'Torque3D/msvc/torque3d.def');
|
||||
|
||||
addProjectDefine( 'UNICODE' );
|
||||
addProjectDefine( 'INITGUID' );
|
||||
addProjectDefine( '_CRT_SECURE_NO_DEPRECATE' );
|
||||
|
||||
addProjectLibInput('COMCTL32.LIB');
|
||||
addProjectLibInput('COMDLG32.LIB');
|
||||
addProjectLibInput('USER32.LIB');
|
||||
addProjectLibInput('ADVAPI32.LIB');
|
||||
addProjectLibInput('GDI32.LIB');
|
||||
addProjectLibInput('WINMM.LIB');
|
||||
addProjectLibInput('WSOCK32.LIB');
|
||||
addProjectLibInput('vfw32.lib');
|
||||
addProjectLibInput('Imm32.lib');
|
||||
addProjectLibInput('d3d9.lib');
|
||||
addProjectLibInput('d3dx9.lib');
|
||||
addProjectLibInput('DxErr.lib');
|
||||
addProjectLibInput('ole32.lib');
|
||||
addProjectLibInput('shell32.lib');
|
||||
addProjectLibInput('oleaut32.lib');
|
||||
addProjectLibInput('version.lib');
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue