Open xavisolesoft opened 2 months ago
I agree, we also should explicitly handle the case of installing with CMake.
Add the end we need to include some of the headers included here to CARLA UE5 plugin: https://github.com/carla-simulator/carla/blob/ue5-dev/Unreal/CarlaUnreal/Plugins/Carla/Source/Carla/Carla.Build.cs#L128
I agree, we also should explicitly handle the case of installing with CMake.
You mean installing the CARLA C++ client with all the headers to be able to distribute it out of the box of CARLA? It could make sense for CARLA Release, to prevent the customers to download and build all CARLA to implement a C++ client application.
Problem
Currently, we do not have any example about how to link CARLA C++ client with a C++ application. I have tried to do it by my self quickly but was not trivial as after adding all the next header files I was still having build issues:
Proposed solution
My proposal is to create some cmake file that can be included to any C++ project if possible; and anyway create a sample project about how to link with CARLA C++ client.