2018-07-04 17:59:59 +08:00
|
|
|
default: help
|
|
|
|
|
|
|
|
help:
|
|
|
|
@less ${CARLA_BUILD_TOOLS_FOLDER}/Linux.mk.help
|
|
|
|
|
2019-03-13 21:57:44 +08:00
|
|
|
launch: LibCarla.server.release
|
2019-03-29 04:11:15 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.sh --build --launch $(ARGS)
|
2018-07-04 17:59:59 +08:00
|
|
|
|
|
|
|
launch-only:
|
2019-03-29 04:11:15 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.sh --launch $(ARGS)
|
2018-07-04 17:59:59 +08:00
|
|
|
|
2019-07-01 17:47:32 +08:00
|
|
|
import: CarlaUE4Editor
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Import.py $(ARGS)
|
|
|
|
|
2018-07-04 17:59:59 +08:00
|
|
|
package: CarlaUE4Editor PythonAPI
|
2018-12-11 23:35:34 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Package.sh $(ARGS)
|
2018-07-04 17:59:59 +08:00
|
|
|
|
|
|
|
docs:
|
|
|
|
@doxygen
|
|
|
|
@echo "Documentation index at ./Doxygen/html/index.html"
|
|
|
|
|
2019-03-15 20:04:18 +08:00
|
|
|
clean.LibCarla:
|
2018-07-04 17:59:59 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.sh --clean
|
2019-03-15 20:04:18 +08:00
|
|
|
clean.PythonAPI:
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.sh --clean
|
|
|
|
clean.CarlaUE4Editor:
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.sh --clean
|
|
|
|
clean: clean.CarlaUE4Editor clean.PythonAPI clean.LibCarla
|
2018-07-04 17:59:59 +08:00
|
|
|
|
|
|
|
rebuild: setup
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.sh --rebuild
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.sh --rebuild
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.sh --rebuild
|
|
|
|
|
2018-10-27 19:21:35 +08:00
|
|
|
hard-clean:
|
2018-07-04 17:59:59 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.sh --hard-clean
|
2018-10-27 19:21:35 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.sh --clean
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.sh --clean
|
|
|
|
@echo "To force recompiling dependencies run: rm -Rf ${CARLA_BUILD_FOLDER}"
|
2018-07-04 17:59:59 +08:00
|
|
|
|
2019-01-27 00:27:14 +08:00
|
|
|
check: LibCarla PythonAPI
|
2018-10-19 17:43:10 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --all $(ARGS)
|
|
|
|
|
2019-01-27 00:27:14 +08:00
|
|
|
check.LibCarla: LibCarla
|
2018-10-19 17:43:10 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --libcarla-debug --libcarla-release $(ARGS)
|
|
|
|
|
2019-03-13 21:57:44 +08:00
|
|
|
check.LibCarla.debug: LibCarla.debug
|
2018-10-19 17:43:10 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --libcarla-debug $(ARGS)
|
|
|
|
|
2019-03-13 21:57:44 +08:00
|
|
|
check.LibCarla.release: LibCarla.release
|
2018-10-19 17:43:10 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --libcarla-release $(ARGS)
|
|
|
|
|
|
|
|
check.PythonAPI: PythonAPI
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --python-api-2 --python-api-3 $(ARGS)
|
|
|
|
|
|
|
|
check.PythonAPI.2: PythonAPI.2
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --python-api-2 $(ARGS)
|
2018-07-04 17:59:59 +08:00
|
|
|
|
2018-10-19 17:43:10 +08:00
|
|
|
check.PythonAPI.3: PythonAPI.3
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --python-api-3 $(ARGS)
|
|
|
|
|
2019-10-07 22:30:51 +08:00
|
|
|
.PHONY: TrafficManager
|
|
|
|
TrafficManager: LibCarla.client.release
|
|
|
|
@rm -rf TrafficManager/build
|
|
|
|
@mkdir TrafficManager/build
|
|
|
|
@cd TrafficManager/build && cmake -DLIBCARLA_LOCATION=${LIBCARLA_ROOT_FOLDER} -DCARLA_LOCATION=${CARLA_ROOT_FOLDER} .. && make -j
|
|
|
|
|
2019-03-13 21:57:44 +08:00
|
|
|
benchmark: LibCarla.release
|
2018-12-11 23:35:34 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --benchmark $(ARGS)
|
2018-07-04 17:59:59 +08:00
|
|
|
@cat profiler.csv
|
|
|
|
|
2019-03-08 21:41:23 +08:00
|
|
|
smoke_tests:
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --smoke-2 --smoke-3 $(ARGS)
|
|
|
|
|
2019-04-16 20:09:55 +08:00
|
|
|
examples:
|
|
|
|
@for D in ${CARLA_EXAMPLES_FOLDER}/*; do [ -d "$${D}" ] && make -C $${D} build; done
|
|
|
|
|
|
|
|
run-examples:
|
|
|
|
@for D in ${CARLA_EXAMPLES_FOLDER}/*; do [ -d "$${D}" ] && make -C $${D} run; done
|
|
|
|
|
2019-03-13 21:57:44 +08:00
|
|
|
CarlaUE4Editor: LibCarla.server.release
|
2018-07-04 17:59:59 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.sh --build
|
|
|
|
|
|
|
|
.PHONY: PythonAPI
|
2019-03-13 21:57:44 +08:00
|
|
|
PythonAPI: LibCarla.client.release
|
2018-10-16 01:41:51 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.sh --py2 --py3
|
2018-07-04 17:59:59 +08:00
|
|
|
|
2019-03-13 21:57:44 +08:00
|
|
|
PythonAPI.2: LibCarla.client.release
|
2018-10-19 17:43:10 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.sh --py2
|
|
|
|
|
2019-03-13 21:57:44 +08:00
|
|
|
PythonAPI.3: LibCarla.client.release
|
2018-10-19 17:43:10 +08:00
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.sh --py3
|
|
|
|
|
2019-05-22 00:42:25 +08:00
|
|
|
PythonAPI.docs:
|
|
|
|
@python PythonAPI/docs/doc_gen.py
|
2019-11-15 23:47:35 +08:00
|
|
|
@cd PythonAPI/docs && python3 bp_doc_gen.py
|
2019-05-22 00:42:25 +08:00
|
|
|
|
2018-07-04 17:59:59 +08:00
|
|
|
.PHONY: LibCarla
|
2019-03-18 22:49:09 +08:00
|
|
|
LibCarla: LibCarla.release LibCarla.debug
|
2018-10-19 17:43:10 +08:00
|
|
|
|
2019-03-13 21:57:44 +08:00
|
|
|
LibCarla.debug: LibCarla.server.debug LibCarla.client.debug
|
|
|
|
LibCarla.release: LibCarla.server.release LibCarla.client.release
|
2018-10-19 17:43:10 +08:00
|
|
|
|
2019-03-13 21:57:44 +08:00
|
|
|
LibCarla.server: LibCarla.server.debug LibCarla.server.release
|
|
|
|
LibCarla.server.debug: setup
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.sh --server --debug
|
|
|
|
LibCarla.server.release: setup
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.sh --server --release
|
|
|
|
|
|
|
|
LibCarla.client: LibCarla.client.debug LibCarla.client.release
|
|
|
|
LibCarla.client.debug: setup
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.sh --client --debug
|
|
|
|
LibCarla.client.release: setup
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.sh --client --release
|
2018-07-04 17:59:59 +08:00
|
|
|
|
|
|
|
setup:
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Setup.sh
|
|
|
|
|
2019-05-03 01:58:03 +08:00
|
|
|
deploy:
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Deploy.sh $(ARGS)
|
|
|
|
|
2018-07-04 17:59:59 +08:00
|
|
|
pretty:
|
|
|
|
@${CARLA_BUILD_TOOLS_FOLDER}/Prettify.sh $(ARGS)
|