Hide Unit Test Feature if USE_UNIT_TESTS is not defined

This commit is contained in:
Gaute Lindkvist 2018-12-19 14:40:36 +01:00
parent 975cd15c32
commit 708f24943b

View File

@ -31,7 +31,11 @@ CAF_CMD_SOURCE_INIT(RicLaunchUnitTestsFeature, "RicLaunchUnitTestsFeature");
//--------------------------------------------------------------------------------------------------
bool RicLaunchUnitTestsFeature::isCommandEnabled()
{
#ifdef USE_UNIT_TESTS
return true;
#else
return false;
#endif
}
//--------------------------------------------------------------------------------------------------