Commit Graph

60 Commits

Author SHA1 Message Date
MarcelPiNacy-CVC 0bbd239b1a
CMake refactor (#8168)
* Add option VERBOSE_CONFIGURE + several other minor tweaks.

* Minor refactor and expose version option variables for ROS2 build.

* Remove unneeded option BUILD_PYTHON_API_WHEEL_PACKAGE.

* Make cmake_minimum_required uniform + fix potential linker error.

* Revert ROS2 configure.
2024-09-19 17:35:18 +02:00
MarcelPiNacy-CVC 8482279a33
Fix package dependency issues (carla-unreal-editor & RecastBuilder). (#8156) 2024-09-18 14:49:14 +02:00
Marcel Pi c00d44d2dc Multiple minor fixes related to build and docs. 2024-09-12 16:58:37 +02:00
Blyron 0327df1fd5
aaron/cmakecleanupdate (#7685) 2024-05-22 15:22:45 +01:00
PabloVD e1cfe639fc Add Ros2 demo flags for cmake 2024-05-21 19:49:59 +02:00
LuisPoveda 678e8b48c0 added cmake target
added definition in buildcarla
added defines to avoid compile demo in ros
2024-05-21 19:49:59 +02:00
MarcelPiNacy-CVC 9f4c8422a8
Add functions and macros to aid in documentation and general usability. (#7639)
* Introduce the macros carla_add_executable, carla_add_library, carla_add_custom_target and introduce help dialog and help file generation.

* Remove semicolon on output.

* Switch from using configure time logic to a target "carla-help".

* Remove GCC_COMPILER option.

* Check PACKAGE_CONFIGURATION for empty.

* Revert to add_library for carla-ros2-native ExternalProject.

* Add function carla_add_target_docs and document "clean".

* Minor fix (missing names).

---------

Co-authored-by: Marcel Pi <25649656+MarcelPiNacy@users.noreply.github.com>
Co-authored-by: Marcel Pi <marcelpi97@gmail.com>
2024-05-15 17:50:06 +02:00
Xavier Solé Nogués 08c06a01df
Revert "Introduce several helper macros and utilities for improved usability.…" (#7635)
This reverts commit 321082ed0b.

Co-authored-by: Marcel Pi <marcelpi97@gmail.com>
2024-05-13 11:45:53 +02:00
MarcelPiNacy-CVC 321082ed0b
Introduce several helper macros and utilities for improved usability. (#7609)
* Introduce the macros carla_add_executable, carla_add_library, carla_add_custom_target and introduce help dialog and help file generation.

* Remove semicolon on output.

* Switch from using configure time logic to a target "carla-help".

* Remove GCC_COMPILER option.

* Check PACKAGE_CONFIGURATION for empty.

---------

Co-authored-by: Marcel Pi <25649656+MarcelPiNacy@users.noreply.github.com>
Co-authored-by: Marcel Pi <marcelpi97@gmail.com>
2024-05-13 09:47:15 +02:00
xavisolesoft 12f6230799 Prevent build python api whe launching the editor 2024-04-26 14:27:51 +02:00
Aaron Samaniego 25a808c799 Remove also PythonAPI 2024-04-22 16:51:55 +02:00
Aaron Samaniego e09ec77050 Add directories to be deleted by the --target clean 2024-04-22 16:51:55 +02:00
Xavier Solé Nogués b85edc6b95
Generate carla package version file (#7470)
* First implementation

* Small fixes
2024-04-19 11:21:21 +02:00
Xavier Solé Nogués 7162db8761
Implement package generation. for windows (#7427)
* Implement package generation for windows

* Prevent unreal editor to ve launched when finish the package
2024-04-15 10:32:06 +02:00
Xavier Solé Nogués 87abea2c2a
Add Package build configuration target (#7408)
* Partial implementation

* Add Package configuration targets

* Remove debug comment

* Add the missing dash to the target name. Add target name to the .tar.gz name.

* Set properly the UE build configuration
2024-04-12 11:41:42 +02:00
Xavier Solé Nogués 7433f804a1
UE5: Pacakge copy python wheel (#7345)
* Pacakge copy wheel

* Update PythonAPI/carla/requirements.txt
2024-04-10 09:15:27 +02:00
Xavier Solé Nogués 9e19de95f6
Ubuntu: Generate package tar (#7333)
* Ubuntu: Generate package tar

* Fix carla package path

* Use Unreal package generator format for the message and remove Manifest_DebugFiles_Linux.txt

* Set correct working path for tar command

* Copy PythonAPI .so into examples folder

* Set properly the name of carla.so file

* Revert undesired debug changes
2024-04-08 15:13:29 +02:00
Xavier Solé Nogués 7aa941a900
Fix package generation command (#7320) 2024-04-03 15:07:34 +02:00
Marcel Pi a4bee08959
Update CMakeLists.txt (#7314) 2024-04-02 13:17:53 +02:00
Marcel Pi 6150720de2
Cmake add package target (#7289)
Add package target

---------

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-04-02 11:05:55 +01:00
Marcel Pi 2c7737a1ef
Remove boost::numpy (#7300)
* Remove out boost::numpy.

---------

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-03-27 11:39:26 +01:00
Marcel Pi 9bc6e1cce1
Add check for CarlaUnreal Content presence. (#7294)
* Add check for CarlaUnreal Content presence. Remove check for Release build and instead guard against Debug build.

---------

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
2024-03-26 13:55:35 +00:00
Marcel Pi d07a623c9c
Fix additional issues with escape characters in carla_string_option. (#7293)
* Fix string option escape character errors.

* Additional string option escape character fixes.

* Minor formatting change.

* More fixes.

* Revert back to file copy for *.def.

* Fix build order issue related to carla-unreal-configure.

* Update CMakeLists.txt

* Update CMakeLists.txt

* Switch to using file(GENERATE ...)
2024-03-25 17:23:16 +01:00
Marcel Pi d215264cb6 Fix image sending issue + move EnqueueRenderSceneImmediate to PostPhysTick. 2024-03-21 11:06:40 +01:00
Marcel Pi a7fea2e360 Simplify UE targets. 2024-03-21 11:06:40 +01:00
Marcel Pi de5bca05c2 Update CMakeLists.txt 2024-03-21 11:06:40 +01:00
Marcel Pi d6b8fa3be6 Update CMakeLists.txt 2024-03-21 11:06:40 +01:00
Marcel Pi 47a115486a Update CMakeLists.txt 2024-03-21 11:06:40 +01:00
Marcel Pi c4e8ec3ed1 Update CMakeLists.txt 2024-03-21 11:06:40 +01:00
Marcel Pi 4b8b095bcd Minor build order fix. 2024-03-21 11:06:40 +01:00
Marcel Pi f2e477c118 Minor fix. 2024-03-21 11:06:40 +01:00
Marcel Pi 97fcc9873b Switch back to symlinks + minor refactor. 2024-03-20 12:16:14 +01:00
Marcel Pi 57223e7387 Fix incorrect dependency order when generating UE project files + other minor fixes. 2024-03-20 11:34:44 +01:00
Marcel Pi 521a8c3107 Minor formatting change. 2024-03-18 20:32:33 +01:00
Marcel Pi 1621521610 Add CppClient example to CMake build. 2024-03-18 20:20:02 +01:00
Marcel Pi dedb72d4e0
Update CMakeLists.txt 2024-03-18 10:49:06 +01:00
Marcel Pi 36a29194bb Several build order fixes, switch from boost "exclude" projects to "include". 2024-03-17 11:46:19 +01:00
Xavier Solé Nogués 17f9d28a45
Implement Carla Unreal build tool arguments (#7258) 2024-03-15 14:58:32 +00:00
Marcel Pi bb806ad0e3
Tweak *.Build.cs files to read .def files. (#7243)
* Tweak *.Build.cs files to read .def files instead of being configured by CMake.

* Add missing EOF.

* Minor fix.

* Fix PixelReader compile error and use copy instead of symlink for Includes & Libraries.def.

* Fix CarlaTools linker error.
2024-03-14 20:03:32 +01:00
Marcel Pi 3711979b0d
Reintroduce launch-only target. (#7250) 2024-03-14 19:08:12 +01:00
Xavier Solé Nogués 979b942ff5
Implement Cmake ros2 native external project (#7252)
* libcarla-ros2-native.so build and install working.

* Fixes and add Carla.Build.cs

* ROS2Native build system implemented for CMake

* Add g++/gcc option and remove Build path reference from Carla.build.cs

* Auto add ros2 target when ros2 and server is enabled

* Remove ROS2 from client

* Fix build when ROS2 is disabled.

* Clean up space

* Fix will error with ROS2 enabled

* Remove macro collision ROS2
2024-03-14 15:27:10 +00:00
Marcel Pi 3f85bde1ab Improve build logging. 2024-03-13 15:38:31 +01:00
Marcel Pi 1682c50957 Wait for Python API in launch target instead of Carla Unreal configure step. 2024-03-12 16:54:59 +01:00
Marcel Pi ca5310ffb2 Wait for Python API to be built before compiling Carla Unreal. 2024-03-12 16:50:08 +01:00
Marcel Pi 6725e66d0d Disable Wall by default and fix deprecation warning for std::atomic<std::shared_ptr<T>> 2024-03-12 15:05:13 +01:00
Marcel Pi 8c14d9ff4c Minor changes, introduce options for -Wall and -Werror. 2024-03-12 13:04:01 +01:00
Marcel Pi 60e1b9d7d4 Remove RPCLib from UE dependencies. 2024-03-12 11:25:00 +01:00
Marcel Pi 113f9d4bf2 Check dependencies when configuring UE. 2024-03-12 11:20:17 +01:00
Marcel Pi 8e70cfe0c6 Remove preference for Ninja for UE. 2024-03-12 11:01:37 +01:00
Marcel Pi 182ccbbc12 Multiple Windows-related fixes. 2024-03-11 12:30:24 +01:00