Changeset 99 in pacpusframework for branches/2.0-beta1/cmake
- Timestamp:
- May 28, 2013, 5:55:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/cmake/PacpusUtilities.cmake
r89 r99 229 229 endif() 230 230 endfunction() 231 232 # ======================================== 233 # Get sub directories 234 # ======================================== 235 MACRO(SUBDIRLIST result curdir) 236 FILE(GLOB children RELATIVE ${curdir} ${curdir}/*) 237 SET(dirlist "") 238 FOREACH(child ${children}) 239 IF(IS_DIRECTORY ${curdir}/${child}) 240 SET(dirlist ${dirlist} ${child}) 241 ENDIF() 242 ENDFOREACH() 243 SET(${result} ${dirlist}) 244 ENDMACRO()
Note:
See TracChangeset
for help on using the changeset viewer.