Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
9d814abd4f |
73
LICENSE
@ -1,73 +0,0 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
||||
|
||||
Copyright 2025 Cx330_HomeWork
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
Before Width: | Height: | Size: 250 KiB |
Before Width: | Height: | Size: 331 KiB |
Before Width: | Height: | Size: 1.8 MiB |
Before Width: | Height: | Size: 255 KiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 219 KiB |
Before Width: | Height: | Size: 2.0 MiB |
206
README.md
@ -1,206 +0,0 @@
|
||||
# <p align="center">ROS_Learn</p>
|
||||
## 实验一
|
||||
### ROS-noetic安装,应用于Ubuntu20.04LTS<br>注:最好全程使用root权限
|
||||
切换ubuntu软件源并添加ROS源地址,访问清华源来提升下载速度。(最好提前备份以下文件避免操作失误无法恢复)
|
||||
```c
|
||||
sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
|
||||
```
|
||||
设置apt密钥。
|
||||
```c
|
||||
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
|
||||
```
|
||||
更新apt软件源。
|
||||
```c
|
||||
sudo apt update
|
||||
```
|
||||
安装ROS-noetic(适用于Ubuntu20.04Lts)。
|
||||
```c
|
||||
sudo apt install ros-noetic-desktop-full
|
||||
```
|
||||
配置ROS-noetic环境变量。
|
||||
```c
|
||||
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
|
||||
```
|
||||
安装ROS-python3工具包。
|
||||
```c
|
||||
sudo apt install python3-rosinstall python3-rosinstall-generator python3-wstool
|
||||
sudo apt install build-essential
|
||||
```
|
||||
环境配置检测,配置无误的话可无需运行。
|
||||
```c
|
||||
# 确保环境配置
|
||||
source /opt/ros/noetic/setup.bash
|
||||
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
# 确保ROS安装完整
|
||||
sudo apt install --reinstall ros-noetic-desktop-full
|
||||
# 检测roslaunch是否安装
|
||||
dpkg -l | grep ros-noetic-roslaunch
|
||||
# 若roslaunch以安装则无需执行下条命令
|
||||
sudo apt install ros-noetic-roslaunch
|
||||
```
|
||||
常用命令。
|
||||
```c
|
||||
# 将路径换为文件/文件夹路径,赋予文件/文件夹可执行权限
|
||||
chmod +x /路径
|
||||
# 将文件/文件夹可编辑权限赋予某用户
|
||||
sudo chown -R 用户名:用户名 /路径
|
||||
# 停止roscore命令
|
||||
ps aux | grep roscore
|
||||
kill -9 <PID>
|
||||
```
|
||||
启动roscore。
|
||||
```c
|
||||
roscore
|
||||
```
|
||||
启动小乌龟(新终端窗口打开)。
|
||||
```c
|
||||
rosrun turtlesim turtlesim_node
|
||||
```
|
||||
控制小乌龟(新新终端窗口打开)。
|
||||
```c
|
||||
rosrun turtlesim turtle_teleop_key
|
||||
```
|
||||
### 结果图
|
||||
终端运行结果:<br>
|
||||

|
||||
创建工作空间。
|
||||
```c
|
||||
mkdir -p src
|
||||
catkin_make
|
||||
```
|
||||
设置 ROS 环境变量。
|
||||
```c
|
||||
echo "source /文件夹路径/devel/setup.bash" >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
```
|
||||
进入 src 目录并创建功能包。
|
||||
```c
|
||||
cd src
|
||||
catkin_create_pkg Service rospy std_msgs geometry_msgs visualization_msgs message_generation
|
||||
```
|
||||
创建结构和放置文件。
|
||||
```c
|
||||
cd Service
|
||||
mkdir scripts
|
||||
mkdir srv
|
||||
```
|
||||
|
||||
## 实验二
|
||||
### ROS中话题通信
|
||||
编译工作空间。
|
||||
```c
|
||||
catkin_make
|
||||
```
|
||||
设置文件可执行权限。
|
||||
```c
|
||||
chmod +x /文件夹路径/程序名.py
|
||||
```
|
||||
添加环境变量(所有新终端窗口要执行下列命令)。
|
||||
```c
|
||||
source /文件夹路径/devel/setup.bash
|
||||
```
|
||||
启动roscore(终端A)。
|
||||
```c
|
||||
roscore
|
||||
```
|
||||
启动订阅端(终端B)。
|
||||
```c
|
||||
rosrun Topic_Newsletter Subscriber_TN.py
|
||||
```
|
||||
启动发送端(终端C)。
|
||||
```c
|
||||
rosrun Topic_Newsletter Publisher_TN.py
|
||||
```
|
||||
启动RViz(终端D)。
|
||||
```c
|
||||
rviz
|
||||
```
|
||||
将RViz左侧 Global Options 面板中 Fixed Frame 设为 map (默认无需修改)。<br>
|
||||
在 Displays 面板中,点击 Add,添加 Marker 类型。
|
||||
### 结果图
|
||||
终端运行数据结果:<br>
|
||||

|
||||
RViz图像:<br>
|
||||

|
||||
## 实验三
|
||||
### ROS中服务端和客户端
|
||||
编译工作空间。
|
||||
```c
|
||||
catkin_make
|
||||
```
|
||||
设置文件可执行权限。
|
||||
```c
|
||||
chmod +x /文件夹路径/程序名.py
|
||||
```
|
||||
添加环境变量。
|
||||
```c
|
||||
source /文件夹路径/devel/setup.bash
|
||||
```
|
||||
启动roscore(终端A)。
|
||||
```c
|
||||
roscore
|
||||
```
|
||||
启动服务端(终端B)。
|
||||
```c
|
||||
rosrun Service Service_S.py
|
||||
```
|
||||
启动订阅端(也是客户端)(终端C)。
|
||||
```c
|
||||
rosrun Service Subscriber_Client_S.py
|
||||
```
|
||||
启动发送端(终端D)。
|
||||
```c
|
||||
rosrun Service Publisher_S.py
|
||||
```
|
||||
启动RViz(终端F)。
|
||||
```c
|
||||
rviz
|
||||
```
|
||||
将RViz左侧 Global Options 面板中 Fixed Frame 改为程序中的 world 。<br>
|
||||
在 Displays 面板中,点击 Add,添加 Marker 类型。
|
||||
### 结果图
|
||||
终端运行数据结果:<br>
|
||||

|
||||
RViz图像:<br>
|
||||

|
||||
## 实验四
|
||||
### ROS中导航与路径规划
|
||||
更新源。
|
||||
```c
|
||||
sudo apt update
|
||||
```
|
||||
安装仿真模型包和自主导航包
|
||||
```c
|
||||
sudo apt install ros-noetic-turtlebot3 ros-noetic-turtlebot3-simulations ros-noetic-navigation
|
||||
```
|
||||
添加环境变量。
|
||||
```c
|
||||
echo "export TURTLEBOT3_MODEL=burger" >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
```
|
||||
启动roscore(终端A)。
|
||||
```c
|
||||
roscore
|
||||
```
|
||||
启动 TurtleBot3 的 Gazebo 仿真环境(终端B)。
|
||||
```c
|
||||
roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch
|
||||
```
|
||||
启动地图服务节点(终端C)。
|
||||
```c
|
||||
rosrun map_server map_server /home/zmn/下载/0113.yaml
|
||||
```
|
||||
启动 TurtleBot3 的导航系统并打开RViz显示(终端D)。
|
||||
```c
|
||||
roslaunch turtlebot3_navigation turtlebot3_navigation.launch map_file:=/home/zmn/下载/0113.yaml
|
||||
```
|
||||
在 RViz 中点击 2D Nav Goal 后在地图上选择终点目标。小车将开始自动导航自动到所选终点。
|
||||
### 结果图
|
||||
终端运行数据结果:<br>
|
||||

|
||||
RViz图像:<br>
|
||||

|
||||
## 小组成员
|
||||
张豪、祝令旭、程思凡、曾叶昊、张梦南<br>
|
||||
(排名不分先后)
|
@ -1,58 +0,0 @@
|
||||
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
|
||||
Change Dir: /home/zmn/Gitea/ROS_Learn/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_08a57/fast && /usr/bin/make -f CMakeFiles/cmTC_08a57.dir/build.make CMakeFiles/cmTC_08a57.dir/build
|
||||
make[1]: 进入目录“/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/CMakeTmp”
|
||||
Building C object CMakeFiles/cmTC_08a57.dir/src.c.o
|
||||
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_08a57.dir/src.c.o -c /home/zmn/Gitea/ROS_Learn/build/CMakeFiles/CMakeTmp/src.c
|
||||
Linking C executable cmTC_08a57
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_08a57.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -rdynamic CMakeFiles/cmTC_08a57.dir/src.c.o -o cmTC_08a57
|
||||
/usr/bin/ld: CMakeFiles/cmTC_08a57.dir/src.c.o: in function `main':
|
||||
src.c:(.text+0x46): undefined reference to `pthread_create'
|
||||
/usr/bin/ld: src.c:(.text+0x52): undefined reference to `pthread_detach'
|
||||
/usr/bin/ld: src.c:(.text+0x63): undefined reference to `pthread_join'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_08a57.dir/build.make:87:cmTC_08a57] 错误 1
|
||||
make[1]: 离开目录“/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/CMakeTmp”
|
||||
make: *** [Makefile:121:cmTC_08a57/fast] 错误 2
|
||||
|
||||
|
||||
Source file was:
|
||||
#include <pthread.h>
|
||||
|
||||
void* test_func(void* data)
|
||||
{
|
||||
return data;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
pthread_t thread;
|
||||
pthread_create(&thread, NULL, test_func, NULL);
|
||||
pthread_detach(thread);
|
||||
pthread_join(thread, NULL);
|
||||
pthread_atfork(NULL, NULL, NULL);
|
||||
pthread_exit(NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Determining if the function pthread_create exists in the pthreads failed with the following output:
|
||||
Change Dir: /home/zmn/Gitea/ROS_Learn/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_58d2a/fast && /usr/bin/make -f CMakeFiles/cmTC_58d2a.dir/build.make CMakeFiles/cmTC_58d2a.dir/build
|
||||
make[1]: 进入目录“/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/CMakeTmp”
|
||||
Building C object CMakeFiles/cmTC_58d2a.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_58d2a.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_58d2a
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_58d2a.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_58d2a.dir/CheckFunctionExists.c.o -o cmTC_58d2a -lpthreads
|
||||
/usr/bin/ld: 找不到 -lpthreads
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_58d2a.dir/build.make:87:cmTC_58d2a] 错误 1
|
||||
make[1]: 离开目录“/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/CMakeTmp”
|
||||
make: *** [Makefile:121:cmTC_58d2a/fast] 错误 2
|
||||
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
# Hashes of file build rules.
|
||||
c6ba44991d8cb5e5fdac3e7d8c16de3f CMakeFiles/clean_test_results
|
@ -1,385 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/zmn/Gitea/ROS_Learn/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/zmn/Gitea/ROS_Learn/build
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for the build root directory
|
||||
|
||||
# The main recursive "all" target.
|
||||
all: gtest/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# The main recursive "preinstall" target.
|
||||
preinstall: gtest/preinstall
|
||||
|
||||
.PHONY : preinstall
|
||||
|
||||
# The main recursive "clean" target.
|
||||
clean: CMakeFiles/doxygen.dir/clean
|
||||
clean: CMakeFiles/run_tests.dir/clean
|
||||
clean: CMakeFiles/clean_test_results.dir/clean
|
||||
clean: CMakeFiles/tests.dir/clean
|
||||
clean: CMakeFiles/download_extra_data.dir/clean
|
||||
clean: gtest/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory gtest
|
||||
|
||||
# Recursive "all" directory target.
|
||||
gtest/all: gtest/googlemock/all
|
||||
|
||||
.PHONY : gtest/all
|
||||
|
||||
# Recursive "preinstall" directory target.
|
||||
gtest/preinstall: gtest/googlemock/preinstall
|
||||
|
||||
.PHONY : gtest/preinstall
|
||||
|
||||
# Recursive "clean" directory target.
|
||||
gtest/clean: gtest/googlemock/clean
|
||||
|
||||
.PHONY : gtest/clean
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory gtest/googlemock
|
||||
|
||||
# Recursive "all" directory target.
|
||||
gtest/googlemock/all: gtest/googletest/all
|
||||
|
||||
.PHONY : gtest/googlemock/all
|
||||
|
||||
# Recursive "preinstall" directory target.
|
||||
gtest/googlemock/preinstall: gtest/googletest/preinstall
|
||||
|
||||
.PHONY : gtest/googlemock/preinstall
|
||||
|
||||
# Recursive "clean" directory target.
|
||||
gtest/googlemock/clean: gtest/googlemock/CMakeFiles/gmock_main.dir/clean
|
||||
gtest/googlemock/clean: gtest/googlemock/CMakeFiles/gmock.dir/clean
|
||||
gtest/googlemock/clean: gtest/googletest/clean
|
||||
|
||||
.PHONY : gtest/googlemock/clean
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory gtest/googletest
|
||||
|
||||
# Recursive "all" directory target.
|
||||
gtest/googletest/all:
|
||||
|
||||
.PHONY : gtest/googletest/all
|
||||
|
||||
# Recursive "preinstall" directory target.
|
||||
gtest/googletest/preinstall:
|
||||
|
||||
.PHONY : gtest/googletest/preinstall
|
||||
|
||||
# Recursive "clean" directory target.
|
||||
gtest/googletest/clean: gtest/googletest/CMakeFiles/gtest_main.dir/clean
|
||||
gtest/googletest/clean: gtest/googletest/CMakeFiles/gtest.dir/clean
|
||||
|
||||
.PHONY : gtest/googletest/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/doxygen.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/doxygen.dir/all:
|
||||
$(MAKE) -f CMakeFiles/doxygen.dir/build.make CMakeFiles/doxygen.dir/depend
|
||||
$(MAKE) -f CMakeFiles/doxygen.dir/build.make CMakeFiles/doxygen.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zmn/Gitea/ROS_Learn/build/CMakeFiles --progress-num= "Built target doxygen"
|
||||
.PHONY : CMakeFiles/doxygen.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/doxygen.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/doxygen.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/doxygen.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
doxygen: CMakeFiles/doxygen.dir/rule
|
||||
|
||||
.PHONY : doxygen
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/doxygen.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/doxygen.dir/build.make CMakeFiles/doxygen.dir/clean
|
||||
.PHONY : CMakeFiles/doxygen.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/run_tests.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/run_tests.dir/all:
|
||||
$(MAKE) -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/depend
|
||||
$(MAKE) -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zmn/Gitea/ROS_Learn/build/CMakeFiles --progress-num= "Built target run_tests"
|
||||
.PHONY : CMakeFiles/run_tests.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/run_tests.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/run_tests.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/run_tests.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
run_tests: CMakeFiles/run_tests.dir/rule
|
||||
|
||||
.PHONY : run_tests
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/run_tests.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/clean
|
||||
.PHONY : CMakeFiles/run_tests.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/clean_test_results.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/clean_test_results.dir/all:
|
||||
$(MAKE) -f CMakeFiles/clean_test_results.dir/build.make CMakeFiles/clean_test_results.dir/depend
|
||||
$(MAKE) -f CMakeFiles/clean_test_results.dir/build.make CMakeFiles/clean_test_results.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zmn/Gitea/ROS_Learn/build/CMakeFiles --progress-num= "Built target clean_test_results"
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/clean_test_results.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/clean_test_results.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
clean_test_results: CMakeFiles/clean_test_results.dir/rule
|
||||
|
||||
.PHONY : clean_test_results
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/clean_test_results.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/clean_test_results.dir/build.make CMakeFiles/clean_test_results.dir/clean
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/tests.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/tests.dir/all:
|
||||
$(MAKE) -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/depend
|
||||
$(MAKE) -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zmn/Gitea/ROS_Learn/build/CMakeFiles --progress-num= "Built target tests"
|
||||
.PHONY : CMakeFiles/tests.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/tests.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/tests.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/tests.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
tests: CMakeFiles/tests.dir/rule
|
||||
|
||||
.PHONY : tests
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/tests.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/clean
|
||||
.PHONY : CMakeFiles/tests.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/download_extra_data.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/download_extra_data.dir/all:
|
||||
$(MAKE) -f CMakeFiles/download_extra_data.dir/build.make CMakeFiles/download_extra_data.dir/depend
|
||||
$(MAKE) -f CMakeFiles/download_extra_data.dir/build.make CMakeFiles/download_extra_data.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zmn/Gitea/ROS_Learn/build/CMakeFiles --progress-num= "Built target download_extra_data"
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/download_extra_data.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/download_extra_data.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
download_extra_data: CMakeFiles/download_extra_data.dir/rule
|
||||
|
||||
.PHONY : download_extra_data
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/download_extra_data.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/download_extra_data.dir/build.make CMakeFiles/download_extra_data.dir/clean
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target gtest/googlemock/CMakeFiles/gmock_main.dir
|
||||
|
||||
# All Build rule for target.
|
||||
gtest/googlemock/CMakeFiles/gmock_main.dir/all: gtest/googletest/CMakeFiles/gtest.dir/all
|
||||
gtest/googlemock/CMakeFiles/gmock_main.dir/all: gtest/googlemock/CMakeFiles/gmock.dir/all
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock_main.dir/build.make gtest/googlemock/CMakeFiles/gmock_main.dir/depend
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock_main.dir/build.make gtest/googlemock/CMakeFiles/gmock_main.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zmn/Gitea/ROS_Learn/build/CMakeFiles --progress-num=3,4 "Built target gmock_main"
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock_main.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
gtest/googlemock/CMakeFiles/gmock_main.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 6
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gtest/googlemock/CMakeFiles/gmock_main.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock_main.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
gmock_main: gtest/googlemock/CMakeFiles/gmock_main.dir/rule
|
||||
|
||||
.PHONY : gmock_main
|
||||
|
||||
# clean rule for target.
|
||||
gtest/googlemock/CMakeFiles/gmock_main.dir/clean:
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock_main.dir/build.make gtest/googlemock/CMakeFiles/gmock_main.dir/clean
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock_main.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target gtest/googlemock/CMakeFiles/gmock.dir
|
||||
|
||||
# All Build rule for target.
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/all: gtest/googletest/CMakeFiles/gtest.dir/all
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock.dir/build.make gtest/googlemock/CMakeFiles/gmock.dir/depend
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock.dir/build.make gtest/googlemock/CMakeFiles/gmock.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zmn/Gitea/ROS_Learn/build/CMakeFiles --progress-num=1,2 "Built target gmock"
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 4
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gtest/googlemock/CMakeFiles/gmock.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
gmock: gtest/googlemock/CMakeFiles/gmock.dir/rule
|
||||
|
||||
.PHONY : gmock
|
||||
|
||||
# clean rule for target.
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/clean:
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock.dir/build.make gtest/googlemock/CMakeFiles/gmock.dir/clean
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target gtest/googletest/CMakeFiles/gtest_main.dir
|
||||
|
||||
# All Build rule for target.
|
||||
gtest/googletest/CMakeFiles/gtest_main.dir/all: gtest/googletest/CMakeFiles/gtest.dir/all
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest_main.dir/build.make gtest/googletest/CMakeFiles/gtest_main.dir/depend
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest_main.dir/build.make gtest/googletest/CMakeFiles/gtest_main.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zmn/Gitea/ROS_Learn/build/CMakeFiles --progress-num=7,8 "Built target gtest_main"
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest_main.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
gtest/googletest/CMakeFiles/gtest_main.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 4
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gtest/googletest/CMakeFiles/gtest_main.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest_main.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
gtest_main: gtest/googletest/CMakeFiles/gtest_main.dir/rule
|
||||
|
||||
.PHONY : gtest_main
|
||||
|
||||
# clean rule for target.
|
||||
gtest/googletest/CMakeFiles/gtest_main.dir/clean:
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest_main.dir/build.make gtest/googletest/CMakeFiles/gtest_main.dir/clean
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest_main.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target gtest/googletest/CMakeFiles/gtest.dir
|
||||
|
||||
# All Build rule for target.
|
||||
gtest/googletest/CMakeFiles/gtest.dir/all:
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest.dir/build.make gtest/googletest/CMakeFiles/gtest.dir/depend
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest.dir/build.make gtest/googletest/CMakeFiles/gtest.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/zmn/Gitea/ROS_Learn/build/CMakeFiles --progress-num=5,6 "Built target gtest"
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
gtest/googletest/CMakeFiles/gtest.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 2
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gtest/googletest/CMakeFiles/gtest.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/zmn/Gitea/ROS_Learn/build/CMakeFiles 0
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
gtest: gtest/googletest/CMakeFiles/gtest.dir/rule
|
||||
|
||||
.PHONY : gtest
|
||||
|
||||
# clean rule for target.
|
||||
gtest/googletest/CMakeFiles/gtest.dir/clean:
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest.dir/build.make gtest/googletest/CMakeFiles/gtest.dir/clean
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
@ -1,37 +0,0 @@
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/install/strip.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/install/local.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/install.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/list_install_components.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/rebuild_cache.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/edit_cache.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/test.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/doxygen.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/run_tests.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/clean_test_results.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/tests.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/CMakeFiles/download_extra_data.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/CMakeFiles/install/strip.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/CMakeFiles/install/local.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/CMakeFiles/install.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/CMakeFiles/list_install_components.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/CMakeFiles/rebuild_cache.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/CMakeFiles/edit_cache.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/CMakeFiles/test.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googlemock/CMakeFiles/install/strip.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googlemock/CMakeFiles/install/local.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googlemock/CMakeFiles/install.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googlemock/CMakeFiles/list_install_components.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googlemock/CMakeFiles/rebuild_cache.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googlemock/CMakeFiles/edit_cache.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googlemock/CMakeFiles/test.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googlemock/CMakeFiles/gmock_main.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googlemock/CMakeFiles/gmock.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googletest/CMakeFiles/install/strip.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googletest/CMakeFiles/install/local.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googletest/CMakeFiles/install.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googletest/CMakeFiles/list_install_components.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googletest/CMakeFiles/rebuild_cache.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googletest/CMakeFiles/edit_cache.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googletest/CMakeFiles/test.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googletest/CMakeFiles/gtest_main.dir
|
||||
/home/zmn/Gitea/ROS_Learn/build/gtest/googletest/CMakeFiles/gtest.dir
|
@ -1,2 +0,0 @@
|
||||
- setup-file:
|
||||
local-name: /home/zmn/Gitea/ROS_Learn/devel/setup.sh
|
@ -1,2 +0,0 @@
|
||||
- setup-file:
|
||||
local-name: /home/zmn/Gitea/ROS_Learn/install/setup.sh
|
@ -1,5 +0,0 @@
|
||||
# generated from catkin/cmake/template/order_packages.context.py.in
|
||||
source_root_dir = '/home/zmn/Gitea/ROS_Learn/src'
|
||||
whitelisted_packages = ''.split(';') if '' != '' else []
|
||||
blacklisted_packages = ''.split(';') if '' != '' else []
|
||||
underlay_workspaces = '/home/zmn/LocalSend/ROS/devel;/home/zmn/LocalSend/shiyan/devel;/opt/ros/noetic'.split(';') if '/home/zmn/LocalSend/ROS/devel;/home/zmn/LocalSend/shiyan/devel;/opt/ros/noetic' != '' else []
|
@ -1,13 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
# generated from catkin/python/catkin/environment_cache.py
|
||||
|
||||
# based on a snapshot of the environment before and after calling the setup script
|
||||
# it emulates the modifications of the setup script without recurring computations
|
||||
|
||||
# new environment variables
|
||||
|
||||
# modified environment variables
|
||||
export CMAKE_PREFIX_PATH="/home/zmn/Gitea/ROS_Learn/devel:$CMAKE_PREFIX_PATH"
|
||||
export PWD='/home/zmn/Gitea/ROS_Learn/build'
|
||||
export ROSLISP_PACKAGE_DIRECTORIES="/home/zmn/Gitea/ROS_Learn/devel/share/common-lisp:$ROSLISP_PACKAGE_DIRECTORIES"
|
||||
export ROS_PACKAGE_PATH="/home/zmn/Gitea/ROS_Learn/src:$ROS_PACKAGE_PATH"
|
@ -1,2 +0,0 @@
|
||||
|
||||
-DCATKIN_DEVEL_PREFIX=/home/zmn/Gitea/ROS_Learn/devel -DCMAKE_INSTALL_PREFIX=/home/zmn/Gitea/ROS_Learn/install -G Unix Makefiles
|
@ -1 +0,0 @@
|
||||
/home/zmn/Gitea/ROS_Learn/src
|
@ -1,2 +0,0 @@
|
||||
- setup-file:
|
||||
local-name: /home/zmn/Gitea/ROS_Learn/devel/setup.sh
|
21
shiyan1/.vscode/c_cpp_properties.json
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"browse": {
|
||||
"databaseFilename": "${default}",
|
||||
"limitSymbolsToIncludedHeaders": false
|
||||
},
|
||||
"includePath": [
|
||||
"/opt/ros/noetic/include/**",
|
||||
"/home/a/demo/src/hello/include/**",
|
||||
"/usr/include/**"
|
||||
],
|
||||
"name": "ROS",
|
||||
"intelliSenseMode": "gcc-x64",
|
||||
"compilerPath": "/usr/bin/gcc",
|
||||
"cStandard": "gnu11",
|
||||
"cppStandard": "c++17"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
8
shiyan1/.vscode/settings.json
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"python.autoComplete.extraPaths": [
|
||||
"/opt/ros/noetic/lib/python3/dist-packages"
|
||||
],
|
||||
"python.analysis.extraPaths": [
|
||||
"/opt/ros/noetic/lib/python3/dist-packages"
|
||||
]
|
||||
}
|
18
shiyan1/.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
// 有关 tasks.json 格式的文档,请参见
|
||||
// https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "catkin_make:debug", //代表提示的描述性信息
|
||||
"type": "shell", //可以选择shell或者process,如果是shell代码是在shell里面运行一个命令,如果是process代表作为一个进程来运行
|
||||
"command": "catkin_make",//这个是我们需要运行的命令
|
||||
"args": [],//如果需要在命令后面加一些后缀,可以写在这里,比如-DCATKIN_WHITELIST_PACKAGES=“pac1;pac2”
|
||||
"group": {"kind":"build","isDefault":true},
|
||||
"presentation": {
|
||||
"reveal": "always"//可选always或者silence,代表是否输出信息
|
||||
},
|
||||
"problemMatcher": "$msCompile"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
# This is the CMakeCache file.
|
||||
# For build in directory: /home/zmn/Gitea/ROS_Learn/build
|
||||
# For build in directory: /home/a/shiyan1/build
|
||||
# It was generated by CMake: /usr/bin/cmake
|
||||
# You can edit this file to change values found and used by cmake.
|
||||
# If you do not want to change any of the values, simply exit the editor.
|
||||
@ -24,7 +24,7 @@ BUILD_SHARED_LIBS:BOOL=ON
|
||||
CATKIN_BLACKLIST_PACKAGES:STRING=
|
||||
|
||||
//catkin devel space
|
||||
CATKIN_DEVEL_PREFIX:PATH=/home/zmn/Gitea/ROS_Learn/devel
|
||||
CATKIN_DEVEL_PREFIX:PATH=/home/a/shiyan1/devel
|
||||
|
||||
//Catkin enable testing
|
||||
CATKIN_ENABLE_TESTING:BOOL=ON
|
||||
@ -162,7 +162,7 @@ CMAKE_INSTALL_MANDIR:PATH=
|
||||
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include
|
||||
|
||||
//Install path prefix, prepended onto install directories.
|
||||
CMAKE_INSTALL_PREFIX:PATH=/home/zmn/Gitea/ROS_Learn/install
|
||||
CMAKE_INSTALL_PREFIX:PATH=/home/a/shiyan1/install
|
||||
|
||||
//Run-time variable data (LOCALSTATEDIR/run)
|
||||
CMAKE_INSTALL_RUNSTATEDIR:PATH=
|
||||
@ -362,10 +362,10 @@ PYTHON_VERSION:STRING=3
|
||||
PY_EM:STRING=/usr/lib/python3/dist-packages/em.py
|
||||
|
||||
//Value Computed by CMake
|
||||
Project_BINARY_DIR:STATIC=/home/zmn/Gitea/ROS_Learn/build
|
||||
Project_BINARY_DIR:STATIC=/home/a/shiyan1/build
|
||||
|
||||
//Value Computed by CMake
|
||||
Project_SOURCE_DIR:STATIC=/home/zmn/Gitea/ROS_Learn/src
|
||||
Project_SOURCE_DIR:STATIC=/home/a/shiyan1/src
|
||||
|
||||
//Path to a library.
|
||||
RT_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
|
||||
@ -374,7 +374,7 @@ RT_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
|
||||
SETUPTOOLS_DEB_LAYOUT:BOOL=ON
|
||||
|
||||
//Name of the computer/site where compile is being run
|
||||
SITE:STRING=DreamLife
|
||||
SITE:STRING=123
|
||||
|
||||
//LSB Distrib tag
|
||||
UBUNTU:BOOL=TRUE
|
||||
@ -397,8 +397,11 @@ _gtest_SOURCES:FILEPATH=/usr/src/gtest/src/gtest.cc
|
||||
//The directory containing a CMake configuration file for catkin.
|
||||
catkin_DIR:PATH=/opt/ros/noetic/share/catkin/cmake
|
||||
|
||||
//The directory containing a CMake configuration file for cpp_common.
|
||||
cpp_common_DIR:PATH=/opt/ros/noetic/share/cpp_common/cmake
|
||||
|
||||
//Value Computed by CMake
|
||||
gmock_BINARY_DIR:STATIC=/home/zmn/Gitea/ROS_Learn/build/gtest/googlemock
|
||||
gmock_BINARY_DIR:STATIC=/home/a/shiyan1/build/gtest/googlemock
|
||||
|
||||
//Dependencies for the target
|
||||
gmock_LIB_DEPENDS:STATIC=general;gtest;
|
||||
@ -413,13 +416,13 @@ gmock_build_tests:BOOL=OFF
|
||||
gmock_main_LIB_DEPENDS:STATIC=general;gmock;
|
||||
|
||||
//Value Computed by CMake
|
||||
googletest-distribution_BINARY_DIR:STATIC=/home/zmn/Gitea/ROS_Learn/build/gtest
|
||||
googletest-distribution_BINARY_DIR:STATIC=/home/a/shiyan1/build/gtest
|
||||
|
||||
//Value Computed by CMake
|
||||
googletest-distribution_SOURCE_DIR:STATIC=/usr/src/googletest
|
||||
|
||||
//Value Computed by CMake
|
||||
gtest_BINARY_DIR:STATIC=/home/zmn/Gitea/ROS_Learn/build/gtest/googletest
|
||||
gtest_BINARY_DIR:STATIC=/home/a/shiyan1/build/gtest/googletest
|
||||
|
||||
//Value Computed by CMake
|
||||
gtest_SOURCE_DIR:STATIC=/usr/src/googletest/googletest
|
||||
@ -443,20 +446,59 @@ gtest_hide_internal_symbols:BOOL=OFF
|
||||
//Dependencies for the target
|
||||
gtest_main_LIB_DEPENDS:STATIC=general;gtest;
|
||||
|
||||
//Path to a library.
|
||||
lib:FILEPATH=/opt/ros/noetic/lib/libxmlrpcpp.so
|
||||
|
||||
//The directory containing a CMake configuration file for message_runtime.
|
||||
message_runtime_DIR:PATH=/opt/ros/noetic/share/message_runtime/cmake
|
||||
|
||||
//The directory containing a CMake configuration file for rosconsole.
|
||||
rosconsole_DIR:PATH=/opt/ros/noetic/share/rosconsole/cmake
|
||||
|
||||
//The directory containing a CMake configuration file for roscpp.
|
||||
roscpp_DIR:PATH=/opt/ros/noetic/share/roscpp/cmake
|
||||
|
||||
//The directory containing a CMake configuration file for roscpp_serialization.
|
||||
roscpp_serialization_DIR:PATH=/opt/ros/noetic/share/roscpp_serialization/cmake
|
||||
|
||||
//The directory containing a CMake configuration file for roscpp_traits.
|
||||
roscpp_traits_DIR:PATH=/opt/ros/noetic/share/roscpp_traits/cmake
|
||||
|
||||
//The directory containing a CMake configuration file for rosgraph_msgs.
|
||||
rosgraph_msgs_DIR:PATH=/opt/ros/noetic/share/rosgraph_msgs/cmake
|
||||
|
||||
//The directory containing a CMake configuration file for rospy.
|
||||
rospy_DIR:PATH=/opt/ros/noetic/share/rospy/cmake
|
||||
|
||||
//The directory containing a CMake configuration file for rostime.
|
||||
rostime_DIR:PATH=/opt/ros/noetic/share/rostime/cmake
|
||||
|
||||
//Value Computed by CMake
|
||||
shiyan1_BINARY_DIR:STATIC=/home/a/shiyan1/build/shiyan1
|
||||
|
||||
//Value Computed by CMake
|
||||
shiyan1_SOURCE_DIR:STATIC=/home/a/shiyan1/src/shiyan1
|
||||
|
||||
//The directory containing a CMake configuration file for std_msgs.
|
||||
std_msgs_DIR:PATH=/opt/ros/noetic/share/std_msgs/cmake
|
||||
|
||||
//The directory containing a CMake configuration file for xmlrpcpp.
|
||||
xmlrpcpp_DIR:PATH=/opt/ros/noetic/share/xmlrpcpp/cmake
|
||||
|
||||
|
||||
########################
|
||||
# INTERNAL cache entries
|
||||
########################
|
||||
|
||||
//catkin environment
|
||||
CATKIN_ENV:INTERNAL=/home/zmn/Gitea/ROS_Learn/build/catkin_generated/env_cached.sh
|
||||
CATKIN_TEST_RESULTS_DIR:INTERNAL=/home/zmn/Gitea/ROS_Learn/build/test_results
|
||||
CATKIN_ENV:INTERNAL=/home/a/shiyan1/build/catkin_generated/env_cached.sh
|
||||
CATKIN_TEST_RESULTS_DIR:INTERNAL=/home/a/shiyan1/build/test_results
|
||||
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_AR
|
||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||
//This is the directory where this CMakeCache.txt was created
|
||||
CMAKE_CACHEFILE_DIR:INTERNAL=/home/zmn/Gitea/ROS_Learn/build
|
||||
CMAKE_CACHEFILE_DIR:INTERNAL=/home/a/shiyan1/build
|
||||
//Major version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||
//Minor version of cmake used to create the current loaded cache
|
||||
@ -539,7 +581,7 @@ CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
|
||||
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
|
||||
//Source directory with the top level CMakeLists.txt file for this
|
||||
// project
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=/home/zmn/Gitea/ROS_Learn/src
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=/home/a/shiyan1/src
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
|
||||
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
|
||||
@ -591,7 +633,7 @@ CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_NM
|
||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||
//number of local generators
|
||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=4
|
||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=5
|
||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||
@ -643,7 +685,7 @@ FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
|
||||
GMOCK_FROM_SOURCE_FOUND:INTERNAL=TRUE
|
||||
GMOCK_FROM_SOURCE_INCLUDE_DIRS:INTERNAL=/usr/src/googletest/googlemock/include
|
||||
GMOCK_FROM_SOURCE_LIBRARIES:INTERNAL=gmock
|
||||
GMOCK_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/zmn/Gitea/ROS_Learn/build/gmock
|
||||
GMOCK_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/a/shiyan1/build/gmock
|
||||
GMOCK_FROM_SOURCE_MAIN_LIBRARIES:INTERNAL=gmock_main
|
||||
//ADVANCED property for variable: GMOCK_LIBRARY
|
||||
GMOCK_LIBRARY-ADVANCED:INTERNAL=1
|
||||
@ -656,7 +698,7 @@ GMOCK_MAIN_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
|
||||
GTEST_FROM_SOURCE_FOUND:INTERNAL=TRUE
|
||||
GTEST_FROM_SOURCE_INCLUDE_DIRS:INTERNAL=/usr/include
|
||||
GTEST_FROM_SOURCE_LIBRARIES:INTERNAL=gtest
|
||||
GTEST_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/zmn/Gitea/ROS_Learn/build/gtest
|
||||
GTEST_FROM_SOURCE_LIBRARY_DIRS:INTERNAL=/home/a/shiyan1/build/gtest
|
||||
GTEST_FROM_SOURCE_MAIN_LIBRARIES:INTERNAL=gtest_main
|
||||
//ADVANCED property for variable: GTEST_INCLUDE_DIR
|
||||
GTEST_INCLUDE_DIR-ADVANCED:INTERNAL=1
|
||||
@ -675,7 +717,7 @@ PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1
|
||||
// it will install things.
|
||||
PYTHON_INSTALL_DIR:INTERNAL=lib/python3/dist-packages
|
||||
//CMAKE_INSTALL_PREFIX during last run
|
||||
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/home/zmn/Gitea/ROS_Learn/install
|
||||
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/home/a/shiyan1/install
|
||||
//ADVANCED property for variable: gmock_build_tests
|
||||
gmock_build_tests-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: gtest_build_samples
|
0
build/CMakeFiles/3.16.3/CMakeDetermineCompilerABI_C.bin → shiyan1/build/CMakeFiles/3.16.3/CMakeDetermineCompilerABI_C.bin
Executable file → Normal file
0
build/CMakeFiles/3.16.3/CMakeDetermineCompilerABI_CXX.bin → shiyan1/build/CMakeFiles/3.16.3/CMakeDetermineCompilerABI_CXX.bin
Executable file → Normal file
0
build/CMakeFiles/3.16.3/CompilerIdC/a.out → shiyan1/build/CMakeFiles/3.16.3/CompilerIdC/a.out
Executable file → Normal file
0
build/CMakeFiles/3.16.3/CompilerIdCXX/a.out → shiyan1/build/CMakeFiles/3.16.3/CompilerIdCXX/a.out
Executable file → Normal file
@ -2,8 +2,8 @@
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/zmn/Gitea/ROS_Learn/src")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/zmn/Gitea/ROS_Learn/build")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/a/shiyan1/src")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/a/shiyan1/build")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
58
shiyan1/build/CMakeFiles/CMakeError.log
Normal file
@ -0,0 +1,58 @@
|
||||
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
|
||||
Change Dir: /home/a/shiyan1/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_7d901/fast && /usr/bin/make -f CMakeFiles/cmTC_7d901.dir/build.make CMakeFiles/cmTC_7d901.dir/build
|
||||
make[1]: 进入目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
Building C object CMakeFiles/cmTC_7d901.dir/src.c.o
|
||||
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_7d901.dir/src.c.o -c /home/a/shiyan1/build/CMakeFiles/CMakeTmp/src.c
|
||||
Linking C executable cmTC_7d901
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7d901.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -rdynamic CMakeFiles/cmTC_7d901.dir/src.c.o -o cmTC_7d901
|
||||
/usr/bin/ld: CMakeFiles/cmTC_7d901.dir/src.c.o: in function `main':
|
||||
src.c:(.text+0x46): undefined reference to `pthread_create'
|
||||
/usr/bin/ld: src.c:(.text+0x52): undefined reference to `pthread_detach'
|
||||
/usr/bin/ld: src.c:(.text+0x63): undefined reference to `pthread_join'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_7d901.dir/build.make:87:cmTC_7d901] 错误 1
|
||||
make[1]: 离开目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
make: *** [Makefile:121:cmTC_7d901/fast] 错误 2
|
||||
|
||||
|
||||
Source file was:
|
||||
#include <pthread.h>
|
||||
|
||||
void* test_func(void* data)
|
||||
{
|
||||
return data;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
pthread_t thread;
|
||||
pthread_create(&thread, NULL, test_func, NULL);
|
||||
pthread_detach(thread);
|
||||
pthread_join(thread, NULL);
|
||||
pthread_atfork(NULL, NULL, NULL);
|
||||
pthread_exit(NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Determining if the function pthread_create exists in the pthreads failed with the following output:
|
||||
Change Dir: /home/a/shiyan1/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_1f1e8/fast && /usr/bin/make -f CMakeFiles/cmTC_1f1e8.dir/build.make CMakeFiles/cmTC_1f1e8.dir/build
|
||||
make[1]: 进入目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
Building C object CMakeFiles/cmTC_1f1e8.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_1f1e8.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_1f1e8
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1f1e8.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_1f1e8.dir/CheckFunctionExists.c.o -o cmTC_1f1e8 -lpthreads
|
||||
/usr/bin/ld: 找不到 -lpthreads
|
||||
collect2: error: ld returned 1 exit status
|
||||
make[1]: *** [CMakeFiles/cmTC_1f1e8.dir/build.make:87:cmTC_1f1e8] 错误 1
|
||||
make[1]: 离开目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
make: *** [Makefile:121:cmTC_1f1e8/fast] 错误 2
|
||||
|
||||
|
||||
|
491
shiyan1/build/CMakeFiles/CMakeOutput.log
Normal file
@ -0,0 +1,491 @@
|
||||
The system is: Linux - 5.15.0-139-generic - x86_64
|
||||
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||
Compiler: /usr/bin/cc
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
|
||||
|
||||
The C compiler identification is GNU, found in "/home/a/shiyan1/build/CMakeFiles/3.16.3/CompilerIdC/a.out"
|
||||
|
||||
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
||||
Compiler: /usr/bin/c++
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
|
||||
|
||||
The CXX compiler identification is GNU, found in "/home/a/shiyan1/build/CMakeFiles/3.16.3/CompilerIdCXX/a.out"
|
||||
|
||||
Determining if the C compiler works passed with the following output:
|
||||
Change Dir: /home/a/shiyan1/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_625d2/fast && /usr/bin/make -f CMakeFiles/cmTC_625d2.dir/build.make CMakeFiles/cmTC_625d2.dir/build
|
||||
make[1]: 进入目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
Building C object CMakeFiles/cmTC_625d2.dir/testCCompiler.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_625d2.dir/testCCompiler.c.o -c /home/a/shiyan1/build/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||
Linking C executable cmTC_625d2
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_625d2.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -rdynamic CMakeFiles/cmTC_625d2.dir/testCCompiler.c.o -o cmTC_625d2
|
||||
make[1]: 离开目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
|
||||
|
||||
|
||||
Detecting C compiler ABI info compiled with the following output:
|
||||
Change Dir: /home/a/shiyan1/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_35c0d/fast && /usr/bin/make -f CMakeFiles/cmTC_35c0d.dir/build.make CMakeFiles/cmTC_35c0d.dir/build
|
||||
make[1]: Entering directory '/home/a/shiyan1/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o
|
||||
/usr/bin/cc -v -o CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||
Thread model: posix
|
||||
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cccJWYxG.s
|
||||
GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"
|
||||
#include "..." search starts here:
|
||||
#include <...> search starts here:
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/include
|
||||
/usr/local/include
|
||||
/usr/include/x86_64-linux-gnu
|
||||
/usr/include
|
||||
End of search list.
|
||||
GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
Compiler executable checksum: 01da938ff5dc2163489aa33cb3b747a7
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
||||
as -v --64 -o CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o /tmp/cccJWYxG.s
|
||||
GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
||||
Linking C executable cmTC_35c0d
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_35c0d.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o -o cmTC_35c0d
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||
Thread model: posix
|
||||
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_35c0d' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/cc4l6Jza.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_35c0d /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_35c0d' '-mtune=generic' '-march=x86-64'
|
||||
make[1]: Leaving directory '/home/a/shiyan1/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
||||
Parsed C implicit include dir info from above output: rv=done
|
||||
found start of include info
|
||||
found start of implicit include info
|
||||
add: [/usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
add: [/usr/local/include]
|
||||
add: [/usr/include/x86_64-linux-gnu]
|
||||
add: [/usr/include]
|
||||
end of search list found
|
||||
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/9/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
|
||||
collapse include dir [/usr/include] ==> [/usr/include]
|
||||
implicit include dirs: [/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
|
||||
|
||||
|
||||
Parsed C implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /home/a/shiyan1/build/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_35c0d/fast && /usr/bin/make -f CMakeFiles/cmTC_35c0d.dir/build.make CMakeFiles/cmTC_35c0d.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/home/a/shiyan1/build/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o]
|
||||
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cccJWYxG.s]
|
||||
ignore line: [GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"]
|
||||
ignore line: [#include "..." search starts here:]
|
||||
ignore line: [#include <...> search starts here:]
|
||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
ignore line: [ /usr/local/include]
|
||||
ignore line: [ /usr/include/x86_64-linux-gnu]
|
||||
ignore line: [ /usr/include]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [Compiler executable checksum: 01da938ff5dc2163489aa33cb3b747a7]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o /tmp/cccJWYxG.s]
|
||||
ignore line: [GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [Linking C executable cmTC_35c0d]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_35c0d.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o -o cmTC_35c0d ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) ]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_35c0d' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/cc4l6Jza.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_35c0d /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/cc4l6Jza.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [--build-id] ==> ignore
|
||||
arg [--eh-frame-hdr] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [elf_x86_64] ==> ignore
|
||||
arg [--hash-style=gnu] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-export-dynamic] ==> ignore
|
||||
arg [-dynamic-linker] ==> ignore
|
||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-pie] ==> ignore
|
||||
arg [-znow] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_35c0d] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o] ==> ignore
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib]
|
||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..]
|
||||
arg [CMakeFiles/cmTC_35c0d.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--push-state] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [--pop-state] ==> ignore
|
||||
arg [-lc] ==> lib [c]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--push-state] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [--pop-state] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9] ==> [/usr/lib/gcc/x86_64-linux-gnu/9]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> [/usr/lib]
|
||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/lib/../lib] ==> [/lib]
|
||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> [/usr/lib]
|
||||
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
|
||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
Determining if the CXX compiler works passed with the following output:
|
||||
Change Dir: /home/a/shiyan1/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_0a475/fast && /usr/bin/make -f CMakeFiles/cmTC_0a475.dir/build.make CMakeFiles/cmTC_0a475.dir/build
|
||||
make[1]: 进入目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
Building CXX object CMakeFiles/cmTC_0a475.dir/testCXXCompiler.cxx.o
|
||||
/usr/bin/c++ -o CMakeFiles/cmTC_0a475.dir/testCXXCompiler.cxx.o -c /home/a/shiyan1/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||
Linking CXX executable cmTC_0a475
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0a475.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ -rdynamic CMakeFiles/cmTC_0a475.dir/testCXXCompiler.cxx.o -o cmTC_0a475
|
||||
make[1]: 离开目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
|
||||
|
||||
|
||||
Detecting CXX compiler ABI info compiled with the following output:
|
||||
Change Dir: /home/a/shiyan1/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_ae22d/fast && /usr/bin/make -f CMakeFiles/cmTC_ae22d.dir/build.make CMakeFiles/cmTC_ae22d.dir/build
|
||||
make[1]: Entering directory '/home/a/shiyan1/build/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o
|
||||
/usr/bin/c++ -v -o CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/c++
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||
Thread model: posix
|
||||
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccM3DisG.s
|
||||
GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/9"
|
||||
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"
|
||||
#include "..." search starts here:
|
||||
#include <...> search starts here:
|
||||
/usr/include/c++/9
|
||||
/usr/include/x86_64-linux-gnu/c++/9
|
||||
/usr/include/c++/9/backward
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/include
|
||||
/usr/local/include
|
||||
/usr/include/x86_64-linux-gnu
|
||||
/usr/include
|
||||
End of search list.
|
||||
GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
Compiler executable checksum: 3d1eba838554fa2348dba760e4770469
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
as -v --64 -o CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccM3DisG.s
|
||||
GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
Linking CXX executable cmTC_ae22d
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ae22d.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ae22d
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/c++
|
||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||
Thread model: posix
|
||||
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_ae22d' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccj8Lzc8.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_ae22d /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_ae22d' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
make[1]: Leaving directory '/home/a/shiyan1/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
||||
Parsed CXX implicit include dir info from above output: rv=done
|
||||
found start of include info
|
||||
found start of implicit include info
|
||||
add: [/usr/include/c++/9]
|
||||
add: [/usr/include/x86_64-linux-gnu/c++/9]
|
||||
add: [/usr/include/c++/9/backward]
|
||||
add: [/usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
add: [/usr/local/include]
|
||||
add: [/usr/include/x86_64-linux-gnu]
|
||||
add: [/usr/include]
|
||||
end of search list found
|
||||
collapse include dir [/usr/include/c++/9] ==> [/usr/include/c++/9]
|
||||
collapse include dir [/usr/include/x86_64-linux-gnu/c++/9] ==> [/usr/include/x86_64-linux-gnu/c++/9]
|
||||
collapse include dir [/usr/include/c++/9/backward] ==> [/usr/include/c++/9/backward]
|
||||
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/9/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
|
||||
collapse include dir [/usr/include] ==> [/usr/include]
|
||||
implicit include dirs: [/usr/include/c++/9;/usr/include/x86_64-linux-gnu/c++/9;/usr/include/c++/9/backward;/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
|
||||
|
||||
|
||||
Parsed CXX implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /home/a/shiyan1/build/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_ae22d/fast && /usr/bin/make -f CMakeFiles/cmTC_ae22d.dir/build.make CMakeFiles/cmTC_ae22d.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/home/a/shiyan1/build/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o]
|
||||
ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccM3DisG.s]
|
||||
ignore line: [GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/9"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"]
|
||||
ignore line: [#include "..." search starts here:]
|
||||
ignore line: [#include <...> search starts here:]
|
||||
ignore line: [ /usr/include/c++/9]
|
||||
ignore line: [ /usr/include/x86_64-linux-gnu/c++/9]
|
||||
ignore line: [ /usr/include/c++/9/backward]
|
||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
ignore line: [ /usr/local/include]
|
||||
ignore line: [ /usr/include/x86_64-linux-gnu]
|
||||
ignore line: [ /usr/include]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [Compiler executable checksum: 3d1eba838554fa2348dba760e4770469]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccM3DisG.s]
|
||||
ignore line: [GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [Linking CXX executable cmTC_ae22d]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ae22d.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ae22d ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) ]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_ae22d' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccj8Lzc8.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_ae22d /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccj8Lzc8.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [--build-id] ==> ignore
|
||||
arg [--eh-frame-hdr] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [elf_x86_64] ==> ignore
|
||||
arg [--hash-style=gnu] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-export-dynamic] ==> ignore
|
||||
arg [-dynamic-linker] ==> ignore
|
||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-pie] ==> ignore
|
||||
arg [-znow] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_ae22d] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o] ==> ignore
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib]
|
||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..]
|
||||
arg [CMakeFiles/cmTC_ae22d.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||
arg [-lstdc++] ==> lib [stdc++]
|
||||
arg [-lm] ==> lib [m]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [-lc] ==> lib [c]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9] ==> [/usr/lib/gcc/x86_64-linux-gnu/9]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> [/usr/lib]
|
||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/lib/../lib] ==> [/lib]
|
||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> [/usr/lib]
|
||||
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
|
||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
Determining if the include file pthread.h exists passed with the following output:
|
||||
Change Dir: /home/a/shiyan1/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_09b4b/fast && /usr/bin/make -f CMakeFiles/cmTC_09b4b.dir/build.make CMakeFiles/cmTC_09b4b.dir/build
|
||||
make[1]: 进入目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
Building C object CMakeFiles/cmTC_09b4b.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_09b4b.dir/CheckIncludeFile.c.o -c /home/a/shiyan1/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_09b4b
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_09b4b.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -rdynamic CMakeFiles/cmTC_09b4b.dir/CheckIncludeFile.c.o -o cmTC_09b4b
|
||||
make[1]: 离开目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
|
||||
|
||||
|
||||
Determining if the function pthread_create exists in the pthread passed with the following output:
|
||||
Change Dir: /home/a/shiyan1/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_cd9b5/fast && /usr/bin/make -f CMakeFiles/cmTC_cd9b5.dir/build.make CMakeFiles/cmTC_cd9b5.dir/build
|
||||
make[1]: 进入目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
Building C object CMakeFiles/cmTC_cd9b5.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_cd9b5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_cd9b5
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cd9b5.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_cd9b5.dir/CheckFunctionExists.c.o -o cmTC_cd9b5 -lpthread
|
||||
make[1]: 离开目录“/home/a/shiyan1/build/CMakeFiles/CMakeTmp”
|
||||
|
||||
|
||||
|
2
shiyan1/build/CMakeFiles/CMakeRuleHashes.txt
Normal file
@ -0,0 +1,2 @@
|
||||
# Hashes of file build rules.
|
||||
6cd3826ea2dcd40e1b62c86f5914f165 CMakeFiles/clean_test_results
|
@ -13,7 +13,11 @@ set(CMAKE_MAKEFILE_DEPENDS
|
||||
"catkin/catkin_generated/version/package.cmake"
|
||||
"catkin_generated/installspace/_setup_util.py"
|
||||
"catkin_generated/order_packages.cmake"
|
||||
"/home/zmn/Gitea/ROS_Learn/src/CMakeLists.txt"
|
||||
"shiyan1/catkin_generated/ordered_paths.cmake"
|
||||
"shiyan1/catkin_generated/package.cmake"
|
||||
"/home/a/shiyan1/src/CMakeLists.txt"
|
||||
"/home/a/shiyan1/src/shiyan1/CMakeLists.txt"
|
||||
"/home/a/shiyan1/src/shiyan1/package.xml"
|
||||
"/opt/ros/noetic/share/catkin/cmake/all.cmake"
|
||||
"/opt/ros/noetic/share/catkin/cmake/assert.cmake"
|
||||
"/opt/ros/noetic/share/catkin/cmake/atomic_configure_file.cmake"
|
||||
@ -34,6 +38,7 @@ set(CMAKE_MAKEFILE_DEPENDS
|
||||
"/opt/ros/noetic/share/catkin/cmake/custom_install.cmake"
|
||||
"/opt/ros/noetic/share/catkin/cmake/debug_message.cmake"
|
||||
"/opt/ros/noetic/share/catkin/cmake/em/order_packages.cmake.em"
|
||||
"/opt/ros/noetic/share/catkin/cmake/em/pkg.pc.em"
|
||||
"/opt/ros/noetic/share/catkin/cmake/em_expand.cmake"
|
||||
"/opt/ros/noetic/share/catkin/cmake/empy.cmake"
|
||||
"/opt/ros/noetic/share/catkin/cmake/find_program_required.cmake"
|
||||
@ -57,6 +62,9 @@ set(CMAKE_MAKEFILE_DEPENDS
|
||||
"/opt/ros/noetic/share/catkin/cmake/templates/local_setup.sh.in"
|
||||
"/opt/ros/noetic/share/catkin/cmake/templates/local_setup.zsh.in"
|
||||
"/opt/ros/noetic/share/catkin/cmake/templates/order_packages.context.py.in"
|
||||
"/opt/ros/noetic/share/catkin/cmake/templates/pkg.context.pc.in"
|
||||
"/opt/ros/noetic/share/catkin/cmake/templates/pkgConfig-version.cmake.in"
|
||||
"/opt/ros/noetic/share/catkin/cmake/templates/pkgConfig.cmake.in"
|
||||
"/opt/ros/noetic/share/catkin/cmake/templates/rosinstall.in"
|
||||
"/opt/ros/noetic/share/catkin/cmake/templates/setup.bash.in"
|
||||
"/opt/ros/noetic/share/catkin/cmake/templates/setup.fish.in"
|
||||
@ -70,90 +78,51 @@ set(CMAKE_MAKEFILE_DEPENDS
|
||||
"/opt/ros/noetic/share/catkin/cmake/tools/libraries.cmake"
|
||||
"/opt/ros/noetic/share/catkin/cmake/tools/rt.cmake"
|
||||
"/opt/ros/noetic/share/catkin/package.xml"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCCompiler.cmake.in"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c"
|
||||
"/opt/ros/noetic/share/cpp_common/cmake/cpp_commonConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/cpp_common/cmake/cpp_commonConfig.cmake"
|
||||
"/opt/ros/noetic/share/message_runtime/cmake/message_runtimeConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/message_runtime/cmake/message_runtimeConfig.cmake"
|
||||
"/opt/ros/noetic/share/rosconsole/cmake/rosconsole-extras.cmake"
|
||||
"/opt/ros/noetic/share/rosconsole/cmake/rosconsoleConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/rosconsole/cmake/rosconsoleConfig.cmake"
|
||||
"/opt/ros/noetic/share/roscpp/cmake/roscpp-msg-extras.cmake"
|
||||
"/opt/ros/noetic/share/roscpp/cmake/roscppConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/roscpp/cmake/roscppConfig.cmake"
|
||||
"/opt/ros/noetic/share/roscpp_serialization/cmake/roscpp_serializationConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/roscpp_serialization/cmake/roscpp_serializationConfig.cmake"
|
||||
"/opt/ros/noetic/share/roscpp_traits/cmake/roscpp_traitsConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/roscpp_traits/cmake/roscpp_traitsConfig.cmake"
|
||||
"/opt/ros/noetic/share/rosgraph_msgs/cmake/rosgraph_msgs-msg-extras.cmake"
|
||||
"/opt/ros/noetic/share/rosgraph_msgs/cmake/rosgraph_msgsConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/rosgraph_msgs/cmake/rosgraph_msgsConfig.cmake"
|
||||
"/opt/ros/noetic/share/rospy/cmake/rospyConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/rospy/cmake/rospyConfig.cmake"
|
||||
"/opt/ros/noetic/share/rostime/cmake/rostimeConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/rostime/cmake/rostimeConfig.cmake"
|
||||
"/opt/ros/noetic/share/std_msgs/cmake/std_msgs-msg-extras.cmake"
|
||||
"/opt/ros/noetic/share/std_msgs/cmake/std_msgsConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/std_msgs/cmake/std_msgsConfig.cmake"
|
||||
"/opt/ros/noetic/share/xmlrpcpp/cmake/xmlrpcpp-extras.cmake"
|
||||
"/opt/ros/noetic/share/xmlrpcpp/cmake/xmlrpcppConfig-version.cmake"
|
||||
"/opt/ros/noetic/share/xmlrpcpp/cmake/xmlrpcppConfig.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCInformation.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCXXCompiler.cmake.in"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCXXInformation.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCompilerIdDetection.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeDependentOption.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeDetermineCXXCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeDetermineCompileFeatures.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeDetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeDetermineCompilerABI.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeDetermineCompilerId.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeFindBinUtils.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeGenericSystem.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeInitializeConfigs.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeLanguageInformation.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeParseArguments.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeParseImplicitIncludeInfo.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeParseImplicitLinkInfo.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeSystem.cmake.in"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeTestCompilerCommon.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeUnixFindMake.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CheckCSourceCompiles.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CheckFunctionExists.c"
|
||||
"/usr/share/cmake-3.16/Modules/CheckIncludeFile.c.in"
|
||||
"/usr/share/cmake-3.16/Modules/CheckIncludeFile.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CheckLibraryExists.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/ADSP-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Borland-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Clang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Cray-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/GHS-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/GNU-C.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/GNU-FindBinUtils.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/GNU.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/HP-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/IAR-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Intel-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/MSVC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/PGI-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/PathScale-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/SCO-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/TI-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/Watcom-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/XL-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/DartConfiguration.tcl.in"
|
||||
"/usr/share/cmake-3.16/Modules/FindGTest.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
@ -163,8 +132,6 @@ set(CMAKE_MAKEFILE_DEPENDS
|
||||
"/usr/share/cmake-3.16/Modules/GNUInstallDirs.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/GoogleTest.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Internal/CMakeCheckCompilerFlag.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Internal/FeatureTesting.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Platform/Linux-Determine-CXX.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Platform/Linux-GNU-C.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Platform/Linux-GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Platform/Linux-GNU.cmake"
|
||||
@ -184,24 +151,19 @@ set(CMAKE_MAKEFILE_OUTPUTS
|
||||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/3.16.3/CMakeSystem.cmake"
|
||||
"CMakeFiles/3.16.3/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.16.3/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.16.3/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.16.3/CMakeCXXCompiler.cmake"
|
||||
"CTestConfiguration.ini"
|
||||
"catkin_generated/stamps/Project/package.xml.stamp"
|
||||
"atomic_configure/_setup_util.py.BYXU0"
|
||||
"atomic_configure/env.sh.CNCok"
|
||||
"atomic_configure/setup.bash.AXeEQ"
|
||||
"atomic_configure/local_setup.bash.CL1bf"
|
||||
"atomic_configure/setup.sh.CP3gz"
|
||||
"atomic_configure/local_setup.sh.lq9rU"
|
||||
"atomic_configure/setup.zsh.t1eMb"
|
||||
"atomic_configure/local_setup.zsh.3AsGZ"
|
||||
"atomic_configure/setup.fish.EhTYK"
|
||||
"atomic_configure/local_setup.fish.4kmVG"
|
||||
"atomic_configure/.rosinstall.FIgIC"
|
||||
"atomic_configure/_setup_util.py.UOkBt"
|
||||
"atomic_configure/env.sh.OctUy"
|
||||
"atomic_configure/setup.bash.UXmg2"
|
||||
"atomic_configure/local_setup.bash.6qnvX"
|
||||
"atomic_configure/setup.sh.ULntV"
|
||||
"atomic_configure/local_setup.sh.ehQyK"
|
||||
"atomic_configure/setup.zsh.hShIn"
|
||||
"atomic_configure/local_setup.zsh.xyXmD"
|
||||
"atomic_configure/setup.fish.M5vhp"
|
||||
"atomic_configure/local_setup.fish.gsaDI"
|
||||
"atomic_configure/.rosinstall.5ohxf"
|
||||
"catkin_generated/installspace/_setup_util.py"
|
||||
"catkin_generated/stamps/Project/_setup_util.py.stamp"
|
||||
"catkin_generated/installspace/env.sh"
|
||||
@ -223,6 +185,7 @@ set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"gtest/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"gtest/googlemock/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"gtest/googletest/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"shiyan1/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
# Dependency information for all targets:
|
||||
@ -236,4 +199,21 @@ set(CMAKE_DEPEND_INFO_FILES
|
||||
"gtest/googlemock/CMakeFiles/gmock.dir/DependInfo.cmake"
|
||||
"gtest/googletest/CMakeFiles/gtest_main.dir/DependInfo.cmake"
|
||||
"gtest/googletest/CMakeFiles/gtest.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/nodeA.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/nodeB.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
)
|
882
shiyan1/build/CMakeFiles/Makefile2
Normal file
@ -0,0 +1,882 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/a/shiyan1/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/a/shiyan1/build
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for the build root directory
|
||||
|
||||
# The main recursive "all" target.
|
||||
all: gtest/all
|
||||
all: shiyan1/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# The main recursive "preinstall" target.
|
||||
preinstall: gtest/preinstall
|
||||
preinstall: shiyan1/preinstall
|
||||
|
||||
.PHONY : preinstall
|
||||
|
||||
# The main recursive "clean" target.
|
||||
clean: CMakeFiles/doxygen.dir/clean
|
||||
clean: CMakeFiles/run_tests.dir/clean
|
||||
clean: CMakeFiles/clean_test_results.dir/clean
|
||||
clean: CMakeFiles/tests.dir/clean
|
||||
clean: CMakeFiles/download_extra_data.dir/clean
|
||||
clean: gtest/clean
|
||||
clean: shiyan1/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory gtest
|
||||
|
||||
# Recursive "all" directory target.
|
||||
gtest/all: gtest/googlemock/all
|
||||
|
||||
.PHONY : gtest/all
|
||||
|
||||
# Recursive "preinstall" directory target.
|
||||
gtest/preinstall: gtest/googlemock/preinstall
|
||||
|
||||
.PHONY : gtest/preinstall
|
||||
|
||||
# Recursive "clean" directory target.
|
||||
gtest/clean: gtest/googlemock/clean
|
||||
|
||||
.PHONY : gtest/clean
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory gtest/googlemock
|
||||
|
||||
# Recursive "all" directory target.
|
||||
gtest/googlemock/all: gtest/googletest/all
|
||||
|
||||
.PHONY : gtest/googlemock/all
|
||||
|
||||
# Recursive "preinstall" directory target.
|
||||
gtest/googlemock/preinstall: gtest/googletest/preinstall
|
||||
|
||||
.PHONY : gtest/googlemock/preinstall
|
||||
|
||||
# Recursive "clean" directory target.
|
||||
gtest/googlemock/clean: gtest/googlemock/CMakeFiles/gmock_main.dir/clean
|
||||
gtest/googlemock/clean: gtest/googlemock/CMakeFiles/gmock.dir/clean
|
||||
gtest/googlemock/clean: gtest/googletest/clean
|
||||
|
||||
.PHONY : gtest/googlemock/clean
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory gtest/googletest
|
||||
|
||||
# Recursive "all" directory target.
|
||||
gtest/googletest/all:
|
||||
|
||||
.PHONY : gtest/googletest/all
|
||||
|
||||
# Recursive "preinstall" directory target.
|
||||
gtest/googletest/preinstall:
|
||||
|
||||
.PHONY : gtest/googletest/preinstall
|
||||
|
||||
# Recursive "clean" directory target.
|
||||
gtest/googletest/clean: gtest/googletest/CMakeFiles/gtest_main.dir/clean
|
||||
gtest/googletest/clean: gtest/googletest/CMakeFiles/gtest.dir/clean
|
||||
|
||||
.PHONY : gtest/googletest/clean
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory shiyan1
|
||||
|
||||
# Recursive "all" directory target.
|
||||
shiyan1/all: shiyan1/CMakeFiles/nodeA.dir/all
|
||||
shiyan1/all: shiyan1/CMakeFiles/nodeB.dir/all
|
||||
|
||||
.PHONY : shiyan1/all
|
||||
|
||||
# Recursive "preinstall" directory target.
|
||||
shiyan1/preinstall:
|
||||
|
||||
.PHONY : shiyan1/preinstall
|
||||
|
||||
# Recursive "clean" directory target.
|
||||
shiyan1/clean: shiyan1/CMakeFiles/nodeA.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/nodeB.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/clean
|
||||
shiyan1/clean: shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/clean
|
||||
|
||||
.PHONY : shiyan1/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/doxygen.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/doxygen.dir/all:
|
||||
$(MAKE) -f CMakeFiles/doxygen.dir/build.make CMakeFiles/doxygen.dir/depend
|
||||
$(MAKE) -f CMakeFiles/doxygen.dir/build.make CMakeFiles/doxygen.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target doxygen"
|
||||
.PHONY : CMakeFiles/doxygen.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/doxygen.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/doxygen.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/doxygen.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
doxygen: CMakeFiles/doxygen.dir/rule
|
||||
|
||||
.PHONY : doxygen
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/doxygen.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/doxygen.dir/build.make CMakeFiles/doxygen.dir/clean
|
||||
.PHONY : CMakeFiles/doxygen.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/run_tests.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/run_tests.dir/all:
|
||||
$(MAKE) -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/depend
|
||||
$(MAKE) -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target run_tests"
|
||||
.PHONY : CMakeFiles/run_tests.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/run_tests.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/run_tests.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/run_tests.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
run_tests: CMakeFiles/run_tests.dir/rule
|
||||
|
||||
.PHONY : run_tests
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/run_tests.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/clean
|
||||
.PHONY : CMakeFiles/run_tests.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/clean_test_results.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/clean_test_results.dir/all:
|
||||
$(MAKE) -f CMakeFiles/clean_test_results.dir/build.make CMakeFiles/clean_test_results.dir/depend
|
||||
$(MAKE) -f CMakeFiles/clean_test_results.dir/build.make CMakeFiles/clean_test_results.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target clean_test_results"
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/clean_test_results.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/clean_test_results.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
clean_test_results: CMakeFiles/clean_test_results.dir/rule
|
||||
|
||||
.PHONY : clean_test_results
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/clean_test_results.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/clean_test_results.dir/build.make CMakeFiles/clean_test_results.dir/clean
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/tests.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/tests.dir/all:
|
||||
$(MAKE) -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/depend
|
||||
$(MAKE) -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target tests"
|
||||
.PHONY : CMakeFiles/tests.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/tests.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/tests.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/tests.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
tests: CMakeFiles/tests.dir/rule
|
||||
|
||||
.PHONY : tests
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/tests.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/clean
|
||||
.PHONY : CMakeFiles/tests.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/download_extra_data.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/download_extra_data.dir/all:
|
||||
$(MAKE) -f CMakeFiles/download_extra_data.dir/build.make CMakeFiles/download_extra_data.dir/depend
|
||||
$(MAKE) -f CMakeFiles/download_extra_data.dir/build.make CMakeFiles/download_extra_data.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target download_extra_data"
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/download_extra_data.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/download_extra_data.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
download_extra_data: CMakeFiles/download_extra_data.dir/rule
|
||||
|
||||
.PHONY : download_extra_data
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/download_extra_data.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/download_extra_data.dir/build.make CMakeFiles/download_extra_data.dir/clean
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target gtest/googlemock/CMakeFiles/gmock_main.dir
|
||||
|
||||
# All Build rule for target.
|
||||
gtest/googlemock/CMakeFiles/gmock_main.dir/all: gtest/googlemock/CMakeFiles/gmock.dir/all
|
||||
gtest/googlemock/CMakeFiles/gmock_main.dir/all: gtest/googletest/CMakeFiles/gtest.dir/all
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock_main.dir/build.make gtest/googlemock/CMakeFiles/gmock_main.dir/depend
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock_main.dir/build.make gtest/googlemock/CMakeFiles/gmock_main.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num=3,4 "Built target gmock_main"
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock_main.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
gtest/googlemock/CMakeFiles/gmock_main.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 6
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gtest/googlemock/CMakeFiles/gmock_main.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock_main.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
gmock_main: gtest/googlemock/CMakeFiles/gmock_main.dir/rule
|
||||
|
||||
.PHONY : gmock_main
|
||||
|
||||
# clean rule for target.
|
||||
gtest/googlemock/CMakeFiles/gmock_main.dir/clean:
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock_main.dir/build.make gtest/googlemock/CMakeFiles/gmock_main.dir/clean
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock_main.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target gtest/googlemock/CMakeFiles/gmock.dir
|
||||
|
||||
# All Build rule for target.
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/all: gtest/googletest/CMakeFiles/gtest.dir/all
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock.dir/build.make gtest/googlemock/CMakeFiles/gmock.dir/depend
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock.dir/build.make gtest/googlemock/CMakeFiles/gmock.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num=1,2 "Built target gmock"
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 4
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gtest/googlemock/CMakeFiles/gmock.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
gmock: gtest/googlemock/CMakeFiles/gmock.dir/rule
|
||||
|
||||
.PHONY : gmock
|
||||
|
||||
# clean rule for target.
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/clean:
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock.dir/build.make gtest/googlemock/CMakeFiles/gmock.dir/clean
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target gtest/googletest/CMakeFiles/gtest_main.dir
|
||||
|
||||
# All Build rule for target.
|
||||
gtest/googletest/CMakeFiles/gtest_main.dir/all: gtest/googletest/CMakeFiles/gtest.dir/all
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest_main.dir/build.make gtest/googletest/CMakeFiles/gtest_main.dir/depend
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest_main.dir/build.make gtest/googletest/CMakeFiles/gtest_main.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num=7,8 "Built target gtest_main"
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest_main.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
gtest/googletest/CMakeFiles/gtest_main.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 4
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gtest/googletest/CMakeFiles/gtest_main.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest_main.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
gtest_main: gtest/googletest/CMakeFiles/gtest_main.dir/rule
|
||||
|
||||
.PHONY : gtest_main
|
||||
|
||||
# clean rule for target.
|
||||
gtest/googletest/CMakeFiles/gtest_main.dir/clean:
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest_main.dir/build.make gtest/googletest/CMakeFiles/gtest_main.dir/clean
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest_main.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target gtest/googletest/CMakeFiles/gtest.dir
|
||||
|
||||
# All Build rule for target.
|
||||
gtest/googletest/CMakeFiles/gtest.dir/all:
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest.dir/build.make gtest/googletest/CMakeFiles/gtest.dir/depend
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest.dir/build.make gtest/googletest/CMakeFiles/gtest.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num=5,6 "Built target gtest"
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
gtest/googletest/CMakeFiles/gtest.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 2
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gtest/googletest/CMakeFiles/gtest.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
gtest: gtest/googletest/CMakeFiles/gtest.dir/rule
|
||||
|
||||
.PHONY : gtest
|
||||
|
||||
# clean rule for target.
|
||||
gtest/googletest/CMakeFiles/gtest.dir/clean:
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest.dir/build.make gtest/googletest/CMakeFiles/gtest.dir/clean
|
||||
.PHONY : gtest/googletest/CMakeFiles/gtest.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/nodeA.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/nodeA.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/nodeA.dir/build.make shiyan1/CMakeFiles/nodeA.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/nodeA.dir/build.make shiyan1/CMakeFiles/nodeA.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num=9,10 "Built target nodeA"
|
||||
.PHONY : shiyan1/CMakeFiles/nodeA.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/nodeA.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 2
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/nodeA.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/nodeA.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
nodeA: shiyan1/CMakeFiles/nodeA.dir/rule
|
||||
|
||||
.PHONY : nodeA
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/nodeA.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/nodeA.dir/build.make shiyan1/CMakeFiles/nodeA.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/nodeA.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target std_msgs_generate_messages_py"
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
std_msgs_generate_messages_py: shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/rule
|
||||
|
||||
.PHONY : std_msgs_generate_messages_py
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target std_msgs_generate_messages_nodejs"
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
std_msgs_generate_messages_nodejs: shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/rule
|
||||
|
||||
.PHONY : std_msgs_generate_messages_nodejs
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target roscpp_generate_messages_cpp"
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
roscpp_generate_messages_cpp: shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/rule
|
||||
|
||||
.PHONY : roscpp_generate_messages_cpp
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target roscpp_generate_messages_eus"
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
roscpp_generate_messages_eus: shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/rule
|
||||
|
||||
.PHONY : roscpp_generate_messages_eus
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target rosgraph_msgs_generate_messages_nodejs"
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
rosgraph_msgs_generate_messages_nodejs: shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/rule
|
||||
|
||||
.PHONY : rosgraph_msgs_generate_messages_nodejs
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target std_msgs_generate_messages_lisp"
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
std_msgs_generate_messages_lisp: shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/rule
|
||||
|
||||
.PHONY : std_msgs_generate_messages_lisp
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/roscpp_generate_messages_py.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target roscpp_generate_messages_py"
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
roscpp_generate_messages_py: shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/rule
|
||||
|
||||
.PHONY : roscpp_generate_messages_py
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target std_msgs_generate_messages_eus"
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
std_msgs_generate_messages_eus: shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/rule
|
||||
|
||||
.PHONY : std_msgs_generate_messages_eus
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target roscpp_generate_messages_nodejs"
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
roscpp_generate_messages_nodejs: shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/rule
|
||||
|
||||
.PHONY : roscpp_generate_messages_nodejs
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target rosgraph_msgs_generate_messages_cpp"
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
rosgraph_msgs_generate_messages_cpp: shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/rule
|
||||
|
||||
.PHONY : rosgraph_msgs_generate_messages_cpp
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target std_msgs_generate_messages_cpp"
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
std_msgs_generate_messages_cpp: shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/rule
|
||||
|
||||
.PHONY : std_msgs_generate_messages_cpp
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target rosgraph_msgs_generate_messages_eus"
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
rosgraph_msgs_generate_messages_eus: shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/rule
|
||||
|
||||
.PHONY : rosgraph_msgs_generate_messages_eus
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/nodeB.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/nodeB.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/nodeB.dir/build.make shiyan1/CMakeFiles/nodeB.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/nodeB.dir/build.make shiyan1/CMakeFiles/nodeB.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num=11,12 "Built target nodeB"
|
||||
.PHONY : shiyan1/CMakeFiles/nodeB.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/nodeB.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 2
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/nodeB.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/nodeB.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
nodeB: shiyan1/CMakeFiles/nodeB.dir/rule
|
||||
|
||||
.PHONY : nodeB
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/nodeB.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/nodeB.dir/build.make shiyan1/CMakeFiles/nodeB.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/nodeB.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target rosgraph_msgs_generate_messages_lisp"
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
rosgraph_msgs_generate_messages_lisp: shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/rule
|
||||
|
||||
.PHONY : rosgraph_msgs_generate_messages_lisp
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target roscpp_generate_messages_lisp"
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
roscpp_generate_messages_lisp: shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/rule
|
||||
|
||||
.PHONY : roscpp_generate_messages_lisp
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir
|
||||
|
||||
# All Build rule for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/all:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/depend
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/a/shiyan1/build/CMakeFiles --progress-num= "Built target rosgraph_msgs_generate_messages_py"
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
$(MAKE) -f CMakeFiles/Makefile2 shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
rosgraph_msgs_generate_messages_py: shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/rule
|
||||
|
||||
.PHONY : rosgraph_msgs_generate_messages_py
|
||||
|
||||
# clean rule for target.
|
||||
shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/clean:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/clean
|
||||
.PHONY : shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
61
shiyan1/build/CMakeFiles/TargetDirectories.txt
Normal file
@ -0,0 +1,61 @@
|
||||
/home/a/shiyan1/build/CMakeFiles/install/strip.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/install/local.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/install.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/list_install_components.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/rebuild_cache.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/edit_cache.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/test.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/doxygen.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/run_tests.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/clean_test_results.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/tests.dir
|
||||
/home/a/shiyan1/build/CMakeFiles/download_extra_data.dir
|
||||
/home/a/shiyan1/build/gtest/CMakeFiles/install/strip.dir
|
||||
/home/a/shiyan1/build/gtest/CMakeFiles/install/local.dir
|
||||
/home/a/shiyan1/build/gtest/CMakeFiles/install.dir
|
||||
/home/a/shiyan1/build/gtest/CMakeFiles/list_install_components.dir
|
||||
/home/a/shiyan1/build/gtest/CMakeFiles/rebuild_cache.dir
|
||||
/home/a/shiyan1/build/gtest/CMakeFiles/edit_cache.dir
|
||||
/home/a/shiyan1/build/gtest/CMakeFiles/test.dir
|
||||
/home/a/shiyan1/build/gtest/googlemock/CMakeFiles/install/strip.dir
|
||||
/home/a/shiyan1/build/gtest/googlemock/CMakeFiles/install/local.dir
|
||||
/home/a/shiyan1/build/gtest/googlemock/CMakeFiles/install.dir
|
||||
/home/a/shiyan1/build/gtest/googlemock/CMakeFiles/list_install_components.dir
|
||||
/home/a/shiyan1/build/gtest/googlemock/CMakeFiles/rebuild_cache.dir
|
||||
/home/a/shiyan1/build/gtest/googlemock/CMakeFiles/edit_cache.dir
|
||||
/home/a/shiyan1/build/gtest/googlemock/CMakeFiles/test.dir
|
||||
/home/a/shiyan1/build/gtest/googlemock/CMakeFiles/gmock_main.dir
|
||||
/home/a/shiyan1/build/gtest/googlemock/CMakeFiles/gmock.dir
|
||||
/home/a/shiyan1/build/gtest/googletest/CMakeFiles/install/strip.dir
|
||||
/home/a/shiyan1/build/gtest/googletest/CMakeFiles/install/local.dir
|
||||
/home/a/shiyan1/build/gtest/googletest/CMakeFiles/install.dir
|
||||
/home/a/shiyan1/build/gtest/googletest/CMakeFiles/list_install_components.dir
|
||||
/home/a/shiyan1/build/gtest/googletest/CMakeFiles/rebuild_cache.dir
|
||||
/home/a/shiyan1/build/gtest/googletest/CMakeFiles/edit_cache.dir
|
||||
/home/a/shiyan1/build/gtest/googletest/CMakeFiles/test.dir
|
||||
/home/a/shiyan1/build/gtest/googletest/CMakeFiles/gtest_main.dir
|
||||
/home/a/shiyan1/build/gtest/googletest/CMakeFiles/gtest.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/install/local.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/rebuild_cache.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/edit_cache.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/test.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/nodeA.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/list_install_components.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/roscpp_generate_messages_py.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/install.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/install/strip.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/nodeB.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir
|
||||
/home/a/shiyan1/build/shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir
|
@ -43,10 +43,10 @@ RM = /usr/bin/cmake -E remove -f
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/zmn/Gitea/ROS_Learn/src
|
||||
CMAKE_SOURCE_DIR = /home/a/shiyan1/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/zmn/Gitea/ROS_Learn/build
|
||||
CMAKE_BINARY_DIR = /home/a/shiyan1/build
|
||||
|
||||
# Utility rule file for clean_test_results.
|
||||
|
||||
@ -54,7 +54,7 @@ CMAKE_BINARY_DIR = /home/zmn/Gitea/ROS_Learn/build
|
||||
include CMakeFiles/clean_test_results.dir/progress.make
|
||||
|
||||
CMakeFiles/clean_test_results:
|
||||
/usr/bin/python3 /opt/ros/noetic/share/catkin/cmake/test/remove_test_results.py /home/zmn/Gitea/ROS_Learn/build/test_results
|
||||
/usr/bin/python3 /opt/ros/noetic/share/catkin/cmake/test/remove_test_results.py /home/a/shiyan1/build/test_results
|
||||
|
||||
clean_test_results: CMakeFiles/clean_test_results
|
||||
clean_test_results: CMakeFiles/clean_test_results.dir/build.make
|
||||
@ -71,6 +71,6 @@ CMakeFiles/clean_test_results.dir/clean:
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/clean
|
||||
|
||||
CMakeFiles/clean_test_results.dir/depend:
|
||||
cd /home/zmn/Gitea/ROS_Learn/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/zmn/Gitea/ROS_Learn/src /home/zmn/Gitea/ROS_Learn/src /home/zmn/Gitea/ROS_Learn/build /home/zmn/Gitea/ROS_Learn/build /home/zmn/Gitea/ROS_Learn/build/CMakeFiles/clean_test_results.dir/DependInfo.cmake --color=$(COLOR)
|
||||
cd /home/a/shiyan1/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/a/shiyan1/src /home/a/shiyan1/src /home/a/shiyan1/build /home/a/shiyan1/build /home/a/shiyan1/build/CMakeFiles/clean_test_results.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/depend
|
||||
|
@ -43,10 +43,10 @@ RM = /usr/bin/cmake -E remove -f
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/zmn/Gitea/ROS_Learn/src
|
||||
CMAKE_SOURCE_DIR = /home/a/shiyan1/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/zmn/Gitea/ROS_Learn/build
|
||||
CMAKE_BINARY_DIR = /home/a/shiyan1/build
|
||||
|
||||
# Utility rule file for download_extra_data.
|
||||
|
||||
@ -67,6 +67,6 @@ CMakeFiles/download_extra_data.dir/clean:
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/clean
|
||||
|
||||
CMakeFiles/download_extra_data.dir/depend:
|
||||
cd /home/zmn/Gitea/ROS_Learn/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/zmn/Gitea/ROS_Learn/src /home/zmn/Gitea/ROS_Learn/src /home/zmn/Gitea/ROS_Learn/build /home/zmn/Gitea/ROS_Learn/build /home/zmn/Gitea/ROS_Learn/build/CMakeFiles/download_extra_data.dir/DependInfo.cmake --color=$(COLOR)
|
||||
cd /home/a/shiyan1/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/a/shiyan1/src /home/a/shiyan1/src /home/a/shiyan1/build /home/a/shiyan1/build /home/a/shiyan1/build/CMakeFiles/download_extra_data.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/depend
|
||||
|
@ -43,10 +43,10 @@ RM = /usr/bin/cmake -E remove -f
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/zmn/Gitea/ROS_Learn/src
|
||||
CMAKE_SOURCE_DIR = /home/a/shiyan1/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/zmn/Gitea/ROS_Learn/build
|
||||
CMAKE_BINARY_DIR = /home/a/shiyan1/build
|
||||
|
||||
# Utility rule file for doxygen.
|
||||
|
||||
@ -67,6 +67,6 @@ CMakeFiles/doxygen.dir/clean:
|
||||
.PHONY : CMakeFiles/doxygen.dir/clean
|
||||
|
||||
CMakeFiles/doxygen.dir/depend:
|
||||
cd /home/zmn/Gitea/ROS_Learn/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/zmn/Gitea/ROS_Learn/src /home/zmn/Gitea/ROS_Learn/src /home/zmn/Gitea/ROS_Learn/build /home/zmn/Gitea/ROS_Learn/build /home/zmn/Gitea/ROS_Learn/build/CMakeFiles/doxygen.dir/DependInfo.cmake --color=$(COLOR)
|
||||
cd /home/a/shiyan1/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/a/shiyan1/src /home/a/shiyan1/src /home/a/shiyan1/build /home/a/shiyan1/build /home/a/shiyan1/build/CMakeFiles/doxygen.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/doxygen.dir/depend
|
||||
|
1
shiyan1/build/CMakeFiles/progress.marks
Normal file
@ -0,0 +1 @@
|
||||
4
|
@ -43,10 +43,10 @@ RM = /usr/bin/cmake -E remove -f
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/zmn/Gitea/ROS_Learn/src
|
||||
CMAKE_SOURCE_DIR = /home/a/shiyan1/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/zmn/Gitea/ROS_Learn/build
|
||||
CMAKE_BINARY_DIR = /home/a/shiyan1/build
|
||||
|
||||
# Utility rule file for run_tests.
|
||||
|
||||
@ -67,6 +67,6 @@ CMakeFiles/run_tests.dir/clean:
|
||||
.PHONY : CMakeFiles/run_tests.dir/clean
|
||||
|
||||
CMakeFiles/run_tests.dir/depend:
|
||||
cd /home/zmn/Gitea/ROS_Learn/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/zmn/Gitea/ROS_Learn/src /home/zmn/Gitea/ROS_Learn/src /home/zmn/Gitea/ROS_Learn/build /home/zmn/Gitea/ROS_Learn/build /home/zmn/Gitea/ROS_Learn/build/CMakeFiles/run_tests.dir/DependInfo.cmake --color=$(COLOR)
|
||||
cd /home/a/shiyan1/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/a/shiyan1/src /home/a/shiyan1/src /home/a/shiyan1/build /home/a/shiyan1/build /home/a/shiyan1/build/CMakeFiles/run_tests.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/run_tests.dir/depend
|
||||
|
@ -43,10 +43,10 @@ RM = /usr/bin/cmake -E remove -f
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/zmn/Gitea/ROS_Learn/src
|
||||
CMAKE_SOURCE_DIR = /home/a/shiyan1/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/zmn/Gitea/ROS_Learn/build
|
||||
CMAKE_BINARY_DIR = /home/a/shiyan1/build
|
||||
|
||||
# Utility rule file for tests.
|
||||
|
||||
@ -67,6 +67,6 @@ CMakeFiles/tests.dir/clean:
|
||||
.PHONY : CMakeFiles/tests.dir/clean
|
||||
|
||||
CMakeFiles/tests.dir/depend:
|
||||
cd /home/zmn/Gitea/ROS_Learn/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/zmn/Gitea/ROS_Learn/src /home/zmn/Gitea/ROS_Learn/src /home/zmn/Gitea/ROS_Learn/build /home/zmn/Gitea/ROS_Learn/build /home/zmn/Gitea/ROS_Learn/build/CMakeFiles/tests.dir/DependInfo.cmake --color=$(COLOR)
|
||||
cd /home/a/shiyan1/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/a/shiyan1/src /home/a/shiyan1/src /home/a/shiyan1/build /home/a/shiyan1/build /home/a/shiyan1/build/CMakeFiles/tests.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/tests.dir/depend
|
||||
|
@ -4,14 +4,14 @@
|
||||
|
||||
|
||||
# Configuration directories and files
|
||||
SourceDirectory: /home/zmn/Gitea/ROS_Learn/src
|
||||
BuildDirectory: /home/zmn/Gitea/ROS_Learn/build
|
||||
SourceDirectory: /home/a/shiyan1/src
|
||||
BuildDirectory: /home/a/shiyan1/build
|
||||
|
||||
# Where to place the cost data store
|
||||
CostDataFile:
|
||||
|
||||
# Site is something like machine.domain, i.e. pragmatic.crd
|
||||
Site: DreamLife
|
||||
Site: 123
|
||||
|
||||
# Build name is osname-revision-compiler, i.e. Linux-2.4.2-2smp-c++
|
||||
BuildName:
|
||||
@ -26,7 +26,7 @@ SubmitURL:
|
||||
NightlyStartTime:
|
||||
|
||||
# Commands for the build/test/submit cycle
|
||||
ConfigureCommand: "/usr/bin/cmake" "/home/zmn/Gitea/ROS_Learn/src"
|
||||
ConfigureCommand: "/usr/bin/cmake" "/home/a/shiyan1/src"
|
||||
MakeCommand:
|
||||
DefaultCTestConfigurationType:
|
||||
|
@ -1,7 +1,8 @@
|
||||
# CMake generated Testfile for
|
||||
# Source directory: /home/zmn/Gitea/ROS_Learn/src
|
||||
# Build directory: /home/zmn/Gitea/ROS_Learn/build
|
||||
# Source directory: /home/a/shiyan1/src
|
||||
# Build directory: /home/a/shiyan1/build
|
||||
#
|
||||
# This file includes the relevant testing commands required for
|
||||
# testing this directory and lists subdirectories to be tested as well.
|
||||
subdirs("gtest")
|
||||
subdirs("shiyan1")
|
560
shiyan1/build/Makefile
Normal file
@ -0,0 +1,560 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/a/shiyan1/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/a/shiyan1/build
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target test
|
||||
test:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
|
||||
/usr/bin/ctest --force-new-ctest-process $(ARGS)
|
||||
.PHONY : test
|
||||
|
||||
# Special rule for the target test
|
||||
test/fast: test
|
||||
|
||||
.PHONY : test/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles /home/a/shiyan1/build/CMakeFiles/progress.marks
|
||||
$(MAKE) -f CMakeFiles/Makefile2 all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/a/shiyan1/build/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
$(MAKE) -f CMakeFiles/Makefile2 clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named doxygen
|
||||
|
||||
# Build rule for target.
|
||||
doxygen: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 doxygen
|
||||
.PHONY : doxygen
|
||||
|
||||
# fast build rule for target.
|
||||
doxygen/fast:
|
||||
$(MAKE) -f CMakeFiles/doxygen.dir/build.make CMakeFiles/doxygen.dir/build
|
||||
.PHONY : doxygen/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named run_tests
|
||||
|
||||
# Build rule for target.
|
||||
run_tests: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 run_tests
|
||||
.PHONY : run_tests
|
||||
|
||||
# fast build rule for target.
|
||||
run_tests/fast:
|
||||
$(MAKE) -f CMakeFiles/run_tests.dir/build.make CMakeFiles/run_tests.dir/build
|
||||
.PHONY : run_tests/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named clean_test_results
|
||||
|
||||
# Build rule for target.
|
||||
clean_test_results: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 clean_test_results
|
||||
.PHONY : clean_test_results
|
||||
|
||||
# fast build rule for target.
|
||||
clean_test_results/fast:
|
||||
$(MAKE) -f CMakeFiles/clean_test_results.dir/build.make CMakeFiles/clean_test_results.dir/build
|
||||
.PHONY : clean_test_results/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named tests
|
||||
|
||||
# Build rule for target.
|
||||
tests: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 tests
|
||||
.PHONY : tests
|
||||
|
||||
# fast build rule for target.
|
||||
tests/fast:
|
||||
$(MAKE) -f CMakeFiles/tests.dir/build.make CMakeFiles/tests.dir/build
|
||||
.PHONY : tests/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named download_extra_data
|
||||
|
||||
# Build rule for target.
|
||||
download_extra_data: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 download_extra_data
|
||||
.PHONY : download_extra_data
|
||||
|
||||
# fast build rule for target.
|
||||
download_extra_data/fast:
|
||||
$(MAKE) -f CMakeFiles/download_extra_data.dir/build.make CMakeFiles/download_extra_data.dir/build
|
||||
.PHONY : download_extra_data/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named gmock_main
|
||||
|
||||
# Build rule for target.
|
||||
gmock_main: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gmock_main
|
||||
.PHONY : gmock_main
|
||||
|
||||
# fast build rule for target.
|
||||
gmock_main/fast:
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock_main.dir/build.make gtest/googlemock/CMakeFiles/gmock_main.dir/build
|
||||
.PHONY : gmock_main/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named gmock
|
||||
|
||||
# Build rule for target.
|
||||
gmock: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gmock
|
||||
.PHONY : gmock
|
||||
|
||||
# fast build rule for target.
|
||||
gmock/fast:
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock.dir/build.make gtest/googlemock/CMakeFiles/gmock.dir/build
|
||||
.PHONY : gmock/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named gtest_main
|
||||
|
||||
# Build rule for target.
|
||||
gtest_main: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gtest_main
|
||||
.PHONY : gtest_main
|
||||
|
||||
# fast build rule for target.
|
||||
gtest_main/fast:
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest_main.dir/build.make gtest/googletest/CMakeFiles/gtest_main.dir/build
|
||||
.PHONY : gtest_main/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named gtest
|
||||
|
||||
# Build rule for target.
|
||||
gtest: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 gtest
|
||||
.PHONY : gtest
|
||||
|
||||
# fast build rule for target.
|
||||
gtest/fast:
|
||||
$(MAKE) -f gtest/googletest/CMakeFiles/gtest.dir/build.make gtest/googletest/CMakeFiles/gtest.dir/build
|
||||
.PHONY : gtest/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named nodeA
|
||||
|
||||
# Build rule for target.
|
||||
nodeA: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 nodeA
|
||||
.PHONY : nodeA
|
||||
|
||||
# fast build rule for target.
|
||||
nodeA/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/nodeA.dir/build.make shiyan1/CMakeFiles/nodeA.dir/build
|
||||
.PHONY : nodeA/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named std_msgs_generate_messages_py
|
||||
|
||||
# Build rule for target.
|
||||
std_msgs_generate_messages_py: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 std_msgs_generate_messages_py
|
||||
.PHONY : std_msgs_generate_messages_py
|
||||
|
||||
# fast build rule for target.
|
||||
std_msgs_generate_messages_py/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_py.dir/build
|
||||
.PHONY : std_msgs_generate_messages_py/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named std_msgs_generate_messages_nodejs
|
||||
|
||||
# Build rule for target.
|
||||
std_msgs_generate_messages_nodejs: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 std_msgs_generate_messages_nodejs
|
||||
.PHONY : std_msgs_generate_messages_nodejs
|
||||
|
||||
# fast build rule for target.
|
||||
std_msgs_generate_messages_nodejs/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_nodejs.dir/build
|
||||
.PHONY : std_msgs_generate_messages_nodejs/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named roscpp_generate_messages_cpp
|
||||
|
||||
# Build rule for target.
|
||||
roscpp_generate_messages_cpp: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 roscpp_generate_messages_cpp
|
||||
.PHONY : roscpp_generate_messages_cpp
|
||||
|
||||
# fast build rule for target.
|
||||
roscpp_generate_messages_cpp/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_cpp.dir/build
|
||||
.PHONY : roscpp_generate_messages_cpp/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named roscpp_generate_messages_eus
|
||||
|
||||
# Build rule for target.
|
||||
roscpp_generate_messages_eus: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 roscpp_generate_messages_eus
|
||||
.PHONY : roscpp_generate_messages_eus
|
||||
|
||||
# fast build rule for target.
|
||||
roscpp_generate_messages_eus/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_eus.dir/build
|
||||
.PHONY : roscpp_generate_messages_eus/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named rosgraph_msgs_generate_messages_nodejs
|
||||
|
||||
# Build rule for target.
|
||||
rosgraph_msgs_generate_messages_nodejs: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 rosgraph_msgs_generate_messages_nodejs
|
||||
.PHONY : rosgraph_msgs_generate_messages_nodejs
|
||||
|
||||
# fast build rule for target.
|
||||
rosgraph_msgs_generate_messages_nodejs/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/build
|
||||
.PHONY : rosgraph_msgs_generate_messages_nodejs/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named std_msgs_generate_messages_lisp
|
||||
|
||||
# Build rule for target.
|
||||
std_msgs_generate_messages_lisp: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 std_msgs_generate_messages_lisp
|
||||
.PHONY : std_msgs_generate_messages_lisp
|
||||
|
||||
# fast build rule for target.
|
||||
std_msgs_generate_messages_lisp/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_lisp.dir/build
|
||||
.PHONY : std_msgs_generate_messages_lisp/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named roscpp_generate_messages_py
|
||||
|
||||
# Build rule for target.
|
||||
roscpp_generate_messages_py: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 roscpp_generate_messages_py
|
||||
.PHONY : roscpp_generate_messages_py
|
||||
|
||||
# fast build rule for target.
|
||||
roscpp_generate_messages_py/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_py.dir/build
|
||||
.PHONY : roscpp_generate_messages_py/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named std_msgs_generate_messages_eus
|
||||
|
||||
# Build rule for target.
|
||||
std_msgs_generate_messages_eus: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 std_msgs_generate_messages_eus
|
||||
.PHONY : std_msgs_generate_messages_eus
|
||||
|
||||
# fast build rule for target.
|
||||
std_msgs_generate_messages_eus/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_eus.dir/build
|
||||
.PHONY : std_msgs_generate_messages_eus/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named roscpp_generate_messages_nodejs
|
||||
|
||||
# Build rule for target.
|
||||
roscpp_generate_messages_nodejs: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 roscpp_generate_messages_nodejs
|
||||
.PHONY : roscpp_generate_messages_nodejs
|
||||
|
||||
# fast build rule for target.
|
||||
roscpp_generate_messages_nodejs/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_nodejs.dir/build
|
||||
.PHONY : roscpp_generate_messages_nodejs/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named rosgraph_msgs_generate_messages_cpp
|
||||
|
||||
# Build rule for target.
|
||||
rosgraph_msgs_generate_messages_cpp: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 rosgraph_msgs_generate_messages_cpp
|
||||
.PHONY : rosgraph_msgs_generate_messages_cpp
|
||||
|
||||
# fast build rule for target.
|
||||
rosgraph_msgs_generate_messages_cpp/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/build
|
||||
.PHONY : rosgraph_msgs_generate_messages_cpp/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named std_msgs_generate_messages_cpp
|
||||
|
||||
# Build rule for target.
|
||||
std_msgs_generate_messages_cpp: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 std_msgs_generate_messages_cpp
|
||||
.PHONY : std_msgs_generate_messages_cpp
|
||||
|
||||
# fast build rule for target.
|
||||
std_msgs_generate_messages_cpp/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/build.make shiyan1/CMakeFiles/std_msgs_generate_messages_cpp.dir/build
|
||||
.PHONY : std_msgs_generate_messages_cpp/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named rosgraph_msgs_generate_messages_eus
|
||||
|
||||
# Build rule for target.
|
||||
rosgraph_msgs_generate_messages_eus: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 rosgraph_msgs_generate_messages_eus
|
||||
.PHONY : rosgraph_msgs_generate_messages_eus
|
||||
|
||||
# fast build rule for target.
|
||||
rosgraph_msgs_generate_messages_eus/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/build
|
||||
.PHONY : rosgraph_msgs_generate_messages_eus/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named nodeB
|
||||
|
||||
# Build rule for target.
|
||||
nodeB: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 nodeB
|
||||
.PHONY : nodeB
|
||||
|
||||
# fast build rule for target.
|
||||
nodeB/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/nodeB.dir/build.make shiyan1/CMakeFiles/nodeB.dir/build
|
||||
.PHONY : nodeB/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named rosgraph_msgs_generate_messages_lisp
|
||||
|
||||
# Build rule for target.
|
||||
rosgraph_msgs_generate_messages_lisp: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 rosgraph_msgs_generate_messages_lisp
|
||||
.PHONY : rosgraph_msgs_generate_messages_lisp
|
||||
|
||||
# fast build rule for target.
|
||||
rosgraph_msgs_generate_messages_lisp/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/build
|
||||
.PHONY : rosgraph_msgs_generate_messages_lisp/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named roscpp_generate_messages_lisp
|
||||
|
||||
# Build rule for target.
|
||||
roscpp_generate_messages_lisp: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 roscpp_generate_messages_lisp
|
||||
.PHONY : roscpp_generate_messages_lisp
|
||||
|
||||
# fast build rule for target.
|
||||
roscpp_generate_messages_lisp/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/build.make shiyan1/CMakeFiles/roscpp_generate_messages_lisp.dir/build
|
||||
.PHONY : roscpp_generate_messages_lisp/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named rosgraph_msgs_generate_messages_py
|
||||
|
||||
# Build rule for target.
|
||||
rosgraph_msgs_generate_messages_py: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 rosgraph_msgs_generate_messages_py
|
||||
.PHONY : rosgraph_msgs_generate_messages_py
|
||||
|
||||
# fast build rule for target.
|
||||
rosgraph_msgs_generate_messages_py/fast:
|
||||
$(MAKE) -f shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/build.make shiyan1/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/build
|
||||
.PHONY : rosgraph_msgs_generate_messages_py/fast
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... install/strip"
|
||||
@echo "... install/local"
|
||||
@echo "... install"
|
||||
@echo "... list_install_components"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... edit_cache"
|
||||
@echo "... test"
|
||||
@echo "... doxygen"
|
||||
@echo "... run_tests"
|
||||
@echo "... clean_test_results"
|
||||
@echo "... tests"
|
||||
@echo "... download_extra_data"
|
||||
@echo "... gmock_main"
|
||||
@echo "... gmock"
|
||||
@echo "... gtest_main"
|
||||
@echo "... gtest"
|
||||
@echo "... nodeA"
|
||||
@echo "... std_msgs_generate_messages_py"
|
||||
@echo "... std_msgs_generate_messages_nodejs"
|
||||
@echo "... roscpp_generate_messages_cpp"
|
||||
@echo "... roscpp_generate_messages_eus"
|
||||
@echo "... rosgraph_msgs_generate_messages_nodejs"
|
||||
@echo "... std_msgs_generate_messages_lisp"
|
||||
@echo "... roscpp_generate_messages_py"
|
||||
@echo "... std_msgs_generate_messages_eus"
|
||||
@echo "... roscpp_generate_messages_nodejs"
|
||||
@echo "... rosgraph_msgs_generate_messages_cpp"
|
||||
@echo "... std_msgs_generate_messages_cpp"
|
||||
@echo "... rosgraph_msgs_generate_messages_eus"
|
||||
@echo "... nodeB"
|
||||
@echo "... rosgraph_msgs_generate_messages_lisp"
|
||||
@echo "... roscpp_generate_messages_lisp"
|
||||
@echo "... rosgraph_msgs_generate_messages_py"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
2
shiyan1/build/atomic_configure/.rosinstall.5ohxf
Normal file
@ -0,0 +1,2 @@
|
||||
- setup-file:
|
||||
local-name: /home/a/shiyan1/devel/setup.sh
|
2
shiyan1/build/atomic_configure/.rosinstall.A3zDw
Normal file
@ -0,0 +1,2 @@
|
||||
- setup-file:
|
||||
local-name: /home/a/shiyan1/devel/setup.sh
|
2
shiyan1/build/atomic_configure/.rosinstall.FZrBF
Normal file
@ -0,0 +1,2 @@
|
||||
- setup-file:
|
||||
local-name: /home/a/shiyan1/devel/setup.sh
|
2
shiyan1/build/atomic_configure/.rosinstall.QQJK5
Normal file
@ -0,0 +1,2 @@
|
||||
- setup-file:
|
||||
local-name: /home/a/shiyan1/devel/setup.sh
|
2
shiyan1/build/atomic_configure/.rosinstall.WFJEy
Normal file
@ -0,0 +1,2 @@
|
||||
- setup-file:
|
||||
local-name: /home/a/shiyan1/devel/setup.sh
|
2
shiyan1/build/atomic_configure/.rosinstall.pIpTR
Normal file
@ -0,0 +1,2 @@
|
||||
- setup-file:
|
||||
local-name: /home/a/shiyan1/devel/setup.sh
|
2
shiyan1/build/atomic_configure/.rosinstall.pXMzD
Normal file
@ -0,0 +1,2 @@
|
||||
- setup-file:
|
||||
local-name: /home/a/shiyan1/devel/setup.sh
|
2
shiyan1/build/atomic_configure/.rosinstall.z86iu
Normal file
@ -0,0 +1,2 @@
|
||||
- setup-file:
|
||||
local-name: /home/a/shiyan1/devel/setup.sh
|
2
build/atomic_configure/_setup_util.py.BYXU0 → shiyan1/build/atomic_configure/_setup_util.py.1CW8U
Executable file → Normal file
@ -268,7 +268,7 @@ if __name__ == '__main__':
|
||||
|
||||
if not args.local:
|
||||
# environment at generation time
|
||||
CMAKE_PREFIX_PATH = r'/home/zmn/LocalSend/ROS/devel;/home/zmn/LocalSend/shiyan/devel;/opt/ros/noetic'.split(';')
|
||||
CMAKE_PREFIX_PATH = r'/home/a/demo/devel;/opt/ros/noetic'.split(';')
|
||||
else:
|
||||
# don't consider any other prefix path than this one
|
||||
CMAKE_PREFIX_PATH = []
|
304
shiyan1/build/atomic_configure/_setup_util.py.5AJ6r
Normal file
@ -0,0 +1,304 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Software License Agreement (BSD License)
|
||||
#
|
||||
# Copyright (c) 2012, Willow Garage, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of Willow Garage, Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
"""This file generates shell code for the setup.SHELL scripts to set environment variables."""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import copy
|
||||
import errno
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
CATKIN_MARKER_FILE = '.catkin'
|
||||
|
||||
system = platform.system()
|
||||
IS_DARWIN = (system == 'Darwin')
|
||||
IS_WINDOWS = (system == 'Windows')
|
||||
|
||||
PATH_TO_ADD_SUFFIX = ['bin']
|
||||
if IS_WINDOWS:
|
||||
# while catkin recommends putting dll's into bin, 3rd party packages often put dll's into lib
|
||||
# since Windows finds dll's via the PATH variable, prepend it with path to lib
|
||||
PATH_TO_ADD_SUFFIX.extend([['lib', os.path.join('lib', 'x86_64-linux-gnu')]])
|
||||
|
||||
# subfolder of workspace prepended to CMAKE_PREFIX_PATH
|
||||
ENV_VAR_SUBFOLDERS = {
|
||||
'CMAKE_PREFIX_PATH': '',
|
||||
'LD_LIBRARY_PATH' if not IS_DARWIN else 'DYLD_LIBRARY_PATH': ['lib', os.path.join('lib', 'x86_64-linux-gnu')],
|
||||
'PATH': PATH_TO_ADD_SUFFIX,
|
||||
'PKG_CONFIG_PATH': [os.path.join('lib', 'pkgconfig'), os.path.join('lib', 'x86_64-linux-gnu', 'pkgconfig')],
|
||||
'PYTHONPATH': 'lib/python3/dist-packages',
|
||||
}
|
||||
|
||||
|
||||
def rollback_env_variables(environ, env_var_subfolders):
|
||||
"""
|
||||
Generate shell code to reset environment variables.
|
||||
|
||||
by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH.
|
||||
This does not cover modifications performed by environment hooks.
|
||||
"""
|
||||
lines = []
|
||||
unmodified_environ = copy.copy(environ)
|
||||
for key in sorted(env_var_subfolders.keys()):
|
||||
subfolders = env_var_subfolders[key]
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
value = _rollback_env_variable(unmodified_environ, key, subfolders)
|
||||
if value is not None:
|
||||
environ[key] = value
|
||||
lines.append(assignment(key, value))
|
||||
if lines:
|
||||
lines.insert(0, comment('reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH'))
|
||||
return lines
|
||||
|
||||
|
||||
def _rollback_env_variable(environ, name, subfolders):
|
||||
"""
|
||||
For each catkin workspace in CMAKE_PREFIX_PATH remove the first entry from env[NAME] matching workspace + subfolder.
|
||||
|
||||
:param subfolders: list of str '' or subfoldername that may start with '/'
|
||||
:returns: the updated value of the environment variable.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
env_paths = [path for path in value.split(os.pathsep) if path]
|
||||
value_modified = False
|
||||
for subfolder in subfolders:
|
||||
if subfolder:
|
||||
if subfolder.startswith(os.path.sep) or (os.path.altsep and subfolder.startswith(os.path.altsep)):
|
||||
subfolder = subfolder[1:]
|
||||
if subfolder.endswith(os.path.sep) or (os.path.altsep and subfolder.endswith(os.path.altsep)):
|
||||
subfolder = subfolder[:-1]
|
||||
for ws_path in _get_workspaces(environ, include_fuerte=True, include_non_existing=True):
|
||||
path_to_find = os.path.join(ws_path, subfolder) if subfolder else ws_path
|
||||
path_to_remove = None
|
||||
for env_path in env_paths:
|
||||
env_path_clean = env_path[:-1] if env_path and env_path[-1] in [os.path.sep, os.path.altsep] else env_path
|
||||
if env_path_clean == path_to_find:
|
||||
path_to_remove = env_path
|
||||
break
|
||||
if path_to_remove:
|
||||
env_paths.remove(path_to_remove)
|
||||
value_modified = True
|
||||
new_value = os.pathsep.join(env_paths)
|
||||
return new_value if value_modified else None
|
||||
|
||||
|
||||
def _get_workspaces(environ, include_fuerte=False, include_non_existing=False):
|
||||
"""
|
||||
Based on CMAKE_PREFIX_PATH return all catkin workspaces.
|
||||
|
||||
:param include_fuerte: The flag if paths starting with '/opt/ros/fuerte' should be considered workspaces, ``bool``
|
||||
"""
|
||||
# get all cmake prefix paths
|
||||
env_name = 'CMAKE_PREFIX_PATH'
|
||||
value = environ[env_name] if env_name in environ else ''
|
||||
paths = [path for path in value.split(os.pathsep) if path]
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE)) or (include_fuerte and path.startswith('/opt/ros/fuerte')) or (include_non_existing and not os.path.exists(path))]
|
||||
return workspaces
|
||||
|
||||
|
||||
def prepend_env_variables(environ, env_var_subfolders, workspaces):
|
||||
"""Generate shell code to prepend environment variables for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('prepend folders of workspaces to environment variables'))
|
||||
|
||||
paths = [path for path in workspaces.split(os.pathsep) if path]
|
||||
|
||||
prefix = _prefix_env_variable(environ, 'CMAKE_PREFIX_PATH', paths, '')
|
||||
lines.append(prepend(environ, 'CMAKE_PREFIX_PATH', prefix))
|
||||
|
||||
for key in sorted(key for key in env_var_subfolders.keys() if key != 'CMAKE_PREFIX_PATH'):
|
||||
subfolder = env_var_subfolders[key]
|
||||
prefix = _prefix_env_variable(environ, key, paths, subfolder)
|
||||
lines.append(prepend(environ, key, prefix))
|
||||
return lines
|
||||
|
||||
|
||||
def _prefix_env_variable(environ, name, paths, subfolders):
|
||||
"""
|
||||
Return the prefix to prepend to the environment variable NAME.
|
||||
|
||||
Adding any path in NEW_PATHS_STR without creating duplicate or empty items.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
environ_paths = [path for path in value.split(os.pathsep) if path]
|
||||
checked_paths = []
|
||||
for path in paths:
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
for subfolder in subfolders:
|
||||
path_tmp = path
|
||||
if subfolder:
|
||||
path_tmp = os.path.join(path_tmp, subfolder)
|
||||
# skip nonexistent paths
|
||||
if not os.path.exists(path_tmp):
|
||||
continue
|
||||
# exclude any path already in env and any path we already added
|
||||
if path_tmp not in environ_paths and path_tmp not in checked_paths:
|
||||
checked_paths.append(path_tmp)
|
||||
prefix_str = os.pathsep.join(checked_paths)
|
||||
if prefix_str != '' and environ_paths:
|
||||
prefix_str += os.pathsep
|
||||
return prefix_str
|
||||
|
||||
|
||||
def assignment(key, value):
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s"' % (key, value)
|
||||
else:
|
||||
return 'set %s=%s' % (key, value)
|
||||
|
||||
|
||||
def comment(msg):
|
||||
if not IS_WINDOWS:
|
||||
return '# %s' % msg
|
||||
else:
|
||||
return 'REM %s' % msg
|
||||
|
||||
|
||||
def prepend(environ, key, prefix):
|
||||
if key not in environ or not environ[key]:
|
||||
return assignment(key, prefix)
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s$%s"' % (key, prefix, key)
|
||||
else:
|
||||
return 'set %s=%s%%%s%%' % (key, prefix, key)
|
||||
|
||||
|
||||
def find_env_hooks(environ, cmake_prefix_path):
|
||||
"""Generate shell code with found environment hooks for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('found environment hooks in workspaces'))
|
||||
|
||||
generic_env_hooks = []
|
||||
generic_env_hooks_workspace = []
|
||||
specific_env_hooks = []
|
||||
specific_env_hooks_workspace = []
|
||||
generic_env_hooks_by_filename = {}
|
||||
specific_env_hooks_by_filename = {}
|
||||
generic_env_hook_ext = 'bat' if IS_WINDOWS else 'sh'
|
||||
specific_env_hook_ext = environ['CATKIN_SHELL'] if not IS_WINDOWS and 'CATKIN_SHELL' in environ and environ['CATKIN_SHELL'] else None
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in cmake_prefix_path.split(os.pathsep) if path and os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))]
|
||||
for workspace in reversed(workspaces):
|
||||
env_hook_dir = os.path.join(workspace, 'etc', 'catkin', 'profile.d')
|
||||
if os.path.isdir(env_hook_dir):
|
||||
for filename in sorted(os.listdir(env_hook_dir)):
|
||||
if filename.endswith('.%s' % generic_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in generic_env_hooks_by_filename:
|
||||
i = generic_env_hooks.index(generic_env_hooks_by_filename[filename])
|
||||
generic_env_hooks.pop(i)
|
||||
generic_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
generic_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
generic_env_hooks_workspace.append(workspace)
|
||||
generic_env_hooks_by_filename[filename] = generic_env_hooks[-1]
|
||||
elif specific_env_hook_ext is not None and filename.endswith('.%s' % specific_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in specific_env_hooks_by_filename:
|
||||
i = specific_env_hooks.index(specific_env_hooks_by_filename[filename])
|
||||
specific_env_hooks.pop(i)
|
||||
specific_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
specific_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
specific_env_hooks_workspace.append(workspace)
|
||||
specific_env_hooks_by_filename[filename] = specific_env_hooks[-1]
|
||||
env_hooks = generic_env_hooks + specific_env_hooks
|
||||
env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace
|
||||
count = len(env_hooks)
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_COUNT', count))
|
||||
for i in range(count):
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d' % i, env_hooks[i]))
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE' % i, env_hooks_workspace[i]))
|
||||
return lines
|
||||
|
||||
|
||||
def _parse_arguments(args=None):
|
||||
parser = argparse.ArgumentParser(description='Generates code blocks for the setup.SHELL script.')
|
||||
parser.add_argument('--extend', action='store_true', help='Skip unsetting previous environment variables to extend context')
|
||||
parser.add_argument('--local', action='store_true', help='Only consider this prefix path and ignore other prefix path in the environment')
|
||||
return parser.parse_known_args(args=args)[0]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
try:
|
||||
args = _parse_arguments()
|
||||
except Exception as e:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
if not args.local:
|
||||
# environment at generation time
|
||||
CMAKE_PREFIX_PATH = r'/home/a/demo/devel;/opt/ros/noetic'.split(';')
|
||||
else:
|
||||
# don't consider any other prefix path than this one
|
||||
CMAKE_PREFIX_PATH = []
|
||||
# prepend current workspace if not already part of CPP
|
||||
base_path = os.path.dirname(__file__)
|
||||
# CMAKE_PREFIX_PATH uses forward slash on all platforms, but __file__ is platform dependent
|
||||
# base_path on Windows contains backward slashes, need to be converted to forward slashes before comparison
|
||||
if os.path.sep != '/':
|
||||
base_path = base_path.replace(os.path.sep, '/')
|
||||
|
||||
if base_path not in CMAKE_PREFIX_PATH:
|
||||
CMAKE_PREFIX_PATH.insert(0, base_path)
|
||||
CMAKE_PREFIX_PATH = os.pathsep.join(CMAKE_PREFIX_PATH)
|
||||
|
||||
environ = dict(os.environ)
|
||||
lines = []
|
||||
if not args.extend:
|
||||
lines += rollback_env_variables(environ, ENV_VAR_SUBFOLDERS)
|
||||
lines += prepend_env_variables(environ, ENV_VAR_SUBFOLDERS, CMAKE_PREFIX_PATH)
|
||||
lines += find_env_hooks(environ, CMAKE_PREFIX_PATH)
|
||||
print('\n'.join(lines))
|
||||
|
||||
# need to explicitly flush the output
|
||||
sys.stdout.flush()
|
||||
except IOError as e:
|
||||
# and catch potential "broken pipe" if stdout is not writable
|
||||
# which can happen when piping the output to a file but the disk is full
|
||||
if e.errno == errno.EPIPE:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(2)
|
||||
raise
|
||||
|
||||
sys.exit(0)
|
304
shiyan1/build/atomic_configure/_setup_util.py.MSHOZ
Normal file
@ -0,0 +1,304 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Software License Agreement (BSD License)
|
||||
#
|
||||
# Copyright (c) 2012, Willow Garage, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of Willow Garage, Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
"""This file generates shell code for the setup.SHELL scripts to set environment variables."""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import copy
|
||||
import errno
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
CATKIN_MARKER_FILE = '.catkin'
|
||||
|
||||
system = platform.system()
|
||||
IS_DARWIN = (system == 'Darwin')
|
||||
IS_WINDOWS = (system == 'Windows')
|
||||
|
||||
PATH_TO_ADD_SUFFIX = ['bin']
|
||||
if IS_WINDOWS:
|
||||
# while catkin recommends putting dll's into bin, 3rd party packages often put dll's into lib
|
||||
# since Windows finds dll's via the PATH variable, prepend it with path to lib
|
||||
PATH_TO_ADD_SUFFIX.extend([['lib', os.path.join('lib', 'x86_64-linux-gnu')]])
|
||||
|
||||
# subfolder of workspace prepended to CMAKE_PREFIX_PATH
|
||||
ENV_VAR_SUBFOLDERS = {
|
||||
'CMAKE_PREFIX_PATH': '',
|
||||
'LD_LIBRARY_PATH' if not IS_DARWIN else 'DYLD_LIBRARY_PATH': ['lib', os.path.join('lib', 'x86_64-linux-gnu')],
|
||||
'PATH': PATH_TO_ADD_SUFFIX,
|
||||
'PKG_CONFIG_PATH': [os.path.join('lib', 'pkgconfig'), os.path.join('lib', 'x86_64-linux-gnu', 'pkgconfig')],
|
||||
'PYTHONPATH': 'lib/python3/dist-packages',
|
||||
}
|
||||
|
||||
|
||||
def rollback_env_variables(environ, env_var_subfolders):
|
||||
"""
|
||||
Generate shell code to reset environment variables.
|
||||
|
||||
by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH.
|
||||
This does not cover modifications performed by environment hooks.
|
||||
"""
|
||||
lines = []
|
||||
unmodified_environ = copy.copy(environ)
|
||||
for key in sorted(env_var_subfolders.keys()):
|
||||
subfolders = env_var_subfolders[key]
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
value = _rollback_env_variable(unmodified_environ, key, subfolders)
|
||||
if value is not None:
|
||||
environ[key] = value
|
||||
lines.append(assignment(key, value))
|
||||
if lines:
|
||||
lines.insert(0, comment('reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH'))
|
||||
return lines
|
||||
|
||||
|
||||
def _rollback_env_variable(environ, name, subfolders):
|
||||
"""
|
||||
For each catkin workspace in CMAKE_PREFIX_PATH remove the first entry from env[NAME] matching workspace + subfolder.
|
||||
|
||||
:param subfolders: list of str '' or subfoldername that may start with '/'
|
||||
:returns: the updated value of the environment variable.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
env_paths = [path for path in value.split(os.pathsep) if path]
|
||||
value_modified = False
|
||||
for subfolder in subfolders:
|
||||
if subfolder:
|
||||
if subfolder.startswith(os.path.sep) or (os.path.altsep and subfolder.startswith(os.path.altsep)):
|
||||
subfolder = subfolder[1:]
|
||||
if subfolder.endswith(os.path.sep) or (os.path.altsep and subfolder.endswith(os.path.altsep)):
|
||||
subfolder = subfolder[:-1]
|
||||
for ws_path in _get_workspaces(environ, include_fuerte=True, include_non_existing=True):
|
||||
path_to_find = os.path.join(ws_path, subfolder) if subfolder else ws_path
|
||||
path_to_remove = None
|
||||
for env_path in env_paths:
|
||||
env_path_clean = env_path[:-1] if env_path and env_path[-1] in [os.path.sep, os.path.altsep] else env_path
|
||||
if env_path_clean == path_to_find:
|
||||
path_to_remove = env_path
|
||||
break
|
||||
if path_to_remove:
|
||||
env_paths.remove(path_to_remove)
|
||||
value_modified = True
|
||||
new_value = os.pathsep.join(env_paths)
|
||||
return new_value if value_modified else None
|
||||
|
||||
|
||||
def _get_workspaces(environ, include_fuerte=False, include_non_existing=False):
|
||||
"""
|
||||
Based on CMAKE_PREFIX_PATH return all catkin workspaces.
|
||||
|
||||
:param include_fuerte: The flag if paths starting with '/opt/ros/fuerte' should be considered workspaces, ``bool``
|
||||
"""
|
||||
# get all cmake prefix paths
|
||||
env_name = 'CMAKE_PREFIX_PATH'
|
||||
value = environ[env_name] if env_name in environ else ''
|
||||
paths = [path for path in value.split(os.pathsep) if path]
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE)) or (include_fuerte and path.startswith('/opt/ros/fuerte')) or (include_non_existing and not os.path.exists(path))]
|
||||
return workspaces
|
||||
|
||||
|
||||
def prepend_env_variables(environ, env_var_subfolders, workspaces):
|
||||
"""Generate shell code to prepend environment variables for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('prepend folders of workspaces to environment variables'))
|
||||
|
||||
paths = [path for path in workspaces.split(os.pathsep) if path]
|
||||
|
||||
prefix = _prefix_env_variable(environ, 'CMAKE_PREFIX_PATH', paths, '')
|
||||
lines.append(prepend(environ, 'CMAKE_PREFIX_PATH', prefix))
|
||||
|
||||
for key in sorted(key for key in env_var_subfolders.keys() if key != 'CMAKE_PREFIX_PATH'):
|
||||
subfolder = env_var_subfolders[key]
|
||||
prefix = _prefix_env_variable(environ, key, paths, subfolder)
|
||||
lines.append(prepend(environ, key, prefix))
|
||||
return lines
|
||||
|
||||
|
||||
def _prefix_env_variable(environ, name, paths, subfolders):
|
||||
"""
|
||||
Return the prefix to prepend to the environment variable NAME.
|
||||
|
||||
Adding any path in NEW_PATHS_STR without creating duplicate or empty items.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
environ_paths = [path for path in value.split(os.pathsep) if path]
|
||||
checked_paths = []
|
||||
for path in paths:
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
for subfolder in subfolders:
|
||||
path_tmp = path
|
||||
if subfolder:
|
||||
path_tmp = os.path.join(path_tmp, subfolder)
|
||||
# skip nonexistent paths
|
||||
if not os.path.exists(path_tmp):
|
||||
continue
|
||||
# exclude any path already in env and any path we already added
|
||||
if path_tmp not in environ_paths and path_tmp not in checked_paths:
|
||||
checked_paths.append(path_tmp)
|
||||
prefix_str = os.pathsep.join(checked_paths)
|
||||
if prefix_str != '' and environ_paths:
|
||||
prefix_str += os.pathsep
|
||||
return prefix_str
|
||||
|
||||
|
||||
def assignment(key, value):
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s"' % (key, value)
|
||||
else:
|
||||
return 'set %s=%s' % (key, value)
|
||||
|
||||
|
||||
def comment(msg):
|
||||
if not IS_WINDOWS:
|
||||
return '# %s' % msg
|
||||
else:
|
||||
return 'REM %s' % msg
|
||||
|
||||
|
||||
def prepend(environ, key, prefix):
|
||||
if key not in environ or not environ[key]:
|
||||
return assignment(key, prefix)
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s$%s"' % (key, prefix, key)
|
||||
else:
|
||||
return 'set %s=%s%%%s%%' % (key, prefix, key)
|
||||
|
||||
|
||||
def find_env_hooks(environ, cmake_prefix_path):
|
||||
"""Generate shell code with found environment hooks for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('found environment hooks in workspaces'))
|
||||
|
||||
generic_env_hooks = []
|
||||
generic_env_hooks_workspace = []
|
||||
specific_env_hooks = []
|
||||
specific_env_hooks_workspace = []
|
||||
generic_env_hooks_by_filename = {}
|
||||
specific_env_hooks_by_filename = {}
|
||||
generic_env_hook_ext = 'bat' if IS_WINDOWS else 'sh'
|
||||
specific_env_hook_ext = environ['CATKIN_SHELL'] if not IS_WINDOWS and 'CATKIN_SHELL' in environ and environ['CATKIN_SHELL'] else None
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in cmake_prefix_path.split(os.pathsep) if path and os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))]
|
||||
for workspace in reversed(workspaces):
|
||||
env_hook_dir = os.path.join(workspace, 'etc', 'catkin', 'profile.d')
|
||||
if os.path.isdir(env_hook_dir):
|
||||
for filename in sorted(os.listdir(env_hook_dir)):
|
||||
if filename.endswith('.%s' % generic_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in generic_env_hooks_by_filename:
|
||||
i = generic_env_hooks.index(generic_env_hooks_by_filename[filename])
|
||||
generic_env_hooks.pop(i)
|
||||
generic_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
generic_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
generic_env_hooks_workspace.append(workspace)
|
||||
generic_env_hooks_by_filename[filename] = generic_env_hooks[-1]
|
||||
elif specific_env_hook_ext is not None and filename.endswith('.%s' % specific_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in specific_env_hooks_by_filename:
|
||||
i = specific_env_hooks.index(specific_env_hooks_by_filename[filename])
|
||||
specific_env_hooks.pop(i)
|
||||
specific_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
specific_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
specific_env_hooks_workspace.append(workspace)
|
||||
specific_env_hooks_by_filename[filename] = specific_env_hooks[-1]
|
||||
env_hooks = generic_env_hooks + specific_env_hooks
|
||||
env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace
|
||||
count = len(env_hooks)
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_COUNT', count))
|
||||
for i in range(count):
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d' % i, env_hooks[i]))
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE' % i, env_hooks_workspace[i]))
|
||||
return lines
|
||||
|
||||
|
||||
def _parse_arguments(args=None):
|
||||
parser = argparse.ArgumentParser(description='Generates code blocks for the setup.SHELL script.')
|
||||
parser.add_argument('--extend', action='store_true', help='Skip unsetting previous environment variables to extend context')
|
||||
parser.add_argument('--local', action='store_true', help='Only consider this prefix path and ignore other prefix path in the environment')
|
||||
return parser.parse_known_args(args=args)[0]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
try:
|
||||
args = _parse_arguments()
|
||||
except Exception as e:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
if not args.local:
|
||||
# environment at generation time
|
||||
CMAKE_PREFIX_PATH = r'/home/a/demo/devel;/opt/ros/noetic'.split(';')
|
||||
else:
|
||||
# don't consider any other prefix path than this one
|
||||
CMAKE_PREFIX_PATH = []
|
||||
# prepend current workspace if not already part of CPP
|
||||
base_path = os.path.dirname(__file__)
|
||||
# CMAKE_PREFIX_PATH uses forward slash on all platforms, but __file__ is platform dependent
|
||||
# base_path on Windows contains backward slashes, need to be converted to forward slashes before comparison
|
||||
if os.path.sep != '/':
|
||||
base_path = base_path.replace(os.path.sep, '/')
|
||||
|
||||
if base_path not in CMAKE_PREFIX_PATH:
|
||||
CMAKE_PREFIX_PATH.insert(0, base_path)
|
||||
CMAKE_PREFIX_PATH = os.pathsep.join(CMAKE_PREFIX_PATH)
|
||||
|
||||
environ = dict(os.environ)
|
||||
lines = []
|
||||
if not args.extend:
|
||||
lines += rollback_env_variables(environ, ENV_VAR_SUBFOLDERS)
|
||||
lines += prepend_env_variables(environ, ENV_VAR_SUBFOLDERS, CMAKE_PREFIX_PATH)
|
||||
lines += find_env_hooks(environ, CMAKE_PREFIX_PATH)
|
||||
print('\n'.join(lines))
|
||||
|
||||
# need to explicitly flush the output
|
||||
sys.stdout.flush()
|
||||
except IOError as e:
|
||||
# and catch potential "broken pipe" if stdout is not writable
|
||||
# which can happen when piping the output to a file but the disk is full
|
||||
if e.errno == errno.EPIPE:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(2)
|
||||
raise
|
||||
|
||||
sys.exit(0)
|
304
shiyan1/build/atomic_configure/_setup_util.py.UOkBt
Normal file
@ -0,0 +1,304 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Software License Agreement (BSD License)
|
||||
#
|
||||
# Copyright (c) 2012, Willow Garage, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of Willow Garage, Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
"""This file generates shell code for the setup.SHELL scripts to set environment variables."""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import copy
|
||||
import errno
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
CATKIN_MARKER_FILE = '.catkin'
|
||||
|
||||
system = platform.system()
|
||||
IS_DARWIN = (system == 'Darwin')
|
||||
IS_WINDOWS = (system == 'Windows')
|
||||
|
||||
PATH_TO_ADD_SUFFIX = ['bin']
|
||||
if IS_WINDOWS:
|
||||
# while catkin recommends putting dll's into bin, 3rd party packages often put dll's into lib
|
||||
# since Windows finds dll's via the PATH variable, prepend it with path to lib
|
||||
PATH_TO_ADD_SUFFIX.extend([['lib', os.path.join('lib', 'x86_64-linux-gnu')]])
|
||||
|
||||
# subfolder of workspace prepended to CMAKE_PREFIX_PATH
|
||||
ENV_VAR_SUBFOLDERS = {
|
||||
'CMAKE_PREFIX_PATH': '',
|
||||
'LD_LIBRARY_PATH' if not IS_DARWIN else 'DYLD_LIBRARY_PATH': ['lib', os.path.join('lib', 'x86_64-linux-gnu')],
|
||||
'PATH': PATH_TO_ADD_SUFFIX,
|
||||
'PKG_CONFIG_PATH': [os.path.join('lib', 'pkgconfig'), os.path.join('lib', 'x86_64-linux-gnu', 'pkgconfig')],
|
||||
'PYTHONPATH': 'lib/python3/dist-packages',
|
||||
}
|
||||
|
||||
|
||||
def rollback_env_variables(environ, env_var_subfolders):
|
||||
"""
|
||||
Generate shell code to reset environment variables.
|
||||
|
||||
by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH.
|
||||
This does not cover modifications performed by environment hooks.
|
||||
"""
|
||||
lines = []
|
||||
unmodified_environ = copy.copy(environ)
|
||||
for key in sorted(env_var_subfolders.keys()):
|
||||
subfolders = env_var_subfolders[key]
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
value = _rollback_env_variable(unmodified_environ, key, subfolders)
|
||||
if value is not None:
|
||||
environ[key] = value
|
||||
lines.append(assignment(key, value))
|
||||
if lines:
|
||||
lines.insert(0, comment('reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH'))
|
||||
return lines
|
||||
|
||||
|
||||
def _rollback_env_variable(environ, name, subfolders):
|
||||
"""
|
||||
For each catkin workspace in CMAKE_PREFIX_PATH remove the first entry from env[NAME] matching workspace + subfolder.
|
||||
|
||||
:param subfolders: list of str '' or subfoldername that may start with '/'
|
||||
:returns: the updated value of the environment variable.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
env_paths = [path for path in value.split(os.pathsep) if path]
|
||||
value_modified = False
|
||||
for subfolder in subfolders:
|
||||
if subfolder:
|
||||
if subfolder.startswith(os.path.sep) or (os.path.altsep and subfolder.startswith(os.path.altsep)):
|
||||
subfolder = subfolder[1:]
|
||||
if subfolder.endswith(os.path.sep) or (os.path.altsep and subfolder.endswith(os.path.altsep)):
|
||||
subfolder = subfolder[:-1]
|
||||
for ws_path in _get_workspaces(environ, include_fuerte=True, include_non_existing=True):
|
||||
path_to_find = os.path.join(ws_path, subfolder) if subfolder else ws_path
|
||||
path_to_remove = None
|
||||
for env_path in env_paths:
|
||||
env_path_clean = env_path[:-1] if env_path and env_path[-1] in [os.path.sep, os.path.altsep] else env_path
|
||||
if env_path_clean == path_to_find:
|
||||
path_to_remove = env_path
|
||||
break
|
||||
if path_to_remove:
|
||||
env_paths.remove(path_to_remove)
|
||||
value_modified = True
|
||||
new_value = os.pathsep.join(env_paths)
|
||||
return new_value if value_modified else None
|
||||
|
||||
|
||||
def _get_workspaces(environ, include_fuerte=False, include_non_existing=False):
|
||||
"""
|
||||
Based on CMAKE_PREFIX_PATH return all catkin workspaces.
|
||||
|
||||
:param include_fuerte: The flag if paths starting with '/opt/ros/fuerte' should be considered workspaces, ``bool``
|
||||
"""
|
||||
# get all cmake prefix paths
|
||||
env_name = 'CMAKE_PREFIX_PATH'
|
||||
value = environ[env_name] if env_name in environ else ''
|
||||
paths = [path for path in value.split(os.pathsep) if path]
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE)) or (include_fuerte and path.startswith('/opt/ros/fuerte')) or (include_non_existing and not os.path.exists(path))]
|
||||
return workspaces
|
||||
|
||||
|
||||
def prepend_env_variables(environ, env_var_subfolders, workspaces):
|
||||
"""Generate shell code to prepend environment variables for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('prepend folders of workspaces to environment variables'))
|
||||
|
||||
paths = [path for path in workspaces.split(os.pathsep) if path]
|
||||
|
||||
prefix = _prefix_env_variable(environ, 'CMAKE_PREFIX_PATH', paths, '')
|
||||
lines.append(prepend(environ, 'CMAKE_PREFIX_PATH', prefix))
|
||||
|
||||
for key in sorted(key for key in env_var_subfolders.keys() if key != 'CMAKE_PREFIX_PATH'):
|
||||
subfolder = env_var_subfolders[key]
|
||||
prefix = _prefix_env_variable(environ, key, paths, subfolder)
|
||||
lines.append(prepend(environ, key, prefix))
|
||||
return lines
|
||||
|
||||
|
||||
def _prefix_env_variable(environ, name, paths, subfolders):
|
||||
"""
|
||||
Return the prefix to prepend to the environment variable NAME.
|
||||
|
||||
Adding any path in NEW_PATHS_STR without creating duplicate or empty items.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
environ_paths = [path for path in value.split(os.pathsep) if path]
|
||||
checked_paths = []
|
||||
for path in paths:
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
for subfolder in subfolders:
|
||||
path_tmp = path
|
||||
if subfolder:
|
||||
path_tmp = os.path.join(path_tmp, subfolder)
|
||||
# skip nonexistent paths
|
||||
if not os.path.exists(path_tmp):
|
||||
continue
|
||||
# exclude any path already in env and any path we already added
|
||||
if path_tmp not in environ_paths and path_tmp not in checked_paths:
|
||||
checked_paths.append(path_tmp)
|
||||
prefix_str = os.pathsep.join(checked_paths)
|
||||
if prefix_str != '' and environ_paths:
|
||||
prefix_str += os.pathsep
|
||||
return prefix_str
|
||||
|
||||
|
||||
def assignment(key, value):
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s"' % (key, value)
|
||||
else:
|
||||
return 'set %s=%s' % (key, value)
|
||||
|
||||
|
||||
def comment(msg):
|
||||
if not IS_WINDOWS:
|
||||
return '# %s' % msg
|
||||
else:
|
||||
return 'REM %s' % msg
|
||||
|
||||
|
||||
def prepend(environ, key, prefix):
|
||||
if key not in environ or not environ[key]:
|
||||
return assignment(key, prefix)
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s$%s"' % (key, prefix, key)
|
||||
else:
|
||||
return 'set %s=%s%%%s%%' % (key, prefix, key)
|
||||
|
||||
|
||||
def find_env_hooks(environ, cmake_prefix_path):
|
||||
"""Generate shell code with found environment hooks for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('found environment hooks in workspaces'))
|
||||
|
||||
generic_env_hooks = []
|
||||
generic_env_hooks_workspace = []
|
||||
specific_env_hooks = []
|
||||
specific_env_hooks_workspace = []
|
||||
generic_env_hooks_by_filename = {}
|
||||
specific_env_hooks_by_filename = {}
|
||||
generic_env_hook_ext = 'bat' if IS_WINDOWS else 'sh'
|
||||
specific_env_hook_ext = environ['CATKIN_SHELL'] if not IS_WINDOWS and 'CATKIN_SHELL' in environ and environ['CATKIN_SHELL'] else None
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in cmake_prefix_path.split(os.pathsep) if path and os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))]
|
||||
for workspace in reversed(workspaces):
|
||||
env_hook_dir = os.path.join(workspace, 'etc', 'catkin', 'profile.d')
|
||||
if os.path.isdir(env_hook_dir):
|
||||
for filename in sorted(os.listdir(env_hook_dir)):
|
||||
if filename.endswith('.%s' % generic_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in generic_env_hooks_by_filename:
|
||||
i = generic_env_hooks.index(generic_env_hooks_by_filename[filename])
|
||||
generic_env_hooks.pop(i)
|
||||
generic_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
generic_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
generic_env_hooks_workspace.append(workspace)
|
||||
generic_env_hooks_by_filename[filename] = generic_env_hooks[-1]
|
||||
elif specific_env_hook_ext is not None and filename.endswith('.%s' % specific_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in specific_env_hooks_by_filename:
|
||||
i = specific_env_hooks.index(specific_env_hooks_by_filename[filename])
|
||||
specific_env_hooks.pop(i)
|
||||
specific_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
specific_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
specific_env_hooks_workspace.append(workspace)
|
||||
specific_env_hooks_by_filename[filename] = specific_env_hooks[-1]
|
||||
env_hooks = generic_env_hooks + specific_env_hooks
|
||||
env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace
|
||||
count = len(env_hooks)
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_COUNT', count))
|
||||
for i in range(count):
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d' % i, env_hooks[i]))
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE' % i, env_hooks_workspace[i]))
|
||||
return lines
|
||||
|
||||
|
||||
def _parse_arguments(args=None):
|
||||
parser = argparse.ArgumentParser(description='Generates code blocks for the setup.SHELL script.')
|
||||
parser.add_argument('--extend', action='store_true', help='Skip unsetting previous environment variables to extend context')
|
||||
parser.add_argument('--local', action='store_true', help='Only consider this prefix path and ignore other prefix path in the environment')
|
||||
return parser.parse_known_args(args=args)[0]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
try:
|
||||
args = _parse_arguments()
|
||||
except Exception as e:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
if not args.local:
|
||||
# environment at generation time
|
||||
CMAKE_PREFIX_PATH = r'/home/a/demo/devel;/opt/ros/noetic'.split(';')
|
||||
else:
|
||||
# don't consider any other prefix path than this one
|
||||
CMAKE_PREFIX_PATH = []
|
||||
# prepend current workspace if not already part of CPP
|
||||
base_path = os.path.dirname(__file__)
|
||||
# CMAKE_PREFIX_PATH uses forward slash on all platforms, but __file__ is platform dependent
|
||||
# base_path on Windows contains backward slashes, need to be converted to forward slashes before comparison
|
||||
if os.path.sep != '/':
|
||||
base_path = base_path.replace(os.path.sep, '/')
|
||||
|
||||
if base_path not in CMAKE_PREFIX_PATH:
|
||||
CMAKE_PREFIX_PATH.insert(0, base_path)
|
||||
CMAKE_PREFIX_PATH = os.pathsep.join(CMAKE_PREFIX_PATH)
|
||||
|
||||
environ = dict(os.environ)
|
||||
lines = []
|
||||
if not args.extend:
|
||||
lines += rollback_env_variables(environ, ENV_VAR_SUBFOLDERS)
|
||||
lines += prepend_env_variables(environ, ENV_VAR_SUBFOLDERS, CMAKE_PREFIX_PATH)
|
||||
lines += find_env_hooks(environ, CMAKE_PREFIX_PATH)
|
||||
print('\n'.join(lines))
|
||||
|
||||
# need to explicitly flush the output
|
||||
sys.stdout.flush()
|
||||
except IOError as e:
|
||||
# and catch potential "broken pipe" if stdout is not writable
|
||||
# which can happen when piping the output to a file but the disk is full
|
||||
if e.errno == errno.EPIPE:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(2)
|
||||
raise
|
||||
|
||||
sys.exit(0)
|
304
shiyan1/build/atomic_configure/_setup_util.py.UWwAu
Normal file
@ -0,0 +1,304 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Software License Agreement (BSD License)
|
||||
#
|
||||
# Copyright (c) 2012, Willow Garage, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of Willow Garage, Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
"""This file generates shell code for the setup.SHELL scripts to set environment variables."""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import copy
|
||||
import errno
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
CATKIN_MARKER_FILE = '.catkin'
|
||||
|
||||
system = platform.system()
|
||||
IS_DARWIN = (system == 'Darwin')
|
||||
IS_WINDOWS = (system == 'Windows')
|
||||
|
||||
PATH_TO_ADD_SUFFIX = ['bin']
|
||||
if IS_WINDOWS:
|
||||
# while catkin recommends putting dll's into bin, 3rd party packages often put dll's into lib
|
||||
# since Windows finds dll's via the PATH variable, prepend it with path to lib
|
||||
PATH_TO_ADD_SUFFIX.extend([['lib', os.path.join('lib', 'x86_64-linux-gnu')]])
|
||||
|
||||
# subfolder of workspace prepended to CMAKE_PREFIX_PATH
|
||||
ENV_VAR_SUBFOLDERS = {
|
||||
'CMAKE_PREFIX_PATH': '',
|
||||
'LD_LIBRARY_PATH' if not IS_DARWIN else 'DYLD_LIBRARY_PATH': ['lib', os.path.join('lib', 'x86_64-linux-gnu')],
|
||||
'PATH': PATH_TO_ADD_SUFFIX,
|
||||
'PKG_CONFIG_PATH': [os.path.join('lib', 'pkgconfig'), os.path.join('lib', 'x86_64-linux-gnu', 'pkgconfig')],
|
||||
'PYTHONPATH': 'lib/python3/dist-packages',
|
||||
}
|
||||
|
||||
|
||||
def rollback_env_variables(environ, env_var_subfolders):
|
||||
"""
|
||||
Generate shell code to reset environment variables.
|
||||
|
||||
by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH.
|
||||
This does not cover modifications performed by environment hooks.
|
||||
"""
|
||||
lines = []
|
||||
unmodified_environ = copy.copy(environ)
|
||||
for key in sorted(env_var_subfolders.keys()):
|
||||
subfolders = env_var_subfolders[key]
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
value = _rollback_env_variable(unmodified_environ, key, subfolders)
|
||||
if value is not None:
|
||||
environ[key] = value
|
||||
lines.append(assignment(key, value))
|
||||
if lines:
|
||||
lines.insert(0, comment('reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH'))
|
||||
return lines
|
||||
|
||||
|
||||
def _rollback_env_variable(environ, name, subfolders):
|
||||
"""
|
||||
For each catkin workspace in CMAKE_PREFIX_PATH remove the first entry from env[NAME] matching workspace + subfolder.
|
||||
|
||||
:param subfolders: list of str '' or subfoldername that may start with '/'
|
||||
:returns: the updated value of the environment variable.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
env_paths = [path for path in value.split(os.pathsep) if path]
|
||||
value_modified = False
|
||||
for subfolder in subfolders:
|
||||
if subfolder:
|
||||
if subfolder.startswith(os.path.sep) or (os.path.altsep and subfolder.startswith(os.path.altsep)):
|
||||
subfolder = subfolder[1:]
|
||||
if subfolder.endswith(os.path.sep) or (os.path.altsep and subfolder.endswith(os.path.altsep)):
|
||||
subfolder = subfolder[:-1]
|
||||
for ws_path in _get_workspaces(environ, include_fuerte=True, include_non_existing=True):
|
||||
path_to_find = os.path.join(ws_path, subfolder) if subfolder else ws_path
|
||||
path_to_remove = None
|
||||
for env_path in env_paths:
|
||||
env_path_clean = env_path[:-1] if env_path and env_path[-1] in [os.path.sep, os.path.altsep] else env_path
|
||||
if env_path_clean == path_to_find:
|
||||
path_to_remove = env_path
|
||||
break
|
||||
if path_to_remove:
|
||||
env_paths.remove(path_to_remove)
|
||||
value_modified = True
|
||||
new_value = os.pathsep.join(env_paths)
|
||||
return new_value if value_modified else None
|
||||
|
||||
|
||||
def _get_workspaces(environ, include_fuerte=False, include_non_existing=False):
|
||||
"""
|
||||
Based on CMAKE_PREFIX_PATH return all catkin workspaces.
|
||||
|
||||
:param include_fuerte: The flag if paths starting with '/opt/ros/fuerte' should be considered workspaces, ``bool``
|
||||
"""
|
||||
# get all cmake prefix paths
|
||||
env_name = 'CMAKE_PREFIX_PATH'
|
||||
value = environ[env_name] if env_name in environ else ''
|
||||
paths = [path for path in value.split(os.pathsep) if path]
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE)) or (include_fuerte and path.startswith('/opt/ros/fuerte')) or (include_non_existing and not os.path.exists(path))]
|
||||
return workspaces
|
||||
|
||||
|
||||
def prepend_env_variables(environ, env_var_subfolders, workspaces):
|
||||
"""Generate shell code to prepend environment variables for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('prepend folders of workspaces to environment variables'))
|
||||
|
||||
paths = [path for path in workspaces.split(os.pathsep) if path]
|
||||
|
||||
prefix = _prefix_env_variable(environ, 'CMAKE_PREFIX_PATH', paths, '')
|
||||
lines.append(prepend(environ, 'CMAKE_PREFIX_PATH', prefix))
|
||||
|
||||
for key in sorted(key for key in env_var_subfolders.keys() if key != 'CMAKE_PREFIX_PATH'):
|
||||
subfolder = env_var_subfolders[key]
|
||||
prefix = _prefix_env_variable(environ, key, paths, subfolder)
|
||||
lines.append(prepend(environ, key, prefix))
|
||||
return lines
|
||||
|
||||
|
||||
def _prefix_env_variable(environ, name, paths, subfolders):
|
||||
"""
|
||||
Return the prefix to prepend to the environment variable NAME.
|
||||
|
||||
Adding any path in NEW_PATHS_STR without creating duplicate or empty items.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
environ_paths = [path for path in value.split(os.pathsep) if path]
|
||||
checked_paths = []
|
||||
for path in paths:
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
for subfolder in subfolders:
|
||||
path_tmp = path
|
||||
if subfolder:
|
||||
path_tmp = os.path.join(path_tmp, subfolder)
|
||||
# skip nonexistent paths
|
||||
if not os.path.exists(path_tmp):
|
||||
continue
|
||||
# exclude any path already in env and any path we already added
|
||||
if path_tmp not in environ_paths and path_tmp not in checked_paths:
|
||||
checked_paths.append(path_tmp)
|
||||
prefix_str = os.pathsep.join(checked_paths)
|
||||
if prefix_str != '' and environ_paths:
|
||||
prefix_str += os.pathsep
|
||||
return prefix_str
|
||||
|
||||
|
||||
def assignment(key, value):
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s"' % (key, value)
|
||||
else:
|
||||
return 'set %s=%s' % (key, value)
|
||||
|
||||
|
||||
def comment(msg):
|
||||
if not IS_WINDOWS:
|
||||
return '# %s' % msg
|
||||
else:
|
||||
return 'REM %s' % msg
|
||||
|
||||
|
||||
def prepend(environ, key, prefix):
|
||||
if key not in environ or not environ[key]:
|
||||
return assignment(key, prefix)
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s$%s"' % (key, prefix, key)
|
||||
else:
|
||||
return 'set %s=%s%%%s%%' % (key, prefix, key)
|
||||
|
||||
|
||||
def find_env_hooks(environ, cmake_prefix_path):
|
||||
"""Generate shell code with found environment hooks for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('found environment hooks in workspaces'))
|
||||
|
||||
generic_env_hooks = []
|
||||
generic_env_hooks_workspace = []
|
||||
specific_env_hooks = []
|
||||
specific_env_hooks_workspace = []
|
||||
generic_env_hooks_by_filename = {}
|
||||
specific_env_hooks_by_filename = {}
|
||||
generic_env_hook_ext = 'bat' if IS_WINDOWS else 'sh'
|
||||
specific_env_hook_ext = environ['CATKIN_SHELL'] if not IS_WINDOWS and 'CATKIN_SHELL' in environ and environ['CATKIN_SHELL'] else None
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in cmake_prefix_path.split(os.pathsep) if path and os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))]
|
||||
for workspace in reversed(workspaces):
|
||||
env_hook_dir = os.path.join(workspace, 'etc', 'catkin', 'profile.d')
|
||||
if os.path.isdir(env_hook_dir):
|
||||
for filename in sorted(os.listdir(env_hook_dir)):
|
||||
if filename.endswith('.%s' % generic_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in generic_env_hooks_by_filename:
|
||||
i = generic_env_hooks.index(generic_env_hooks_by_filename[filename])
|
||||
generic_env_hooks.pop(i)
|
||||
generic_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
generic_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
generic_env_hooks_workspace.append(workspace)
|
||||
generic_env_hooks_by_filename[filename] = generic_env_hooks[-1]
|
||||
elif specific_env_hook_ext is not None and filename.endswith('.%s' % specific_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in specific_env_hooks_by_filename:
|
||||
i = specific_env_hooks.index(specific_env_hooks_by_filename[filename])
|
||||
specific_env_hooks.pop(i)
|
||||
specific_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
specific_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
specific_env_hooks_workspace.append(workspace)
|
||||
specific_env_hooks_by_filename[filename] = specific_env_hooks[-1]
|
||||
env_hooks = generic_env_hooks + specific_env_hooks
|
||||
env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace
|
||||
count = len(env_hooks)
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_COUNT', count))
|
||||
for i in range(count):
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d' % i, env_hooks[i]))
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE' % i, env_hooks_workspace[i]))
|
||||
return lines
|
||||
|
||||
|
||||
def _parse_arguments(args=None):
|
||||
parser = argparse.ArgumentParser(description='Generates code blocks for the setup.SHELL script.')
|
||||
parser.add_argument('--extend', action='store_true', help='Skip unsetting previous environment variables to extend context')
|
||||
parser.add_argument('--local', action='store_true', help='Only consider this prefix path and ignore other prefix path in the environment')
|
||||
return parser.parse_known_args(args=args)[0]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
try:
|
||||
args = _parse_arguments()
|
||||
except Exception as e:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
if not args.local:
|
||||
# environment at generation time
|
||||
CMAKE_PREFIX_PATH = r'/home/a/demo/devel;/opt/ros/noetic'.split(';')
|
||||
else:
|
||||
# don't consider any other prefix path than this one
|
||||
CMAKE_PREFIX_PATH = []
|
||||
# prepend current workspace if not already part of CPP
|
||||
base_path = os.path.dirname(__file__)
|
||||
# CMAKE_PREFIX_PATH uses forward slash on all platforms, but __file__ is platform dependent
|
||||
# base_path on Windows contains backward slashes, need to be converted to forward slashes before comparison
|
||||
if os.path.sep != '/':
|
||||
base_path = base_path.replace(os.path.sep, '/')
|
||||
|
||||
if base_path not in CMAKE_PREFIX_PATH:
|
||||
CMAKE_PREFIX_PATH.insert(0, base_path)
|
||||
CMAKE_PREFIX_PATH = os.pathsep.join(CMAKE_PREFIX_PATH)
|
||||
|
||||
environ = dict(os.environ)
|
||||
lines = []
|
||||
if not args.extend:
|
||||
lines += rollback_env_variables(environ, ENV_VAR_SUBFOLDERS)
|
||||
lines += prepend_env_variables(environ, ENV_VAR_SUBFOLDERS, CMAKE_PREFIX_PATH)
|
||||
lines += find_env_hooks(environ, CMAKE_PREFIX_PATH)
|
||||
print('\n'.join(lines))
|
||||
|
||||
# need to explicitly flush the output
|
||||
sys.stdout.flush()
|
||||
except IOError as e:
|
||||
# and catch potential "broken pipe" if stdout is not writable
|
||||
# which can happen when piping the output to a file but the disk is full
|
||||
if e.errno == errno.EPIPE:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(2)
|
||||
raise
|
||||
|
||||
sys.exit(0)
|
304
shiyan1/build/atomic_configure/_setup_util.py.XiFPM
Normal file
@ -0,0 +1,304 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Software License Agreement (BSD License)
|
||||
#
|
||||
# Copyright (c) 2012, Willow Garage, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of Willow Garage, Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
"""This file generates shell code for the setup.SHELL scripts to set environment variables."""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import copy
|
||||
import errno
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
CATKIN_MARKER_FILE = '.catkin'
|
||||
|
||||
system = platform.system()
|
||||
IS_DARWIN = (system == 'Darwin')
|
||||
IS_WINDOWS = (system == 'Windows')
|
||||
|
||||
PATH_TO_ADD_SUFFIX = ['bin']
|
||||
if IS_WINDOWS:
|
||||
# while catkin recommends putting dll's into bin, 3rd party packages often put dll's into lib
|
||||
# since Windows finds dll's via the PATH variable, prepend it with path to lib
|
||||
PATH_TO_ADD_SUFFIX.extend([['lib', os.path.join('lib', 'x86_64-linux-gnu')]])
|
||||
|
||||
# subfolder of workspace prepended to CMAKE_PREFIX_PATH
|
||||
ENV_VAR_SUBFOLDERS = {
|
||||
'CMAKE_PREFIX_PATH': '',
|
||||
'LD_LIBRARY_PATH' if not IS_DARWIN else 'DYLD_LIBRARY_PATH': ['lib', os.path.join('lib', 'x86_64-linux-gnu')],
|
||||
'PATH': PATH_TO_ADD_SUFFIX,
|
||||
'PKG_CONFIG_PATH': [os.path.join('lib', 'pkgconfig'), os.path.join('lib', 'x86_64-linux-gnu', 'pkgconfig')],
|
||||
'PYTHONPATH': 'lib/python3/dist-packages',
|
||||
}
|
||||
|
||||
|
||||
def rollback_env_variables(environ, env_var_subfolders):
|
||||
"""
|
||||
Generate shell code to reset environment variables.
|
||||
|
||||
by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH.
|
||||
This does not cover modifications performed by environment hooks.
|
||||
"""
|
||||
lines = []
|
||||
unmodified_environ = copy.copy(environ)
|
||||
for key in sorted(env_var_subfolders.keys()):
|
||||
subfolders = env_var_subfolders[key]
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
value = _rollback_env_variable(unmodified_environ, key, subfolders)
|
||||
if value is not None:
|
||||
environ[key] = value
|
||||
lines.append(assignment(key, value))
|
||||
if lines:
|
||||
lines.insert(0, comment('reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH'))
|
||||
return lines
|
||||
|
||||
|
||||
def _rollback_env_variable(environ, name, subfolders):
|
||||
"""
|
||||
For each catkin workspace in CMAKE_PREFIX_PATH remove the first entry from env[NAME] matching workspace + subfolder.
|
||||
|
||||
:param subfolders: list of str '' or subfoldername that may start with '/'
|
||||
:returns: the updated value of the environment variable.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
env_paths = [path for path in value.split(os.pathsep) if path]
|
||||
value_modified = False
|
||||
for subfolder in subfolders:
|
||||
if subfolder:
|
||||
if subfolder.startswith(os.path.sep) or (os.path.altsep and subfolder.startswith(os.path.altsep)):
|
||||
subfolder = subfolder[1:]
|
||||
if subfolder.endswith(os.path.sep) or (os.path.altsep and subfolder.endswith(os.path.altsep)):
|
||||
subfolder = subfolder[:-1]
|
||||
for ws_path in _get_workspaces(environ, include_fuerte=True, include_non_existing=True):
|
||||
path_to_find = os.path.join(ws_path, subfolder) if subfolder else ws_path
|
||||
path_to_remove = None
|
||||
for env_path in env_paths:
|
||||
env_path_clean = env_path[:-1] if env_path and env_path[-1] in [os.path.sep, os.path.altsep] else env_path
|
||||
if env_path_clean == path_to_find:
|
||||
path_to_remove = env_path
|
||||
break
|
||||
if path_to_remove:
|
||||
env_paths.remove(path_to_remove)
|
||||
value_modified = True
|
||||
new_value = os.pathsep.join(env_paths)
|
||||
return new_value if value_modified else None
|
||||
|
||||
|
||||
def _get_workspaces(environ, include_fuerte=False, include_non_existing=False):
|
||||
"""
|
||||
Based on CMAKE_PREFIX_PATH return all catkin workspaces.
|
||||
|
||||
:param include_fuerte: The flag if paths starting with '/opt/ros/fuerte' should be considered workspaces, ``bool``
|
||||
"""
|
||||
# get all cmake prefix paths
|
||||
env_name = 'CMAKE_PREFIX_PATH'
|
||||
value = environ[env_name] if env_name in environ else ''
|
||||
paths = [path for path in value.split(os.pathsep) if path]
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE)) or (include_fuerte and path.startswith('/opt/ros/fuerte')) or (include_non_existing and not os.path.exists(path))]
|
||||
return workspaces
|
||||
|
||||
|
||||
def prepend_env_variables(environ, env_var_subfolders, workspaces):
|
||||
"""Generate shell code to prepend environment variables for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('prepend folders of workspaces to environment variables'))
|
||||
|
||||
paths = [path for path in workspaces.split(os.pathsep) if path]
|
||||
|
||||
prefix = _prefix_env_variable(environ, 'CMAKE_PREFIX_PATH', paths, '')
|
||||
lines.append(prepend(environ, 'CMAKE_PREFIX_PATH', prefix))
|
||||
|
||||
for key in sorted(key for key in env_var_subfolders.keys() if key != 'CMAKE_PREFIX_PATH'):
|
||||
subfolder = env_var_subfolders[key]
|
||||
prefix = _prefix_env_variable(environ, key, paths, subfolder)
|
||||
lines.append(prepend(environ, key, prefix))
|
||||
return lines
|
||||
|
||||
|
||||
def _prefix_env_variable(environ, name, paths, subfolders):
|
||||
"""
|
||||
Return the prefix to prepend to the environment variable NAME.
|
||||
|
||||
Adding any path in NEW_PATHS_STR without creating duplicate or empty items.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
environ_paths = [path for path in value.split(os.pathsep) if path]
|
||||
checked_paths = []
|
||||
for path in paths:
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
for subfolder in subfolders:
|
||||
path_tmp = path
|
||||
if subfolder:
|
||||
path_tmp = os.path.join(path_tmp, subfolder)
|
||||
# skip nonexistent paths
|
||||
if not os.path.exists(path_tmp):
|
||||
continue
|
||||
# exclude any path already in env and any path we already added
|
||||
if path_tmp not in environ_paths and path_tmp not in checked_paths:
|
||||
checked_paths.append(path_tmp)
|
||||
prefix_str = os.pathsep.join(checked_paths)
|
||||
if prefix_str != '' and environ_paths:
|
||||
prefix_str += os.pathsep
|
||||
return prefix_str
|
||||
|
||||
|
||||
def assignment(key, value):
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s"' % (key, value)
|
||||
else:
|
||||
return 'set %s=%s' % (key, value)
|
||||
|
||||
|
||||
def comment(msg):
|
||||
if not IS_WINDOWS:
|
||||
return '# %s' % msg
|
||||
else:
|
||||
return 'REM %s' % msg
|
||||
|
||||
|
||||
def prepend(environ, key, prefix):
|
||||
if key not in environ or not environ[key]:
|
||||
return assignment(key, prefix)
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s$%s"' % (key, prefix, key)
|
||||
else:
|
||||
return 'set %s=%s%%%s%%' % (key, prefix, key)
|
||||
|
||||
|
||||
def find_env_hooks(environ, cmake_prefix_path):
|
||||
"""Generate shell code with found environment hooks for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('found environment hooks in workspaces'))
|
||||
|
||||
generic_env_hooks = []
|
||||
generic_env_hooks_workspace = []
|
||||
specific_env_hooks = []
|
||||
specific_env_hooks_workspace = []
|
||||
generic_env_hooks_by_filename = {}
|
||||
specific_env_hooks_by_filename = {}
|
||||
generic_env_hook_ext = 'bat' if IS_WINDOWS else 'sh'
|
||||
specific_env_hook_ext = environ['CATKIN_SHELL'] if not IS_WINDOWS and 'CATKIN_SHELL' in environ and environ['CATKIN_SHELL'] else None
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in cmake_prefix_path.split(os.pathsep) if path and os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))]
|
||||
for workspace in reversed(workspaces):
|
||||
env_hook_dir = os.path.join(workspace, 'etc', 'catkin', 'profile.d')
|
||||
if os.path.isdir(env_hook_dir):
|
||||
for filename in sorted(os.listdir(env_hook_dir)):
|
||||
if filename.endswith('.%s' % generic_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in generic_env_hooks_by_filename:
|
||||
i = generic_env_hooks.index(generic_env_hooks_by_filename[filename])
|
||||
generic_env_hooks.pop(i)
|
||||
generic_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
generic_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
generic_env_hooks_workspace.append(workspace)
|
||||
generic_env_hooks_by_filename[filename] = generic_env_hooks[-1]
|
||||
elif specific_env_hook_ext is not None and filename.endswith('.%s' % specific_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in specific_env_hooks_by_filename:
|
||||
i = specific_env_hooks.index(specific_env_hooks_by_filename[filename])
|
||||
specific_env_hooks.pop(i)
|
||||
specific_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
specific_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
specific_env_hooks_workspace.append(workspace)
|
||||
specific_env_hooks_by_filename[filename] = specific_env_hooks[-1]
|
||||
env_hooks = generic_env_hooks + specific_env_hooks
|
||||
env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace
|
||||
count = len(env_hooks)
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_COUNT', count))
|
||||
for i in range(count):
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d' % i, env_hooks[i]))
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE' % i, env_hooks_workspace[i]))
|
||||
return lines
|
||||
|
||||
|
||||
def _parse_arguments(args=None):
|
||||
parser = argparse.ArgumentParser(description='Generates code blocks for the setup.SHELL script.')
|
||||
parser.add_argument('--extend', action='store_true', help='Skip unsetting previous environment variables to extend context')
|
||||
parser.add_argument('--local', action='store_true', help='Only consider this prefix path and ignore other prefix path in the environment')
|
||||
return parser.parse_known_args(args=args)[0]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
try:
|
||||
args = _parse_arguments()
|
||||
except Exception as e:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
if not args.local:
|
||||
# environment at generation time
|
||||
CMAKE_PREFIX_PATH = r'/home/a/demo/devel;/opt/ros/noetic'.split(';')
|
||||
else:
|
||||
# don't consider any other prefix path than this one
|
||||
CMAKE_PREFIX_PATH = []
|
||||
# prepend current workspace if not already part of CPP
|
||||
base_path = os.path.dirname(__file__)
|
||||
# CMAKE_PREFIX_PATH uses forward slash on all platforms, but __file__ is platform dependent
|
||||
# base_path on Windows contains backward slashes, need to be converted to forward slashes before comparison
|
||||
if os.path.sep != '/':
|
||||
base_path = base_path.replace(os.path.sep, '/')
|
||||
|
||||
if base_path not in CMAKE_PREFIX_PATH:
|
||||
CMAKE_PREFIX_PATH.insert(0, base_path)
|
||||
CMAKE_PREFIX_PATH = os.pathsep.join(CMAKE_PREFIX_PATH)
|
||||
|
||||
environ = dict(os.environ)
|
||||
lines = []
|
||||
if not args.extend:
|
||||
lines += rollback_env_variables(environ, ENV_VAR_SUBFOLDERS)
|
||||
lines += prepend_env_variables(environ, ENV_VAR_SUBFOLDERS, CMAKE_PREFIX_PATH)
|
||||
lines += find_env_hooks(environ, CMAKE_PREFIX_PATH)
|
||||
print('\n'.join(lines))
|
||||
|
||||
# need to explicitly flush the output
|
||||
sys.stdout.flush()
|
||||
except IOError as e:
|
||||
# and catch potential "broken pipe" if stdout is not writable
|
||||
# which can happen when piping the output to a file but the disk is full
|
||||
if e.errno == errno.EPIPE:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(2)
|
||||
raise
|
||||
|
||||
sys.exit(0)
|
304
shiyan1/build/atomic_configure/_setup_util.py.lkUGT
Normal file
@ -0,0 +1,304 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Software License Agreement (BSD License)
|
||||
#
|
||||
# Copyright (c) 2012, Willow Garage, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of Willow Garage, Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
"""This file generates shell code for the setup.SHELL scripts to set environment variables."""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import copy
|
||||
import errno
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
CATKIN_MARKER_FILE = '.catkin'
|
||||
|
||||
system = platform.system()
|
||||
IS_DARWIN = (system == 'Darwin')
|
||||
IS_WINDOWS = (system == 'Windows')
|
||||
|
||||
PATH_TO_ADD_SUFFIX = ['bin']
|
||||
if IS_WINDOWS:
|
||||
# while catkin recommends putting dll's into bin, 3rd party packages often put dll's into lib
|
||||
# since Windows finds dll's via the PATH variable, prepend it with path to lib
|
||||
PATH_TO_ADD_SUFFIX.extend([['lib', os.path.join('lib', 'x86_64-linux-gnu')]])
|
||||
|
||||
# subfolder of workspace prepended to CMAKE_PREFIX_PATH
|
||||
ENV_VAR_SUBFOLDERS = {
|
||||
'CMAKE_PREFIX_PATH': '',
|
||||
'LD_LIBRARY_PATH' if not IS_DARWIN else 'DYLD_LIBRARY_PATH': ['lib', os.path.join('lib', 'x86_64-linux-gnu')],
|
||||
'PATH': PATH_TO_ADD_SUFFIX,
|
||||
'PKG_CONFIG_PATH': [os.path.join('lib', 'pkgconfig'), os.path.join('lib', 'x86_64-linux-gnu', 'pkgconfig')],
|
||||
'PYTHONPATH': 'lib/python3/dist-packages',
|
||||
}
|
||||
|
||||
|
||||
def rollback_env_variables(environ, env_var_subfolders):
|
||||
"""
|
||||
Generate shell code to reset environment variables.
|
||||
|
||||
by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH.
|
||||
This does not cover modifications performed by environment hooks.
|
||||
"""
|
||||
lines = []
|
||||
unmodified_environ = copy.copy(environ)
|
||||
for key in sorted(env_var_subfolders.keys()):
|
||||
subfolders = env_var_subfolders[key]
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
value = _rollback_env_variable(unmodified_environ, key, subfolders)
|
||||
if value is not None:
|
||||
environ[key] = value
|
||||
lines.append(assignment(key, value))
|
||||
if lines:
|
||||
lines.insert(0, comment('reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH'))
|
||||
return lines
|
||||
|
||||
|
||||
def _rollback_env_variable(environ, name, subfolders):
|
||||
"""
|
||||
For each catkin workspace in CMAKE_PREFIX_PATH remove the first entry from env[NAME] matching workspace + subfolder.
|
||||
|
||||
:param subfolders: list of str '' or subfoldername that may start with '/'
|
||||
:returns: the updated value of the environment variable.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
env_paths = [path for path in value.split(os.pathsep) if path]
|
||||
value_modified = False
|
||||
for subfolder in subfolders:
|
||||
if subfolder:
|
||||
if subfolder.startswith(os.path.sep) or (os.path.altsep and subfolder.startswith(os.path.altsep)):
|
||||
subfolder = subfolder[1:]
|
||||
if subfolder.endswith(os.path.sep) or (os.path.altsep and subfolder.endswith(os.path.altsep)):
|
||||
subfolder = subfolder[:-1]
|
||||
for ws_path in _get_workspaces(environ, include_fuerte=True, include_non_existing=True):
|
||||
path_to_find = os.path.join(ws_path, subfolder) if subfolder else ws_path
|
||||
path_to_remove = None
|
||||
for env_path in env_paths:
|
||||
env_path_clean = env_path[:-1] if env_path and env_path[-1] in [os.path.sep, os.path.altsep] else env_path
|
||||
if env_path_clean == path_to_find:
|
||||
path_to_remove = env_path
|
||||
break
|
||||
if path_to_remove:
|
||||
env_paths.remove(path_to_remove)
|
||||
value_modified = True
|
||||
new_value = os.pathsep.join(env_paths)
|
||||
return new_value if value_modified else None
|
||||
|
||||
|
||||
def _get_workspaces(environ, include_fuerte=False, include_non_existing=False):
|
||||
"""
|
||||
Based on CMAKE_PREFIX_PATH return all catkin workspaces.
|
||||
|
||||
:param include_fuerte: The flag if paths starting with '/opt/ros/fuerte' should be considered workspaces, ``bool``
|
||||
"""
|
||||
# get all cmake prefix paths
|
||||
env_name = 'CMAKE_PREFIX_PATH'
|
||||
value = environ[env_name] if env_name in environ else ''
|
||||
paths = [path for path in value.split(os.pathsep) if path]
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE)) or (include_fuerte and path.startswith('/opt/ros/fuerte')) or (include_non_existing and not os.path.exists(path))]
|
||||
return workspaces
|
||||
|
||||
|
||||
def prepend_env_variables(environ, env_var_subfolders, workspaces):
|
||||
"""Generate shell code to prepend environment variables for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('prepend folders of workspaces to environment variables'))
|
||||
|
||||
paths = [path for path in workspaces.split(os.pathsep) if path]
|
||||
|
||||
prefix = _prefix_env_variable(environ, 'CMAKE_PREFIX_PATH', paths, '')
|
||||
lines.append(prepend(environ, 'CMAKE_PREFIX_PATH', prefix))
|
||||
|
||||
for key in sorted(key for key in env_var_subfolders.keys() if key != 'CMAKE_PREFIX_PATH'):
|
||||
subfolder = env_var_subfolders[key]
|
||||
prefix = _prefix_env_variable(environ, key, paths, subfolder)
|
||||
lines.append(prepend(environ, key, prefix))
|
||||
return lines
|
||||
|
||||
|
||||
def _prefix_env_variable(environ, name, paths, subfolders):
|
||||
"""
|
||||
Return the prefix to prepend to the environment variable NAME.
|
||||
|
||||
Adding any path in NEW_PATHS_STR without creating duplicate or empty items.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
environ_paths = [path for path in value.split(os.pathsep) if path]
|
||||
checked_paths = []
|
||||
for path in paths:
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
for subfolder in subfolders:
|
||||
path_tmp = path
|
||||
if subfolder:
|
||||
path_tmp = os.path.join(path_tmp, subfolder)
|
||||
# skip nonexistent paths
|
||||
if not os.path.exists(path_tmp):
|
||||
continue
|
||||
# exclude any path already in env and any path we already added
|
||||
if path_tmp not in environ_paths and path_tmp not in checked_paths:
|
||||
checked_paths.append(path_tmp)
|
||||
prefix_str = os.pathsep.join(checked_paths)
|
||||
if prefix_str != '' and environ_paths:
|
||||
prefix_str += os.pathsep
|
||||
return prefix_str
|
||||
|
||||
|
||||
def assignment(key, value):
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s"' % (key, value)
|
||||
else:
|
||||
return 'set %s=%s' % (key, value)
|
||||
|
||||
|
||||
def comment(msg):
|
||||
if not IS_WINDOWS:
|
||||
return '# %s' % msg
|
||||
else:
|
||||
return 'REM %s' % msg
|
||||
|
||||
|
||||
def prepend(environ, key, prefix):
|
||||
if key not in environ or not environ[key]:
|
||||
return assignment(key, prefix)
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s$%s"' % (key, prefix, key)
|
||||
else:
|
||||
return 'set %s=%s%%%s%%' % (key, prefix, key)
|
||||
|
||||
|
||||
def find_env_hooks(environ, cmake_prefix_path):
|
||||
"""Generate shell code with found environment hooks for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('found environment hooks in workspaces'))
|
||||
|
||||
generic_env_hooks = []
|
||||
generic_env_hooks_workspace = []
|
||||
specific_env_hooks = []
|
||||
specific_env_hooks_workspace = []
|
||||
generic_env_hooks_by_filename = {}
|
||||
specific_env_hooks_by_filename = {}
|
||||
generic_env_hook_ext = 'bat' if IS_WINDOWS else 'sh'
|
||||
specific_env_hook_ext = environ['CATKIN_SHELL'] if not IS_WINDOWS and 'CATKIN_SHELL' in environ and environ['CATKIN_SHELL'] else None
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in cmake_prefix_path.split(os.pathsep) if path and os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))]
|
||||
for workspace in reversed(workspaces):
|
||||
env_hook_dir = os.path.join(workspace, 'etc', 'catkin', 'profile.d')
|
||||
if os.path.isdir(env_hook_dir):
|
||||
for filename in sorted(os.listdir(env_hook_dir)):
|
||||
if filename.endswith('.%s' % generic_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in generic_env_hooks_by_filename:
|
||||
i = generic_env_hooks.index(generic_env_hooks_by_filename[filename])
|
||||
generic_env_hooks.pop(i)
|
||||
generic_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
generic_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
generic_env_hooks_workspace.append(workspace)
|
||||
generic_env_hooks_by_filename[filename] = generic_env_hooks[-1]
|
||||
elif specific_env_hook_ext is not None and filename.endswith('.%s' % specific_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in specific_env_hooks_by_filename:
|
||||
i = specific_env_hooks.index(specific_env_hooks_by_filename[filename])
|
||||
specific_env_hooks.pop(i)
|
||||
specific_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
specific_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
specific_env_hooks_workspace.append(workspace)
|
||||
specific_env_hooks_by_filename[filename] = specific_env_hooks[-1]
|
||||
env_hooks = generic_env_hooks + specific_env_hooks
|
||||
env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace
|
||||
count = len(env_hooks)
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_COUNT', count))
|
||||
for i in range(count):
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d' % i, env_hooks[i]))
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE' % i, env_hooks_workspace[i]))
|
||||
return lines
|
||||
|
||||
|
||||
def _parse_arguments(args=None):
|
||||
parser = argparse.ArgumentParser(description='Generates code blocks for the setup.SHELL script.')
|
||||
parser.add_argument('--extend', action='store_true', help='Skip unsetting previous environment variables to extend context')
|
||||
parser.add_argument('--local', action='store_true', help='Only consider this prefix path and ignore other prefix path in the environment')
|
||||
return parser.parse_known_args(args=args)[0]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
try:
|
||||
args = _parse_arguments()
|
||||
except Exception as e:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
if not args.local:
|
||||
# environment at generation time
|
||||
CMAKE_PREFIX_PATH = r'/home/a/demo/devel;/opt/ros/noetic'.split(';')
|
||||
else:
|
||||
# don't consider any other prefix path than this one
|
||||
CMAKE_PREFIX_PATH = []
|
||||
# prepend current workspace if not already part of CPP
|
||||
base_path = os.path.dirname(__file__)
|
||||
# CMAKE_PREFIX_PATH uses forward slash on all platforms, but __file__ is platform dependent
|
||||
# base_path on Windows contains backward slashes, need to be converted to forward slashes before comparison
|
||||
if os.path.sep != '/':
|
||||
base_path = base_path.replace(os.path.sep, '/')
|
||||
|
||||
if base_path not in CMAKE_PREFIX_PATH:
|
||||
CMAKE_PREFIX_PATH.insert(0, base_path)
|
||||
CMAKE_PREFIX_PATH = os.pathsep.join(CMAKE_PREFIX_PATH)
|
||||
|
||||
environ = dict(os.environ)
|
||||
lines = []
|
||||
if not args.extend:
|
||||
lines += rollback_env_variables(environ, ENV_VAR_SUBFOLDERS)
|
||||
lines += prepend_env_variables(environ, ENV_VAR_SUBFOLDERS, CMAKE_PREFIX_PATH)
|
||||
lines += find_env_hooks(environ, CMAKE_PREFIX_PATH)
|
||||
print('\n'.join(lines))
|
||||
|
||||
# need to explicitly flush the output
|
||||
sys.stdout.flush()
|
||||
except IOError as e:
|
||||
# and catch potential "broken pipe" if stdout is not writable
|
||||
# which can happen when piping the output to a file but the disk is full
|
||||
if e.errno == errno.EPIPE:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(2)
|
||||
raise
|
||||
|
||||
sys.exit(0)
|
304
shiyan1/build/atomic_configure/_setup_util.py.u5MvJ
Normal file
@ -0,0 +1,304 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Software License Agreement (BSD License)
|
||||
#
|
||||
# Copyright (c) 2012, Willow Garage, Inc.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
# * Neither the name of Willow Garage, Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
"""This file generates shell code for the setup.SHELL scripts to set environment variables."""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import copy
|
||||
import errno
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
CATKIN_MARKER_FILE = '.catkin'
|
||||
|
||||
system = platform.system()
|
||||
IS_DARWIN = (system == 'Darwin')
|
||||
IS_WINDOWS = (system == 'Windows')
|
||||
|
||||
PATH_TO_ADD_SUFFIX = ['bin']
|
||||
if IS_WINDOWS:
|
||||
# while catkin recommends putting dll's into bin, 3rd party packages often put dll's into lib
|
||||
# since Windows finds dll's via the PATH variable, prepend it with path to lib
|
||||
PATH_TO_ADD_SUFFIX.extend([['lib', os.path.join('lib', 'x86_64-linux-gnu')]])
|
||||
|
||||
# subfolder of workspace prepended to CMAKE_PREFIX_PATH
|
||||
ENV_VAR_SUBFOLDERS = {
|
||||
'CMAKE_PREFIX_PATH': '',
|
||||
'LD_LIBRARY_PATH' if not IS_DARWIN else 'DYLD_LIBRARY_PATH': ['lib', os.path.join('lib', 'x86_64-linux-gnu')],
|
||||
'PATH': PATH_TO_ADD_SUFFIX,
|
||||
'PKG_CONFIG_PATH': [os.path.join('lib', 'pkgconfig'), os.path.join('lib', 'x86_64-linux-gnu', 'pkgconfig')],
|
||||
'PYTHONPATH': 'lib/python3/dist-packages',
|
||||
}
|
||||
|
||||
|
||||
def rollback_env_variables(environ, env_var_subfolders):
|
||||
"""
|
||||
Generate shell code to reset environment variables.
|
||||
|
||||
by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH.
|
||||
This does not cover modifications performed by environment hooks.
|
||||
"""
|
||||
lines = []
|
||||
unmodified_environ = copy.copy(environ)
|
||||
for key in sorted(env_var_subfolders.keys()):
|
||||
subfolders = env_var_subfolders[key]
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
value = _rollback_env_variable(unmodified_environ, key, subfolders)
|
||||
if value is not None:
|
||||
environ[key] = value
|
||||
lines.append(assignment(key, value))
|
||||
if lines:
|
||||
lines.insert(0, comment('reset environment variables by unrolling modifications based on all workspaces in CMAKE_PREFIX_PATH'))
|
||||
return lines
|
||||
|
||||
|
||||
def _rollback_env_variable(environ, name, subfolders):
|
||||
"""
|
||||
For each catkin workspace in CMAKE_PREFIX_PATH remove the first entry from env[NAME] matching workspace + subfolder.
|
||||
|
||||
:param subfolders: list of str '' or subfoldername that may start with '/'
|
||||
:returns: the updated value of the environment variable.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
env_paths = [path for path in value.split(os.pathsep) if path]
|
||||
value_modified = False
|
||||
for subfolder in subfolders:
|
||||
if subfolder:
|
||||
if subfolder.startswith(os.path.sep) or (os.path.altsep and subfolder.startswith(os.path.altsep)):
|
||||
subfolder = subfolder[1:]
|
||||
if subfolder.endswith(os.path.sep) or (os.path.altsep and subfolder.endswith(os.path.altsep)):
|
||||
subfolder = subfolder[:-1]
|
||||
for ws_path in _get_workspaces(environ, include_fuerte=True, include_non_existing=True):
|
||||
path_to_find = os.path.join(ws_path, subfolder) if subfolder else ws_path
|
||||
path_to_remove = None
|
||||
for env_path in env_paths:
|
||||
env_path_clean = env_path[:-1] if env_path and env_path[-1] in [os.path.sep, os.path.altsep] else env_path
|
||||
if env_path_clean == path_to_find:
|
||||
path_to_remove = env_path
|
||||
break
|
||||
if path_to_remove:
|
||||
env_paths.remove(path_to_remove)
|
||||
value_modified = True
|
||||
new_value = os.pathsep.join(env_paths)
|
||||
return new_value if value_modified else None
|
||||
|
||||
|
||||
def _get_workspaces(environ, include_fuerte=False, include_non_existing=False):
|
||||
"""
|
||||
Based on CMAKE_PREFIX_PATH return all catkin workspaces.
|
||||
|
||||
:param include_fuerte: The flag if paths starting with '/opt/ros/fuerte' should be considered workspaces, ``bool``
|
||||
"""
|
||||
# get all cmake prefix paths
|
||||
env_name = 'CMAKE_PREFIX_PATH'
|
||||
value = environ[env_name] if env_name in environ else ''
|
||||
paths = [path for path in value.split(os.pathsep) if path]
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in paths if os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE)) or (include_fuerte and path.startswith('/opt/ros/fuerte')) or (include_non_existing and not os.path.exists(path))]
|
||||
return workspaces
|
||||
|
||||
|
||||
def prepend_env_variables(environ, env_var_subfolders, workspaces):
|
||||
"""Generate shell code to prepend environment variables for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('prepend folders of workspaces to environment variables'))
|
||||
|
||||
paths = [path for path in workspaces.split(os.pathsep) if path]
|
||||
|
||||
prefix = _prefix_env_variable(environ, 'CMAKE_PREFIX_PATH', paths, '')
|
||||
lines.append(prepend(environ, 'CMAKE_PREFIX_PATH', prefix))
|
||||
|
||||
for key in sorted(key for key in env_var_subfolders.keys() if key != 'CMAKE_PREFIX_PATH'):
|
||||
subfolder = env_var_subfolders[key]
|
||||
prefix = _prefix_env_variable(environ, key, paths, subfolder)
|
||||
lines.append(prepend(environ, key, prefix))
|
||||
return lines
|
||||
|
||||
|
||||
def _prefix_env_variable(environ, name, paths, subfolders):
|
||||
"""
|
||||
Return the prefix to prepend to the environment variable NAME.
|
||||
|
||||
Adding any path in NEW_PATHS_STR without creating duplicate or empty items.
|
||||
"""
|
||||
value = environ[name] if name in environ else ''
|
||||
environ_paths = [path for path in value.split(os.pathsep) if path]
|
||||
checked_paths = []
|
||||
for path in paths:
|
||||
if not isinstance(subfolders, list):
|
||||
subfolders = [subfolders]
|
||||
for subfolder in subfolders:
|
||||
path_tmp = path
|
||||
if subfolder:
|
||||
path_tmp = os.path.join(path_tmp, subfolder)
|
||||
# skip nonexistent paths
|
||||
if not os.path.exists(path_tmp):
|
||||
continue
|
||||
# exclude any path already in env and any path we already added
|
||||
if path_tmp not in environ_paths and path_tmp not in checked_paths:
|
||||
checked_paths.append(path_tmp)
|
||||
prefix_str = os.pathsep.join(checked_paths)
|
||||
if prefix_str != '' and environ_paths:
|
||||
prefix_str += os.pathsep
|
||||
return prefix_str
|
||||
|
||||
|
||||
def assignment(key, value):
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s"' % (key, value)
|
||||
else:
|
||||
return 'set %s=%s' % (key, value)
|
||||
|
||||
|
||||
def comment(msg):
|
||||
if not IS_WINDOWS:
|
||||
return '# %s' % msg
|
||||
else:
|
||||
return 'REM %s' % msg
|
||||
|
||||
|
||||
def prepend(environ, key, prefix):
|
||||
if key not in environ or not environ[key]:
|
||||
return assignment(key, prefix)
|
||||
if not IS_WINDOWS:
|
||||
return 'export %s="%s$%s"' % (key, prefix, key)
|
||||
else:
|
||||
return 'set %s=%s%%%s%%' % (key, prefix, key)
|
||||
|
||||
|
||||
def find_env_hooks(environ, cmake_prefix_path):
|
||||
"""Generate shell code with found environment hooks for the all workspaces."""
|
||||
lines = []
|
||||
lines.append(comment('found environment hooks in workspaces'))
|
||||
|
||||
generic_env_hooks = []
|
||||
generic_env_hooks_workspace = []
|
||||
specific_env_hooks = []
|
||||
specific_env_hooks_workspace = []
|
||||
generic_env_hooks_by_filename = {}
|
||||
specific_env_hooks_by_filename = {}
|
||||
generic_env_hook_ext = 'bat' if IS_WINDOWS else 'sh'
|
||||
specific_env_hook_ext = environ['CATKIN_SHELL'] if not IS_WINDOWS and 'CATKIN_SHELL' in environ and environ['CATKIN_SHELL'] else None
|
||||
# remove non-workspace paths
|
||||
workspaces = [path for path in cmake_prefix_path.split(os.pathsep) if path and os.path.isfile(os.path.join(path, CATKIN_MARKER_FILE))]
|
||||
for workspace in reversed(workspaces):
|
||||
env_hook_dir = os.path.join(workspace, 'etc', 'catkin', 'profile.d')
|
||||
if os.path.isdir(env_hook_dir):
|
||||
for filename in sorted(os.listdir(env_hook_dir)):
|
||||
if filename.endswith('.%s' % generic_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in generic_env_hooks_by_filename:
|
||||
i = generic_env_hooks.index(generic_env_hooks_by_filename[filename])
|
||||
generic_env_hooks.pop(i)
|
||||
generic_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
generic_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
generic_env_hooks_workspace.append(workspace)
|
||||
generic_env_hooks_by_filename[filename] = generic_env_hooks[-1]
|
||||
elif specific_env_hook_ext is not None and filename.endswith('.%s' % specific_env_hook_ext):
|
||||
# remove previous env hook with same name if present
|
||||
if filename in specific_env_hooks_by_filename:
|
||||
i = specific_env_hooks.index(specific_env_hooks_by_filename[filename])
|
||||
specific_env_hooks.pop(i)
|
||||
specific_env_hooks_workspace.pop(i)
|
||||
# append env hook
|
||||
specific_env_hooks.append(os.path.join(env_hook_dir, filename))
|
||||
specific_env_hooks_workspace.append(workspace)
|
||||
specific_env_hooks_by_filename[filename] = specific_env_hooks[-1]
|
||||
env_hooks = generic_env_hooks + specific_env_hooks
|
||||
env_hooks_workspace = generic_env_hooks_workspace + specific_env_hooks_workspace
|
||||
count = len(env_hooks)
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_COUNT', count))
|
||||
for i in range(count):
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d' % i, env_hooks[i]))
|
||||
lines.append(assignment('_CATKIN_ENVIRONMENT_HOOKS_%d_WORKSPACE' % i, env_hooks_workspace[i]))
|
||||
return lines
|
||||
|
||||
|
||||
def _parse_arguments(args=None):
|
||||
parser = argparse.ArgumentParser(description='Generates code blocks for the setup.SHELL script.')
|
||||
parser.add_argument('--extend', action='store_true', help='Skip unsetting previous environment variables to extend context')
|
||||
parser.add_argument('--local', action='store_true', help='Only consider this prefix path and ignore other prefix path in the environment')
|
||||
return parser.parse_known_args(args=args)[0]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
try:
|
||||
args = _parse_arguments()
|
||||
except Exception as e:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
if not args.local:
|
||||
# environment at generation time
|
||||
CMAKE_PREFIX_PATH = r'/home/a/demo/devel;/opt/ros/noetic'.split(';')
|
||||
else:
|
||||
# don't consider any other prefix path than this one
|
||||
CMAKE_PREFIX_PATH = []
|
||||
# prepend current workspace if not already part of CPP
|
||||
base_path = os.path.dirname(__file__)
|
||||
# CMAKE_PREFIX_PATH uses forward slash on all platforms, but __file__ is platform dependent
|
||||
# base_path on Windows contains backward slashes, need to be converted to forward slashes before comparison
|
||||
if os.path.sep != '/':
|
||||
base_path = base_path.replace(os.path.sep, '/')
|
||||
|
||||
if base_path not in CMAKE_PREFIX_PATH:
|
||||
CMAKE_PREFIX_PATH.insert(0, base_path)
|
||||
CMAKE_PREFIX_PATH = os.pathsep.join(CMAKE_PREFIX_PATH)
|
||||
|
||||
environ = dict(os.environ)
|
||||
lines = []
|
||||
if not args.extend:
|
||||
lines += rollback_env_variables(environ, ENV_VAR_SUBFOLDERS)
|
||||
lines += prepend_env_variables(environ, ENV_VAR_SUBFOLDERS, CMAKE_PREFIX_PATH)
|
||||
lines += find_env_hooks(environ, CMAKE_PREFIX_PATH)
|
||||
print('\n'.join(lines))
|
||||
|
||||
# need to explicitly flush the output
|
||||
sys.stdout.flush()
|
||||
except IOError as e:
|
||||
# and catch potential "broken pipe" if stdout is not writable
|
||||
# which can happen when piping the output to a file but the disk is full
|
||||
if e.errno == errno.EPIPE:
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(2)
|
||||
raise
|
||||
|
||||
sys.exit(0)
|
0
build/atomic_configure/env.sh.CNCok → shiyan1/build/atomic_configure/env.sh.98YGW
Executable file → Normal file
0
build/catkin_generated/installspace/env.sh → shiyan1/build/atomic_configure/env.sh.IJNJ7
Executable file → Normal file
0
devel/env.sh → shiyan1/build/atomic_configure/env.sh.KAfDt
Executable file → Normal file
16
shiyan1/build/atomic_configure/env.sh.OctUy
Normal file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env sh
|
||||
# generated from catkin/cmake/templates/env.sh.in
|
||||
|
||||
if [ $# -eq 0 ] ; then
|
||||
/bin/echo "Usage: env.sh COMMANDS"
|
||||
/bin/echo "Calling env.sh without arguments is not supported anymore. Instead spawn a subshell and source a setup file manually."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ensure to not use different shell type which was set before
|
||||
CATKIN_SHELL=sh
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(cd "`dirname "$0"`" > /dev/null && pwd)
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh"
|
||||
exec "$@"
|
16
shiyan1/build/atomic_configure/env.sh.SXg65
Normal file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env sh
|
||||
# generated from catkin/cmake/templates/env.sh.in
|
||||
|
||||
if [ $# -eq 0 ] ; then
|
||||
/bin/echo "Usage: env.sh COMMANDS"
|
||||
/bin/echo "Calling env.sh without arguments is not supported anymore. Instead spawn a subshell and source a setup file manually."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ensure to not use different shell type which was set before
|
||||
CATKIN_SHELL=sh
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(cd "`dirname "$0"`" > /dev/null && pwd)
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh"
|
||||
exec "$@"
|
16
shiyan1/build/atomic_configure/env.sh.eIQuQ
Normal file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env sh
|
||||
# generated from catkin/cmake/templates/env.sh.in
|
||||
|
||||
if [ $# -eq 0 ] ; then
|
||||
/bin/echo "Usage: env.sh COMMANDS"
|
||||
/bin/echo "Calling env.sh without arguments is not supported anymore. Instead spawn a subshell and source a setup file manually."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ensure to not use different shell type which was set before
|
||||
CATKIN_SHELL=sh
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(cd "`dirname "$0"`" > /dev/null && pwd)
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh"
|
||||
exec "$@"
|
16
shiyan1/build/atomic_configure/env.sh.nzZ3V
Normal file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env sh
|
||||
# generated from catkin/cmake/templates/env.sh.in
|
||||
|
||||
if [ $# -eq 0 ] ; then
|
||||
/bin/echo "Usage: env.sh COMMANDS"
|
||||
/bin/echo "Calling env.sh without arguments is not supported anymore. Instead spawn a subshell and source a setup file manually."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ensure to not use different shell type which was set before
|
||||
CATKIN_SHELL=sh
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(cd "`dirname "$0"`" > /dev/null && pwd)
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh"
|
||||
exec "$@"
|
16
shiyan1/build/atomic_configure/env.sh.tXarx
Normal file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env sh
|
||||
# generated from catkin/cmake/templates/env.sh.in
|
||||
|
||||
if [ $# -eq 0 ] ; then
|
||||
/bin/echo "Usage: env.sh COMMANDS"
|
||||
/bin/echo "Calling env.sh without arguments is not supported anymore. Instead spawn a subshell and source a setup file manually."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ensure to not use different shell type which was set before
|
||||
CATKIN_SHELL=sh
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(cd "`dirname "$0"`" > /dev/null && pwd)
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh"
|
||||
exec "$@"
|
8
shiyan1/build/atomic_configure/local_setup.bash.ncTmm
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# generated from catkin/cmake/templates/local_setup.bash.in
|
||||
|
||||
CATKIN_SHELL=bash
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh" --extend --local
|
8
shiyan1/build/atomic_configure/local_setup.bash.o49PZ
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# generated from catkin/cmake/templates/local_setup.bash.in
|
||||
|
||||
CATKIN_SHELL=bash
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh" --extend --local
|
8
shiyan1/build/atomic_configure/local_setup.bash.sDpTj
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# generated from catkin/cmake/templates/local_setup.bash.in
|
||||
|
||||
CATKIN_SHELL=bash
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh" --extend --local
|
8
shiyan1/build/atomic_configure/local_setup.bash.slPLD
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# generated from catkin/cmake/templates/local_setup.bash.in
|
||||
|
||||
CATKIN_SHELL=bash
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh" --extend --local
|