Disable building snippets
This commit is contained in:
10
.github/workflows/build-physx.yml
vendored
10
.github/workflows/build-physx.yml
vendored
@ -10,16 +10,16 @@ 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
|
||||
|
||||
- name: Check compiler folder 2
|
||||
run: ls -al ./PhysX/physx/compiler/mac64
|
||||
run: ./generate_projects.sh mac64 # 'mac64' is from the buildtools/presets folder
|
||||
|
||||
- name: Build PhysX Checked
|
||||
working-directory: ./PhysX/physx/compiler/mac64
|
||||
|
||||
13
mac64.xml
Executable file
13
mac64.xml
Executable file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<preset name="mac64" comment="macOS Xcode PhysX general settings">
|
||||
<platform targetPlatform="mac64" compiler="xcode" />
|
||||
<CMakeSwitches>
|
||||
<cmakeSwitch name="PX_BUILDSNIPPETS" value="False" comment="Generate the snippets" />
|
||||
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="True" comment="Generate static libraries" />
|
||||
<cmakeSwitch name="NV_FORCE_64BIT_SUFFIX" value="True" comment="Force a 64 bit suffix for platforms that don't register properly." />
|
||||
<cmakeSwitch name="NV_FORCE_32BIT_SUFFIX" value="False" comment="Force a 32 bit suffix for platforms that don't register properly." />
|
||||
</CMakeSwitches>
|
||||
<CMakeParams>
|
||||
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/mac64/PhysX" comment="Install path relative to PhysX SDK root" />
|
||||
</CMakeParams>
|
||||
</preset>
|
||||
Reference in New Issue
Block a user