This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Description
unable to convert bazel to cmake in apollo source code:https://github.com/ApolloAuto/apollo
it has both files BUILD and Workspace.
user@B45:~/apollo$ python /home/user/bazel-to-cmake/bazel_to_cmake.py CMakeLists.txt
Traceback (most recent call last):
File "/home/user/bazel-to-cmake/bazel_to_cmake.py", line 266, in
execfile("WORKSPACE", GetDict(WorkspaceFileFunctions(converter)))
NameError: name 'execfile' is not defined