2021-07-15 10:19:39 -04:00
|
|
|
add_custom_target(libcxx-generate-feature-test-macros
|
|
|
|
COMMAND "${Python3_EXECUTABLE}" "${LIBCXX_SOURCE_DIR}/utils/generate_feature_test_macro_components.py"
|
|
|
|
COMMENT "Generate the <version> header and tests for feature test macros.")
|
|
|
|
|
2023-08-17 17:49:34 +02:00
|
|
|
add_custom_target(libcxx-generate-std-cppm-in-file
|
2023-12-09 13:51:50 +01:00
|
|
|
COMMAND
|
|
|
|
"${Python3_EXECUTABLE}"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/utils/generate_libcxx_cppm_in.py"
|
|
|
|
"std"
|
2023-08-17 17:49:34 +02:00
|
|
|
COMMENT "Generate the std.cppm.in file")
|
|
|
|
|
2023-12-09 13:51:50 +01:00
|
|
|
add_custom_target(libcxx-generate-std-compat-cppm-in-file
|
|
|
|
COMMAND
|
|
|
|
"${Python3_EXECUTABLE}"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/utils/generate_libcxx_cppm_in.py"
|
|
|
|
"std.compat"
|
|
|
|
COMMENT "Generate the std.compat.cppm.in file")
|
|
|
|
|
2022-07-13 19:24:12 +02:00
|
|
|
add_custom_target(libcxx-generate-extended-grapheme-cluster-tables
|
|
|
|
COMMAND
|
|
|
|
"${Python3_EXECUTABLE}"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/utils/generate_extended_grapheme_cluster_table.py"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/include/__format/extended_grapheme_cluster_table.h"
|
|
|
|
COMMENT "Generate the extended grapheme cluster header.")
|
|
|
|
|
|
|
|
add_custom_target(libcxx-generate-extended-grapheme-cluster-tests
|
|
|
|
COMMAND
|
|
|
|
"${Python3_EXECUTABLE}"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/utils/generate_extended_grapheme_cluster_test.py"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/test/libcxx/utilities/format/format.string/format.string.std/extended_grapheme_cluster.h"
|
|
|
|
COMMENT "Generate the extended grapheme cluster header.")
|
|
|
|
|
2022-05-05 08:03:58 +02:00
|
|
|
add_custom_target(libcxx-generate-escaped-output-table
|
|
|
|
COMMAND
|
|
|
|
"${Python3_EXECUTABLE}"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/utils/generate_escaped_output_table.py"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/include/__format/escaped_output_table.h"
|
|
|
|
COMMENT "Generate the escaped output header")
|
|
|
|
|
2023-02-21 17:33:56 +01:00
|
|
|
add_custom_target(libcxx-generate-width-estimation-table
|
|
|
|
COMMAND
|
|
|
|
"${Python3_EXECUTABLE}"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/utils/generate_width_estimation_table.py"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/include/__format/width_estimation_table.h"
|
|
|
|
COMMENT "Generate the width estimation header")
|
|
|
|
|
2024-04-09 19:20:06 +02:00
|
|
|
add_custom_target(libcxx-indic-conjunct-break-table
|
|
|
|
COMMAND
|
|
|
|
"${Python3_EXECUTABLE}"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/utils/generate_indic_conjunct_break_table.py"
|
|
|
|
"${LIBCXX_SOURCE_DIR}/include/__format/indic_conjunct_break_table.h"
|
|
|
|
COMMENT "Generate the Indic Conjunct Break header")
|
|
|
|
|
2021-07-15 10:19:39 -04:00
|
|
|
add_custom_target(libcxx-generate-files
|
2023-05-31 13:32:06 -07:00
|
|
|
DEPENDS libcxx-generate-feature-test-macros
|
2023-08-17 17:49:34 +02:00
|
|
|
libcxx-generate-std-cppm-in-file
|
2023-12-09 13:51:50 +01:00
|
|
|
libcxx-generate-std-compat-cppm-in-file
|
2022-07-13 19:24:12 +02:00
|
|
|
libcxx-generate-extended-grapheme-cluster-tables
|
|
|
|
libcxx-generate-extended-grapheme-cluster-tests
|
2022-05-05 08:03:58 +02:00
|
|
|
libcxx-generate-escaped-output-table
|
2023-02-21 17:33:56 +01:00
|
|
|
libcxx-generate-width-estimation-table
|
2024-04-22 08:45:02 -04:00
|
|
|
libcxx-indic-conjunct-break-table
|
2021-07-15 10:19:39 -04:00
|
|
|
COMMENT "Create all the auto-generated files in libc++ and its tests.")
|