Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F27036466
AddCMakeTools.cmake
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
Unknown
Size
558 B
Referenced Files
None
Subscribers
None
AddCMakeTools.cmake
View Options
# Stores a list of subdirectories of directory ${curdir} into result.
macro
(
SUBDIRLIST
result
curdir
)
file
(
GLOB
children
RELATIVE
${
curdir
}
${
curdir
}
/*
)
set
(
dirlist
""
)
foreach
(
child
${
children
}
)
if
(
IS_DIRECTORY
${
curdir
}
/
${
child
}
)
list
(
APPEND
dirlist
${
child
}
)
endif
()
endforeach
()
set
(
${
result
}
${
dirlist
}
)
endmacro
()
# Adds all subdirs of the current list directory.
macro
(
ADDALLSUBDIRS
)
SUBDIRLIST
(
subdirs
${
CMAKE_CURRENT_SOURCE_DIR
}
)
foreach
(
subdir
${
subdirs
}
)
add_subdirectory
(
${
subdir
}
)
endforeach
()
endmacro
()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 27, 7:58 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
407022
Default Alt Text
AddCMakeTools.cmake (558 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline