ENDMACRO(CREA_DEFINE_WITH_VAL)
#-----------------------------------------------------------------------------
+#-----------------------------------------------------------------------------
+MACRO(CREA_DEFINE_OPERATING_SYSTEM )
+ IF(APPLE)
+ CREA_DEFINE(MACOSX)
+ ELSE(APPLE)
+ IF("${CMAKE_SYSTEM}" MATCHES "Linux")
+ CREA_DEFINE(LINUX)
+ ELSE("${CMAKE_SYSTEM}" MATCHES "Linux")
+ IF(WIN32)
+ CREA_DEFINE(WIN32)
+ ELSE(WIN32)
+ MESSAGE(FATAL_ERROR "${CMAKE_SYSTEM} unsupported ! Build at your own risks ! (remove this line from kernel/cmake/BBTKAddDefinitions.cmake)")
+ ENDIF(WIN32)
+ ENDIF("${CMAKE_SYSTEM}" MATCHES "Linux")
+ ENDIF(APPLE)
+ENDMACRO(CREA_DEFINE_OPERATING_SYSTEM)
+#-----------------------------------------------------------------------------
+
INCLUDE( ${CREA_CMAKE_DIR}/CREAMacro_Define.cmake)
#========================================================================
+CREA_DEFINE_OPERATING_SYSTEM()
+
#========================================================================
INCLUDE( ${CREA_CMAKE_DIR}/CREAMacro_FindAndUseLibraries.cmake)
#========================================================================