This repository contains a CMake/C++ PhysX "Hello World" code base using the Conan package manager. It has some predefined configurations for the JetBrains CLion IDE and can be used as a skeleton for new projects.
The PreLoad.cmake contains CMake commands to automatize the Conan dependencies installation.
All you need to do is to clone the repository
git clone git@github.com:Pacheco95/conan-project-example.git
and open it in CLion and let it sync the CMake project.
clion conan-project-example
It will generate directories like cmake-build-*
based on the preconfigured build profiles.
It will also autogenerate the Debug/Run profiles for you. Just hit the Run
button and things will happen.
- The
cmake_minimum_required
was set to(VERSION 3.0)
but fell free to adjust it to your needs. - Improvement Pull Requests are welcomed.
- This project was inspired on this awesome video: Developing C/C++ Projects with CLion IDE and Conan C/C++ Package Manager (old but gold)