Pablo Hernandez-Cerdan

Results 124 comments of Pablo Hernandez-Cerdan

If anybody wants to use CMake `FetchContent` or external projects, I have set the default branch in my fork to be this PR: https://github.com/phcerdan/PhysX

> Another thing, is `PhysX_DIR` required also to find the project from the install tree? If yes, probable the most idiomatic way to handle this case would be adding the...

The alias is missing then: try without the `PhysX::` namespace? Sorry, I am away from the computer to check it properly. EDIT: Your test project is untestable in Linux.

I have added an alias for all the targets with the namespace `PhysX::` on it.

> Presumably because I passed Release rather than release. I have commented on this up in this discussion: https://github.com/NVIDIAGameWorks/PhysX/pull/222#discussion_r345645091

@alanjfs I would love to, I asked a few months ago this question in the CMake discourse, but it wasn't clear to me. https://discourse.cmake.org/t/mapping-cmake-build-type-and-cmake-configuration-types-between-project-subdirectories/192 I hacked a way to restore...

You can use `ExternalProject_Add` to build all your dependencies and your own project, it's what in CMake is called a Superbuild. This Superbuild project builds all your dependencies, and lastly...

> I'm assuming this never got integrated ? You are right :eyes:

Why "resetting" would solve this problem? Try: ```cmake set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=nonnull -Wno-error=restrict") ```

+1 for Wayland compatibility. Right now it's not usable in Arch, installed using the AUR https://aur.archlinux.org/packages/gnome-shell-extension-shelltile-git/.