2018-07-26 18:41:20 +08:00
|
|
|
ARGS=--all
|
|
|
|
|
|
|
|
default: help
|
|
|
|
|
2018-08-01 22:34:17 +08:00
|
|
|
# root of the project (makefile directory)
|
|
|
|
export ROOT_PATH=$(CURDIR)/
|
|
|
|
|
|
|
|
# dependecy install/build directory (rpclib, gtest, boost)
|
|
|
|
export INSTALLATION_DIR=$(ROOT_PATH)Build/
|
2018-07-27 22:16:58 +08:00
|
|
|
|
2018-07-26 18:41:20 +08:00
|
|
|
help:
|
2018-08-30 18:18:07 +08:00
|
|
|
@type "${CARLA_BUILD_TOOLS_FOLDER}\Windows.mk.help"
|
2018-07-26 18:41:20 +08:00
|
|
|
|
|
|
|
launch: LibCarla
|
2019-02-06 00:33:09 +08:00
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.bat" --launch
|
2018-07-26 18:41:20 +08:00
|
|
|
|
2018-08-24 20:58:46 +08:00
|
|
|
package: PythonAPI
|
2019-04-30 19:41:13 +08:00
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/Package.bat" --ue-version 4.22
|
2018-07-26 18:41:20 +08:00
|
|
|
|
|
|
|
docs:
|
2018-07-31 22:35:02 +08:00
|
|
|
@doxygen
|
|
|
|
@echo "Documentation index at ./Doxygen/html/index.html"
|
2018-07-26 18:41:20 +08:00
|
|
|
|
|
|
|
clean:
|
2019-04-30 19:41:13 +08:00
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/Package.bat" --clean --ue-version 4.22
|
2018-08-29 20:13:20 +08:00
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.bat" --clean
|
2018-08-24 20:58:46 +08:00
|
|
|
|
2018-08-29 20:13:20 +08:00
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.bat" --clean
|
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.bat" --clean
|
2018-07-26 18:41:20 +08:00
|
|
|
|
|
|
|
rebuild: setup
|
2019-02-12 19:27:28 +08:00
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildCarlaUE4.bat" --clean
|
2019-02-12 19:02:35 +08:00
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.bat" --rebuild
|
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.bat" --rebuild
|
2018-07-26 18:41:20 +08:00
|
|
|
|
|
|
|
check: PythonAPI
|
|
|
|
@echo "Not implemented!"
|
|
|
|
|
|
|
|
benchmark: LibCarla
|
|
|
|
@echo "Not implemented!"
|
|
|
|
|
|
|
|
.PHONY: PythonAPI
|
|
|
|
PythonAPI: LibCarla
|
2018-08-29 20:13:20 +08:00
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildPythonAPI.bat" --py3
|
2018-07-26 18:41:20 +08:00
|
|
|
|
2019-02-12 19:26:49 +08:00
|
|
|
server: setup
|
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.bat" --server
|
|
|
|
|
|
|
|
client: setup
|
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.bat" --client
|
|
|
|
|
2018-07-26 18:41:20 +08:00
|
|
|
.PHONY: LibCarla
|
|
|
|
LibCarla: setup
|
2018-08-29 20:13:20 +08:00
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/BuildLibCarla.bat" --server --client
|
2018-07-26 18:41:20 +08:00
|
|
|
|
|
|
|
setup:
|
2018-08-29 20:13:20 +08:00
|
|
|
@"${CARLA_BUILD_TOOLS_FOLDER}/Setup.bat" --boost-toolset msvc-14.1
|