diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-03 13:18:51 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-05 15:15:22 -0400 |
commit | 73036c83a3805e5a0460cd5871743c88fe9405a5 (patch) | |
tree | c2f6e12af6ddeb38fd06f8549517a30ed0b4c7b7 /externals/nx_tzdb/ListFilesInDirectory.cmake | |
parent | a40e0fdf9e287d962108731ebb515ee0fa4ee155 (diff) |
nx_tzdb: Create headers from downloaded system archive data
Use lat9nq/tzdb_to_nx release data to generate header files.
nx_tzdb: Use an interface library
nx_tzdb: Gate download if achive not exists
nx_tzdb: Fix header generator brace closing
nx_tzdb: Add base directory files
nx_tzdb: Add SPDX info
Diffstat (limited to 'externals/nx_tzdb/ListFilesInDirectory.cmake')
-rw-r--r-- | externals/nx_tzdb/ListFilesInDirectory.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/externals/nx_tzdb/ListFilesInDirectory.cmake b/externals/nx_tzdb/ListFilesInDirectory.cmake new file mode 100644 index 000000000..35a9e726a --- /dev/null +++ b/externals/nx_tzdb/ListFilesInDirectory.cmake @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-License-Identifier: GPL-2.0-or-later + +# CMake does not have a way to list the files in a specific directory, +# so we need this script to do that for us in a platform-agnostic fashion + +file(GLOB FILE_LIST LIST_DIRECTORIES false RELATIVE ${CMAKE_SOURCE_DIR} "*") +execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${FILE_LIST};") |