[Orxonox-commit 3393] r8080 - code/branches/kicklib/cmake/tools

rgrieder at orxonox.net rgrieder at orxonox.net
Wed Mar 16 05:28:30 CET 2011


Author: rgrieder
Date: 2011-03-16 05:28:30 +0100 (Wed, 16 Mar 2011)
New Revision: 8080

Modified:
   code/branches/kicklib/cmake/tools/TargetUtilities.cmake
Log:
Added another possible file extension for source files.
@Kevin: Is *.mm correct?

Modified: code/branches/kicklib/cmake/tools/TargetUtilities.cmake
===================================================================
--- code/branches/kicklib/cmake/tools/TargetUtilities.cmake	2011-03-15 20:47:11 UTC (rev 8079)
+++ code/branches/kicklib/cmake/tools/TargetUtilities.cmake	2011-03-16 04:28:30 UTC (rev 8080)
@@ -235,7 +235,7 @@
 
   # Don't compile header files
   FOREACH(_file ${_${_target_name}_files})
-    IF(NOT _file MATCHES "\\.(c|cc|cpp|cxx)$")
+    IF(NOT _file MATCHES "\\.(c|cc|cpp|cxx|mm)$")
       SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES HEADER_FILE_ONLY TRUE)
     ENDIF()
   ENDFOREACH(_file)




More information about the Orxonox-commit mailing list