Skip to content
Snippets Groups Projects
Commit 751ffb2c authored by Karsten Suehring's avatar Karsten Suehring
Browse files

Reduce compile time for VC

parent 4f5d5100
No related branches found
No related tags found
No related merge requests found
...@@ -579,6 +579,10 @@ static uint32_t getMaxSlicesByLevel( Level::Name level ) ...@@ -579,6 +579,10 @@ static uint32_t getMaxSlicesByLevel( Level::Name level )
\param argv array of arguments \param argv array of arguments
\retval true when success \retval true when success
*/ */
#if _MSC_VER > 1000
// Disable optimizations to avoid long compile times
#pragma optimize( "", off )
#endif
bool EncAppCfg::parseCfg( int argc, char* argv[] ) bool EncAppCfg::parseCfg( int argc, char* argv[] )
{ {
bool do_help = false; bool do_help = false;
...@@ -2537,6 +2541,9 @@ bool EncAppCfg::parseCfg( int argc, char* argv[] ) ...@@ -2537,6 +2541,9 @@ bool EncAppCfg::parseCfg( int argc, char* argv[] )
return true; return true;
} }
#if _MSC_VER > 1000
#pragma optimize( "", on )
#endif
// ==================================================================================================================== // ====================================================================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment