### If you want to edit this, copy it from cmake/share to cmake. It will be
### picked up in preference over the one in cmake/share. And it will not get
### clobbered with the next upgrade.

if( NOT __COMPILER_FLAGS_OBJC_CMAKE__)
   set( __COMPILER_FLAGS_OBJC_CMAKE__ ON)

   if( MULLE_TRACE_INCLUDE)
      message( STATUS "# Include \"${CMAKE_CURRENT_LIST_FILE}\"" )
   endif()

   set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OTHER_OBJC_FLAGS} ${UNWANTED_OBJC_WARNINGS}")
   set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OTHER_OBJC_FLAGS} ${UNWANTED_OBJC_WARNINGS}")

   if( CMAKE_BUILD_TYPE)
      if( NOT TMP_CONFIGURATION_NAME STREQUAL "DEBUG")
         add_definitions( "-DNS_BLOCK_ASSERTIONS" )
      endif()
   endif()
endif()


# extension : mulle-objc/objc-cmake
# directory : project/all
# template  : .../CompilerFlagsObjC.cmake
# Suppress this comment with `export MULLE_SDE_GENERATE_FILE_COMMENTS=NO`
