Changeset 99 in pacpusframework for branches/2.0-beta1/cmake


Ignore:
Timestamp:
May 28, 2013, 5:55:14 PM (11 years ago)
Author:
morasjul
Message:

Add function Geodesie::yprenuToMatrix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/cmake/PacpusUtilities.cmake

    r89 r99  
    229229    endif()
    230230endfunction()
     231
     232# ========================================
     233# Get sub directories
     234# ========================================
     235MACRO(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})
     244ENDMACRO()
Note: See TracChangeset for help on using the changeset viewer.