You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
338 B
8 lines
338 B
file(GLOB EXAMPLE_LIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *)
|
|
foreach(EXAMPLE ${EXAMPLE_LIST})
|
|
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${EXAMPLE})
|
|
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${EXAMPLE}/CMakeLists.txt)
|
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${EXAMPLE})
|
|
endif()
|
|
endif()
|
|
endforeach()
|