Cdroid/apps/CMakeLists.txt

15 lines
313 B
CMake
Raw Normal View History

2023-06-02 21:16:49 +08:00
SUBDIRLIST(APPDIRS ${CMAKE_CURRENT_SOURCE_DIR})
message("APPDIRS=${APPDIRS}")
2023-04-12 17:58:19 +08:00
2023-09-18 11:27:10 +08:00
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)