2021-07-15 22:19:39 +08:00
|
|
|
|
|
|
|
add_custom_target(libcxx-generate-public-header-transitive-inclusion-tests
|
|
|
|
COMMAND "${Python3_EXECUTABLE}" "${LIBCXX_SOURCE_DIR}/utils/generate_header_inclusion_tests.py"
|
|
|
|
COMMENT "Generate tests checking for mandated transitive includes in public headers.")
|
|
|
|
|
|
|
|
add_custom_target(libcxx-generate-public-header-tests
|
|
|
|
COMMAND "${Python3_EXECUTABLE}" "${LIBCXX_SOURCE_DIR}/utils/generate_header_tests.py"
|
|
|
|
COMMENT "Generate tests for including public headers.")
|
|
|
|
|
|
|
|
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.")
|
|
|
|
|
2021-07-14 03:44:07 +08:00
|
|
|
add_custom_target(libcxx-generate-private-header-tests
|
|
|
|
COMMAND "${Python3_EXECUTABLE}" "${LIBCXX_SOURCE_DIR}/utils/generate_private_header_tests.py"
|
2021-07-30 02:17:04 +08:00
|
|
|
COMMENT "Generate tests for ensuring that detail headers are private.")
|
2021-07-14 03:44:07 +08:00
|
|
|
|
2021-07-15 22:19:39 +08:00
|
|
|
add_custom_target(libcxx-generate-files
|
|
|
|
DEPENDS libcxx-generate-public-header-transitive-inclusion-tests
|
|
|
|
libcxx-generate-public-header-tests
|
|
|
|
libcxx-generate-feature-test-macros
|
2021-07-14 03:44:07 +08:00
|
|
|
libcxx-generate-private-header-tests
|
2021-07-15 22:19:39 +08:00
|
|
|
COMMENT "Create all the auto-generated files in libc++ and its tests.")
|