← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~davidagraf/zorba/allow_c_files into lp:zorba

 

David Graf has proposed merging lp:~davidagraf/zorba/allow_c_files into lp:zorba.

Requested reviews:
  Chris Hillery (ceej-launchpad)

For more details, see:
https://code.launchpad.net/~davidagraf/zorba/allow_c_files/+merge/77816

This change allows the usage of c files in external modules.
-- 
https://code.launchpad.net/~davidagraf/zorba/allow_c_files/+merge/77816
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'cmake_modules/ZorbaModule.cmake'
--- cmake_modules/ZorbaModule.cmake	2011-09-07 23:41:09 +0000
+++ cmake_modules/ZorbaModule.cmake	2011-10-02 09:08:28 +0000
@@ -213,7 +213,7 @@
         SET (_src_dir "${CMAKE_CURRENT_SOURCE_DIR}/${_src_dir}")
       ENDIF (NOT IS_ABSOLUTE "${_src_dir}")
       FILE(GLOB_RECURSE _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} 
-        "${_src_dir}/*.cpp")
+        "${_src_dir}/*.cpp" "${_src_dir}/*.c")
       LIST (APPEND SRC_FILES ${_srcs})
     ENDFOREACH (_src_dir)
 


Follow ups