Commit Graph

18 Commits

Author SHA1 Message Date
MarcelPiNacy-CVC 592eb46f43
Propagate CMake generator to scikit-build-core. (#8110) 2024-09-04 16:59:01 +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
Marcel Pi c31b6fe032 Fix build order issue. 2024-04-09 16:47:09 +02:00
Marcel Pi 4212ff6701
Add wheel package generation. (#7334)
* Python package progress

* Remove unneeded POST_BUILD command.

* Switch to scikit-build-core (WIP)

* More changes boost::python-related changes.

* Add LICENSE copy, remove explicit reference to C/C++ compiler.

* Switch back to pure CMake build, using package data to include C++ extension binaries.

* Minor changes.

* Add fallback if PEP517 is unavailable.

* Integrate PythonAPI target in main build.

* Fix minor build order issue.

* Remove invalid option in setup.py.

* Address review comments.

* Switch finally to scikit-build-core for PythonAPI build/wheel and refactor CMake folder.

* Minor fix.

* Update gitignore.

* Minor change.

* Remove unused CarlaOptions include

* Add missing file copy.

* Add several Ubuntu-related changes.

* Update requirements.txt

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>

* Update CMake/Common.cmake

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>

---------

Co-authored-by: xavisolesoft <xavisolesoft@gmail.com>
2024-04-09 16:32:09 +02:00
Marcel Pi 22896c2c59 Revert back to symlinks for python API. Add prop_control.py 2024-03-18 14:36:30 +01:00
Marcel Pi 32c8aa4a68 Switch from PythonAPI symlink to hard copy temporarily. 2024-03-18 14:12:11 +01:00
Marcel Pi 908b1b306b Move PythonAPI agents folder up + very minor refactor. 2024-03-12 22:29:24 +01:00
Marcel Pi 8c14d9ff4c Minor changes, introduce options for -Wall and -Werror. 2024-03-12 13:04:01 +01:00
Marcel Pi ccb5d98d26 Add Linux Toolchain file. 2024-03-07 17:11:15 +01:00
Marcel Pi d72dd89db4 More Ubuntu build progress... 2024-03-06 17:20:13 +01:00
Marcel Pi 74d19eece2 Restructure PythonAPI folder layout + update copyright. 2024-02-26 17:09:02 +01:00
Marcel Pi 7b4e895ae6 Remove reference to find_carla.py.in 2024-02-22 17:39:48 +01:00
Marcel Pi b423fe06e2 Fix CMake PythonAPI build. Disable OSM2ODR and OSM World Renderer. 2024-02-20 16:34:31 +01:00
Marcel Pi aeaa621e3a More progress with pure CMake migration. 2024-02-06 21:47:29 +01:00
Marcel Pi 9179489b96 More progress... 2024-02-05 11:52:25 +01:00