From bb4429a4a19942c6d69b81bbc8bf77944a269e0d Mon Sep 17 00:00:00 2001 From: bloeys Date: Tue, 6 Dec 2022 22:30:08 +0400 Subject: [PATCH] Disable building snippets --- .github/workflows/build-physx.yml | 10 +++++----- mac64.xml | 13 +++++++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100755 mac64.xml diff --git a/.github/workflows/build-physx.yml b/.github/workflows/build-physx.yml index 8c23b1f..6984ece 100644 --- a/.github/workflows/build-physx.yml +++ b/.github/workflows/build-physx.yml @@ -10,17 +10,17 @@ jobs: - name: Clone PhysX 4.1 run: git clone -b 4.1 https://github.com/NVIDIAGameWorks/PhysX + # Added: -Wno-alloca and -Wno-anon-enum-enum-conversion - name: Copy fixed CMakeLists - #Added: -Wno-alloca and -Wno-anon-enum-enum-conversion run: git clone https://github.com/bloeys/physx-builder && cp ./physx-builder/macCMakeLists.txt ./PhysX/physx/source/compiler/cmake/mac/CMakeLists.txt + + - name: Disable building snippets + run: cp ./physx-builder/mac64.xml ./PhysX/physx/buildtools/presets/public/mac64.xml - name: Generate xcode project working-directory: ./PhysX/physx - run: ./generate_projects.sh mac64 #'mac64' is from the buildtools/presets folder + run: ./generate_projects.sh mac64 # 'mac64' is from the buildtools/presets folder - - name: Check compiler folder 2 - run: ls -al ./PhysX/physx/compiler/mac64 - - name: Build PhysX Checked working-directory: ./PhysX/physx/compiler/mac64 run: xcodebuild -project PhysXSDK.xcodeproj -alltargets -configuration checked diff --git a/mac64.xml b/mac64.xml new file mode 100755 index 0000000..9bd7fa5 --- /dev/null +++ b/mac64.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file