diff --git a/package/ci/circleci.yml b/package/ci/circleci.yml index 90de9a0..a9b2194 100644 --- a/package/ci/circleci.yml +++ b/package/ci/circleci.yml @@ -394,7 +394,11 @@ jobs: macos-gl: executor: xcode-14_3 environment: - CMAKE_CXX_FLAGS: --coverage + # Make libc++ remove transitive includes, both for faster build times and + # to detect if we're missing a transitive include. Works with libc++ 16+, + # which is used by Xcode 15 (i.e., will get used on the next CircleCI + # executor update). + CMAKE_CXX_FLAGS: --coverage -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES PLATFORM_GL_API: CGL steps: - install-base-macos: @@ -410,7 +414,11 @@ jobs: macos-gles3: executor: xcode-14_3 environment: - CMAKE_CXX_FLAGS: --coverage + # Make libc++ remove transitive includes, both for faster build times and + # to detect if we're missing a transitive include. Works with libc++ 16+, + # which is used by Xcode 15 (i.e., will get used on the next CircleCI + # executor update). + CMAKE_CXX_FLAGS: --coverage -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES PLATFORM_GL_API: EGL # STUPID yml interprets unquoted OFF as a boolean TARGET_GLES2: "OFF" @@ -432,7 +440,11 @@ jobs: environment: # STUPID yml interprets unquoted ON as a boolean BUILD_STATIC: "ON" - CMAKE_CXX_FLAGS: --coverage + # Make libc++ remove transitive includes, both for faster build times and + # to detect if we're missing a transitive include. Works with libc++ 16+, + # which is used by Xcode 15 (i.e., will get used on the next CircleCI + # executor update). + CMAKE_CXX_FLAGS: --coverage -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES PLATFORM_GL_API: CGL steps: - install-base-macos: