Fixed release build in Windows.

ecode pumped version, soon to be released.
This commit is contained in:
Martín Lucas Golini
2022-12-07 00:30:22 -03:00
parent 1a1e7f5b62
commit 4e61552126
4 changed files with 11 additions and 5 deletions

View File

@@ -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"

View File

@@ -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 );

View File

@@ -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,

View File

@@ -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 ) \