diff --git a/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/CMakeLists.txt b/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/CMakeLists.txt index 3231937f43..1108fc67e8 100644 --- a/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/CMakeLists.txt +++ b/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/CMakeLists.txt @@ -11,6 +11,7 @@ include_directories ( set( PROJECT_FILES + cafAssert.h cafAppEnum.h cafClassTypeName.h cafPdmBase.h diff --git a/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/cafAssert.h b/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/cafAssert.h new file mode 100644 index 0000000000..447dafe0cb --- /dev/null +++ b/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/cafAssert.h @@ -0,0 +1,15 @@ + + +#pragma once + +#ifdef NDEBUG +#undef NDEBUG +#include +#define NDEBUG +#else +#include +#endif + +#define CAF_ASSERT(expr) assert(expr) + +