ListFilesInDirectory.cmake 388 B

123456789
  1. # SPDX-FileCopyrightText: 2023 yuzu Emulator Project
  2. # SPDX-License-Identifier: GPL-2.0-or-later
  3. # CMake does not have a way to list the files in a specific directory,
  4. # so we need this script to do that for us in a platform-agnostic fashion
  5. file(GLOB FILE_LIST LIST_DIRECTORIES false RELATIVE ${CMAKE_SOURCE_DIR} "*")
  6. execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${FILE_LIST};")