carla/Util/BuildTools/Linux.mk

90 lines
2.5 KiB
Makefile
Raw Normal View History

2018-07-04 17:59:59 +08:00
default: help
help:
@less ${CARLA_BUILD_TOOLS_FOLDER}/Linux.mk.help
2018-10-19 17:43:10 +08:00
launch: LibCarla.server
2018-07-04 17:59:59 +08:00
@${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.sh --build --launch
launch-only:
@${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.sh --launch
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"
clean:
@${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.sh --clean
@${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.sh --clean
@${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.sh --clean
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-22 16:47:32 +08:00
build-usercontent:
@${CARLA_BUILD_TOOLS_FOLDER}/BuildUserContentUE4.sh ${ARGS}
check: LibCarla PythonAPI
2018-10-19 17:43:10 +08:00
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --all $(ARGS)
check.LibCarla: LibCarla
2018-10-19 17:43:10 +08:00
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --libcarla-debug --libcarla-release $(ARGS)
check.LibCarla.debug: LibCarla
2018-10-19 17:43:10 +08:00
@${CARLA_BUILD_TOOLS_FOLDER}/Check.sh --libcarla-debug $(ARGS)
check.LibCarla.release: LibCarla
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)
benchmark: LibCarla.server
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
2018-10-19 17:43:10 +08:00
CarlaUE4Editor: LibCarla.server
2018-07-04 17:59:59 +08:00
@${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.sh --build
.PHONY: PythonAPI
2018-10-19 17:43:10 +08:00
PythonAPI: LibCarla.client
2018-10-16 01:41:51 +08:00
@${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.sh --py2 --py3
2018-07-04 17:59:59 +08:00
2018-10-19 17:43:10 +08:00
PythonAPI.2: LibCarla.client
@${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.sh --py2
PythonAPI.3: LibCarla.client
@${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.sh --py3
2018-07-04 17:59:59 +08:00
.PHONY: LibCarla
2018-10-19 17:43:10 +08:00
LibCarla: LibCarla.server LibCarla.client
LibCarla.server: setup
@${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.sh --server
LibCarla.client: setup
@${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.sh --client
2018-07-04 17:59:59 +08:00
setup:
@${CARLA_BUILD_TOOLS_FOLDER}/Setup.sh
pretty:
@${CARLA_BUILD_TOOLS_FOLDER}/Prettify.sh $(ARGS)