mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-11 01:01:25 +03:00
Fixed release build in Windows.
ecode pumped version, soon to be released.
This commit is contained in:
@@ -202,6 +202,7 @@ function build_base_cpp_configuration( package_name )
|
||||
targetname ( package_name .. "-debug" )
|
||||
|
||||
filter "configurations:release*"
|
||||
defines { "NDEBUG" }
|
||||
optimize "Speed"
|
||||
if _OPTIONS["with-debug-symbols"] then
|
||||
symbols "On"
|
||||
|
||||
@@ -33,7 +33,8 @@ void eeREPORT_ASSERT( const char* File, int Line, const char* Exp ) {
|
||||
printf( "ASSERT: %s file:%s line:%d", Exp, File, Line );
|
||||
}
|
||||
|
||||
#if defined( EE_COMPILER_GCC ) && !defined( EE_ARM ) && EE_PLATFORM != EE_PLATFORM_EMSCRIPTEN && EE_PLATFORM != EE_PLATFORM_ANDROID && EE_PLATFORM != EE_PLATFORM_IOS
|
||||
#if defined( EE_COMPILER_GCC ) && !defined( EE_ARM ) && EE_PLATFORM != EE_PLATFORM_EMSCRIPTEN && \
|
||||
EE_PLATFORM != EE_PLATFORM_ANDROID && EE_PLATFORM != EE_PLATFORM_IOS
|
||||
asm( "int3" );
|
||||
#else
|
||||
assert( false );
|
||||
|
||||
@@ -4074,7 +4074,8 @@ EE_MAIN_FUNC int main( int argc, char* argv[] ) {
|
||||
args::Flag benchmarkMode( parser, "benchmark-mode",
|
||||
"Render as much as possible to measure the rendering performance.",
|
||||
{ "benchmark-mode" } );
|
||||
|
||||
args::Flag verbose( parser, "verbose", "Print all logs to the standard output.",
|
||||
{ 'v', "verbose" } );
|
||||
try {
|
||||
#if EE_PLATFORM != EE_PLATFORM_EMSCRIPTEN
|
||||
parser.ParseCLI( argc, argv );
|
||||
@@ -4094,6 +4095,9 @@ EE_MAIN_FUNC int main( int argc, char* argv[] ) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if ( verbose.Get() )
|
||||
Log::instance()->setConsoleOutput( true );
|
||||
|
||||
appInstance = eeNew( App, () );
|
||||
appInstance->init( logLevel.Get(), filePos ? filePos.Get() : file.Get(),
|
||||
pixelDenstiyConf ? pixelDenstiyConf.Get() : 0.f,
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
using namespace EE;
|
||||
|
||||
#define ECODE_MAJOR_VERSION 0
|
||||
#define ECODE_MINOR_VERSION 3
|
||||
#define ECODE_PATCH_LEVEL 1
|
||||
#define ECODE_CODENAME "Mūlādhāra"
|
||||
#define ECODE_MINOR_VERSION 4
|
||||
#define ECODE_PATCH_LEVEL 0
|
||||
#define ECODE_CODENAME "Vajra"
|
||||
|
||||
/** The compiled version of the library */
|
||||
#define ECODE_VERSION( x ) \
|
||||
|
||||
Reference in New Issue
Block a user