Cdroid/apps/CMakeLists.txt
2023-09-18 11:27:10 +08:00

15 lines
313 B
CMake

SUBDIRLIST(APPDIRS ${CMAKE_CURRENT_SOURCE_DIR})
message("APPDIRS=${APPDIRS}")
IF(BUILD_EXAMPLES)
ADD_SUBDIRECTORY(samples)
ENDIF(BUILD_EXAMPLES)
IF(BUILD_APPS)
FOREACH(app ${APPDIRS})
IF(NOT ${app} STREQUAL "samples")
ADD_SUBDIRECTORY(${app})
ENDIF()
ENDFOREACH()
ENDIF(BUILD_APPS)