PROJECT(Orxonox) AUX_SOURCE_DIRECTORY(tinyxml TINYXML_SRC_FILES) SET (UTIL_SRC_FILES ${TINYXML_SRC_FILES} Math.cc String.cc substring.cc MultiTypePrimitive.cc MultiTypeString.cc MultiTypeMath.cc ) ADD_LIBRARY( util SHARED ${UTIL_SRC_FILES} ) SET_TARGET_PROPERTIES( util PROPERTIES LINK_FLAGS "--no-undefined" ) IF(TESTING_ENABLED) ADD_SUBDIRECTORY(testing) ENDIF(TESTING_ENABLED) TARGET_LINK_LIBRARIES( util ${OGRE_LIBRARIES} )