Compare commits
No commits in common. "620a72ec440a7a3e013149741e6300815151c2b6" and "90fc5047259a6da382487b64f0f8ee378cddd91e" have entirely different histories.
620a72ec44
...
90fc504725
@ -1 +0,0 @@
|
||||
# This file currently only serves to mark the location of a catkin workspace for tool integration
|
76
MyCode/.vscode/settings.json
vendored
76
MyCode/.vscode/settings.json
vendored
@ -1,76 +0,0 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"cctype": "cpp",
|
||||
"clocale": "cpp",
|
||||
"cmath": "cpp",
|
||||
"cstdarg": "cpp",
|
||||
"cstddef": "cpp",
|
||||
"cstdio": "cpp",
|
||||
"cstdlib": "cpp",
|
||||
"cstring": "cpp",
|
||||
"ctime": "cpp",
|
||||
"cwchar": "cpp",
|
||||
"cwctype": "cpp",
|
||||
"array": "cpp",
|
||||
"atomic": "cpp",
|
||||
"strstream": "cpp",
|
||||
"bit": "cpp",
|
||||
"*.tcc": "cpp",
|
||||
"bitset": "cpp",
|
||||
"chrono": "cpp",
|
||||
"codecvt": "cpp",
|
||||
"complex": "cpp",
|
||||
"condition_variable": "cpp",
|
||||
"cstdint": "cpp",
|
||||
"deque": "cpp",
|
||||
"forward_list": "cpp",
|
||||
"list": "cpp",
|
||||
"map": "cpp",
|
||||
"set": "cpp",
|
||||
"unordered_map": "cpp",
|
||||
"unordered_set": "cpp",
|
||||
"vector": "cpp",
|
||||
"exception": "cpp",
|
||||
"algorithm": "cpp",
|
||||
"functional": "cpp",
|
||||
"iterator": "cpp",
|
||||
"memory": "cpp",
|
||||
"memory_resource": "cpp",
|
||||
"netfwd": "cpp",
|
||||
"numeric": "cpp",
|
||||
"optional": "cpp",
|
||||
"random": "cpp",
|
||||
"ratio": "cpp",
|
||||
"string": "cpp",
|
||||
"string_view": "cpp",
|
||||
"system_error": "cpp",
|
||||
"tuple": "cpp",
|
||||
"type_traits": "cpp",
|
||||
"utility": "cpp",
|
||||
"fstream": "cpp",
|
||||
"initializer_list": "cpp",
|
||||
"iomanip": "cpp",
|
||||
"iosfwd": "cpp",
|
||||
"iostream": "cpp",
|
||||
"istream": "cpp",
|
||||
"limits": "cpp",
|
||||
"mutex": "cpp",
|
||||
"new": "cpp",
|
||||
"ostream": "cpp",
|
||||
"sstream": "cpp",
|
||||
"stdexcept": "cpp",
|
||||
"streambuf": "cpp",
|
||||
"thread": "cpp",
|
||||
"cfenv": "cpp",
|
||||
"cinttypes": "cpp",
|
||||
"typeindex": "cpp",
|
||||
"typeinfo": "cpp",
|
||||
"valarray": "cpp",
|
||||
"variant": "cpp",
|
||||
"*.ipp": "cpp",
|
||||
"core": "cpp",
|
||||
"numericaldiff": "cpp",
|
||||
"specialfunctions": "cpp",
|
||||
"sparsecore": "cpp"
|
||||
}
|
||||
}
|
674
MyCode/LICENSE
674
MyCode/LICENSE
@ -1,674 +0,0 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
@ -1,368 +0,0 @@
|
||||
|
||||
|
||||
# SG-SLAM
|
||||
|
||||
SLAM是智能移动机器人在未知环境中进行状态估计的基本能力之一。然而,大多数视觉SLAM系统**依赖于静态场景的假设**,因此在动态场景中的准确性和鲁棒性严重下降。此外,许多系统构建的度量图**缺乏语义信息**,因此机器人无法在人类的认知水平上理解他们的周围环境。
|
||||
|
||||
SG-SLAM是一个基于[ORB-SLAM2](https://github.com/raulmur/ORB_SLAM2)框架的实时RGB-D语义视觉SLAM系统。首先,SG-SLAM增加了两个新的并行线程:一个获取2D语义信息的对象检测线程和一个语义建图线程。然后,在跟踪线程中加入了一个融合语义和几何信息的**快速动态特征剔除算法**。最后,在语义建图线程中生成3D点云和3D语义对象后,它们被发布到ROS系统中进行可视化。
|
||||
|
||||
在TUM数据集、波恩数据集和OpenLORIS-Scene数据集进行了实验评估,结果表明SG-SLAM不仅是动态场景中非常实时、准确、鲁棒的系统之一,而且还可以创建直观的语义对象度量地图。
|
||||
|
||||
【哔哩哔哩】[系统功能演示视频](https://www.bilibili.com/video/BV1nm4y1y7Ar)
|
||||
|
||||
【Youtube】[系统功能演示视频](https://youtu.be/16w_4NRFCdY)
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
**图1**. SG-SLAM系统框架。ORB-SLAM2的原始框架以水绿色背景呈现,新(或修改的)功能以红色背景呈现。
|
||||
|
||||
<img src="./doc/semantic-object-metric-map-zh.png" style="zoom: 25%;" />
|
||||
|
||||
**图2**. tum rgbd dataset fr3/walking_xyz 序列的语义对象度量地图
|
||||
|
||||
<img src="./doc/octomap-zh.png" style="zoom: 15%;" />
|
||||
|
||||
**图3**. tum rgbd dataset fr3/long office household 序列的八叉树地图
|
||||
|
||||
<img src="./doc/realmap-zh.png" style="zoom: 15%;" />
|
||||
|
||||
**图**4. 实际运行效果图
|
||||
|
||||
|
||||
|
||||
**系统特点 :**
|
||||
|
||||
- 基于ORB-SLAM2, NCNN, ROS, etc.
|
||||
- 实时 (如果NCNN配置好GPU CUDA加速的话)
|
||||
- 较其他同类工作(可能更)容易配置和部署
|
||||
- ...
|
||||
|
||||
## 1. License
|
||||
|
||||
SG-SLAM 基于协议 [GPLv3 license](https://github.com/silencht/SG-SLAM/blob/main/LICENSE).
|
||||
|
||||
论文可在此处下载(或本仓库doc) [IEEE Xplore](https://ieeexplore.ieee.org/abstract/document/9978699/).
|
||||
|
||||
如果是学术使用, 请引用(BibTex):
|
||||
|
||||
```
|
||||
@ARTICLE{9978699,
|
||||
author={Cheng, Shuhong and Sun, Changhe and Zhang, Shijun and Zhang, Dianfan},
|
||||
journal={IEEE Transactions on Instrumentation and Measurement},
|
||||
title={SG-SLAM: A Real-Time RGB-D Visual SLAM Toward Dynamic Scenes With Semantic and Geometric Information},
|
||||
year={2023},
|
||||
volume={72},
|
||||
number={},
|
||||
pages={1-12},
|
||||
doi={10.1109/TIM.2022.3228006}}
|
||||
```
|
||||
|
||||
## 2. 编译配置 SG-SLAM
|
||||
|
||||
```bash
|
||||
#最基本的
|
||||
sudo apt-get update
|
||||
sudo apt install git
|
||||
sudo apt install cmake
|
||||
sudo apt install build-essential
|
||||
sudo apt vim
|
||||
#test
|
||||
git --version
|
||||
gcc --version
|
||||
g++ --version
|
||||
cmake --version
|
||||
|
||||
#Pangolin
|
||||
sudo apt install libglew-dev
|
||||
sudo apt install libboost-dev libboost-thread-dev libboost-filesystem-dev
|
||||
sudo apt install libpython2.7-dev
|
||||
git clone https://github.com/stevenlovegrove/Pangolin.git
|
||||
cd Pangolin/
|
||||
git checkout v0.5
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make -j4
|
||||
sudo make install
|
||||
|
||||
#OpenCV,可参考https://docs.opencv.org/3.4.15/d7/d9f/tutorial_linux_install.html
|
||||
sudo apt install libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
|
||||
sudo apt install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
|
||||
git clone https://github.com/opencv/opencv.git
|
||||
cd opencv/
|
||||
git checkout 3.4.15
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
|
||||
sudo make install
|
||||
#test
|
||||
pkg-config opencv --modversion
|
||||
|
||||
#Eigen
|
||||
git clone https://gitlab.com/libeigen/eigen.git
|
||||
cd eigen/
|
||||
git checkout 3.1.0
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
sudo make install
|
||||
#test
|
||||
cat /usr/local/include/eigen3/Eigen/src/Core/util/Macros.h
|
||||
#Compile orb-slam2 with build.sh,and now orbslam2 can perform well
|
||||
|
||||
#ROS
|
||||
#中国大陆可换源,resource(http://wiki.ros.org/ROS/Installation/UbuntuMirrors)
|
||||
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'
|
||||
#Set up keys
|
||||
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
|
||||
sudo apt update
|
||||
#this ros below is for ubuntu 18.04
|
||||
sudo apt install ros-melodic-desktop-full
|
||||
#环境变量配置
|
||||
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
#依赖安装
|
||||
sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential
|
||||
#初始化rosdep.遇到错误可参考该文章,https://zhuanlan.zhihu.com/p/397966333
|
||||
sudo apt install python-rosdep
|
||||
sudo rosdep init
|
||||
rosdep update
|
||||
#test
|
||||
roscore
|
||||
|
||||
#PCL,and pcl-tools(可选)
|
||||
sudo apt install libpcl-dev pcl-tools
|
||||
|
||||
#Octomap,and octovis(可选)
|
||||
sudo apt install liboctomap-dev octovis
|
||||
sudo apt install ros-melodic-octomap ros-melodic-octomap-mapping ros-melodic-octomap-msgs ros-melodic-octomap-ros ros-melodic-octomap-rviz-plugins
|
||||
|
||||
#SG-SLAM
|
||||
git clone https://github.com/silencht/SG-SLAM
|
||||
|
||||
#编译第三方库:DBoW2、g2o、ncnn
|
||||
cd SG-SLAM/src/sg-slam/
|
||||
./ThirdpartyBuild.sh
|
||||
#如何完整编译安装ncnn? 请参考ncnn仓库的README中的HowTo (https://github.com/Tencent/ncnn/README.md)
|
||||
#安装完英伟达显卡驱动,vulkan and etc., 编译并安装ncnn
|
||||
#如果出现编译错误,-DNCNN_DISABLE_RTTI=OFF (https://github.com/Tencent/ncnn/issues/2665)
|
||||
cd SG-SLAM/src/sg-slam/Thirdparty/ncnn/
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/host.gcc.toolchain.cmake -DNCNN_DISABLE_RTTI=OFF ..
|
||||
#j后面的数字4可根据自己的CPU线程相应变大,进而提高编译速度
|
||||
make -j4
|
||||
sudo make install
|
||||
|
||||
#修改 SG-SLAM/src/sg-slam/CMakeLists.txt 中的路径,将该路径设置为你自己系统中的ncnn路径,提醒:该路径下包含ncnnConfig.cmake文件
|
||||
#set(ncnn_DIR "there,replace with your path/SG-SLAM/src/sg-slam/Thirdparty/ncnn/build/install/lib/cmake/ncnn" CACHE PATH "Directory that contains ncnnConfig.cmake")
|
||||
|
||||
#初始化 ROS 工作空间然后依次编译各个功能包
|
||||
#第一个包功能是将自己相机输出的ROS和OpenCV的话题消息格式转换
|
||||
#第二个包功能是提供一系列图像几何处理方法
|
||||
#第三个包功能是负责接收sg-slam发布的3D点云,将之转化为八叉树地图
|
||||
#第四个包是SG-SLAM系统代码
|
||||
cd SG-SLAM/src
|
||||
catkin_init_workspace
|
||||
cd ..
|
||||
catkin_make --pkg cv_bridge
|
||||
catkin_make --pkg image_geometry
|
||||
catkin_make --pkg octomap_server
|
||||
catkin_make --pkg sg-slam
|
||||
```
|
||||
|
||||
## 3. 运行 SG-SLAM
|
||||
|
||||
将 [TUM dataset](https://vision.in.tum.de/data/datasets/rgbd-dataset/download) 数据集下载完成后放入home目录下的Music路径(该路径与 **run_tum_walking_xyz.sh** 文件调用路径一致,也可根据个人喜好随意设置。
|
||||
|
||||
```bash
|
||||
#Runing SG-SLAM
|
||||
#terminal 1
|
||||
roscore
|
||||
#terminal 2 移动到octomap_server功能包下的launch目录下,该目录下有两个launch文件(octomap.launch,transform.launch),运行之。八叉树建图的各功能参数可在此配置
|
||||
cd your_sg-slam_path/src/octomap_server/launch
|
||||
roslaunch octomap.launch
|
||||
#terminal 3,你可以使用我的rviz配置文件(如下命令),它的路径位于your_sg-slam_path/src/sg-slam/Examples/rvizconfig.rviz,这将直接在打开的rviz中订阅一些地图主题。当然,也可以直接打开rviz,然后手动订阅相关话题。
|
||||
rviz -d your_sg-slam_path/src/sg-slam/Examples/rvizconfig.rviz
|
||||
#terminal 4,运行tum数据集的walking_xyz序列。另外,也可运行硬件相机,如文件run_astra_pro_camera.sh
|
||||
cd your_sg-slam_path/src/sg-slam/
|
||||
./run_tum_walking_xyz.sh
|
||||
```
|
||||
|
||||
## 4. 参考过的仓库
|
||||
|
||||
**包括但不限于以下仓库 (排列顺序无意义) : **
|
||||
|
||||
- https://github.com/raulmur/ORB_SLAM2
|
||||
- https://github.com/ivipsourcecode/DS-SLAM
|
||||
- https://github.com/Ewenwan/ORB_SLAM2_SSD_Semantic
|
||||
- https://github.com/MRwangmaomao/semantic_slam_nav_ros
|
||||
- https://github.com/gaoxiang12/ORBSLAM2_with_pointcloud_map
|
||||
- https://github.com/abhineet123/ORB_SLAM2
|
||||
- https://github.com/floatlazer/semantic_slam
|
||||
- https://github.com/bijustin/YOLO-DynaSLAM
|
||||
- https://github.com/bijustin/Fast-Dynamic-ORB-SLAM
|
||||
- https://github.com/halajun/VDO_SLAM
|
||||
- https://github.com/Quitino/IndoorMapping
|
||||
- https://github.com/ninedayhx/orb_slam2_ros_dense_map
|
||||
- https://github.com/lturing/ORB_SLAM3_ROS
|
||||
- https://github.com/IATBOMSW/ORB-SLAM2_DENSE
|
||||
- https://github.com/xiaobainixi/ORB-SLAM2_RGBD_DENSE_MAP
|
||||
- https://github.com/laavanyebahl/3D-Object-Detection-with-Point-Clouds
|
||||
- ...
|
||||
|
||||
## 5. 其他
|
||||
|
||||
### 5.1 octomap_server节点
|
||||
|
||||
/SG-SLAM/src/octomap_server/launch/octomap.launch
|
||||
|
||||
该文件用于启动 octomap_server 节点并配置一些参数。 你可以在这里看到这些参数的含义(http://wiki.ros.org/octomap_server、https://octomap.github.io/)
|
||||
|
||||
其中,**param name="resolution"**参数表示octomap的体素分辨率。 参数越小,地图体素分割越精细,分辨率越高。 但是处理时间和计算复杂度也增加了。
|
||||
|
||||
**occupancy_min_z** 和 **occupancy_max_z** 参数可以选择性通过z轴范围内的点云。 如果您的相机初始视图与地面平行,您还可以使用 occupancy_min_z 参数来过滤掉地面(一个小的诡计)。 同样,occupancy_min_z 参数可用于过滤出房屋的顶部体素。
|
||||
|
||||
**filter_ground**是过滤掉地面的正常算法(不是直接使用occupancy_min_z过滤掉地面的技巧)。 用法可以参考上面的网址。 当然,现在是关闭的。
|
||||
|
||||
```xml
|
||||
<!--
|
||||
Example launch file for octomap_server mapping:
|
||||
-->
|
||||
<launch>
|
||||
<node pkg="octomap_server" type="octomap_server_node" name="octomap_server">
|
||||
<remap from="cloud_in" to="/SG_SLAM/Point_Clouds" />
|
||||
<param name="frame_id" type="string" value="/map" />
|
||||
<param name="resolution" value="0.05" />
|
||||
<param name="sensor_model/hit" value="0.7" />
|
||||
<param name="sensor_model/miss" value="0.4" />
|
||||
<param name="sensor_model/max" value="0.99" />
|
||||
<param name="sensor_model/min" value="0.12" />
|
||||
<param name="sensor_model/max_range" value="-1.0" />
|
||||
<param name="height_map" type="bool" value="false" />
|
||||
<param name="colored_map" type="bool" value="true" />
|
||||
<param name="latch" type="bool" value="false" />
|
||||
<param name="occupancy_min_z" type="double" value="-1.5" />
|
||||
<param name="occupancy_max_z" type="double" value="1.5" />
|
||||
|
||||
<param name="filter_ground" type="bool" value="false" />
|
||||
<param name="base_frame_id" type="string" value="/map" />
|
||||
|
||||
<param name="filter_speckles" type="bool" value="true" />
|
||||
<param name="ground_filter/distance" type="double" value="0.05" />
|
||||
<param name="ground_filter/angle" type="double" value="0.15" />
|
||||
<param name="ground_filter/plane_distance" type="double" value="0.05" />
|
||||
<param name="pointcloud_min_z" type="double" value="-5.0" />
|
||||
<param name="pointcloud_max_z" type="double" value="5.0" />
|
||||
</node>
|
||||
</launch>
|
||||
```
|
||||
|
||||
### 5.2 相机参数yaml文件
|
||||
|
||||
SG-SLAM/src/sg-slam/Examples/astra_pro_camera.yaml
|
||||
|
||||
SG-SLAM/src/sg-slam/Examples/TUM1.yaml
|
||||
|
||||
……
|
||||
|
||||
相机配置参数文件新增了以下参数项,后面依次介绍这些参数的作用。
|
||||
|
||||
```yaml
|
||||
PointCloudMapping.is_map_construction_consider_dynamic: 0
|
||||
|
||||
PointCloudMapping.camera_valid_depth_Min: 0.5
|
||||
PointCloudMapping.camera_valid_depth_Max: 5.0
|
||||
|
||||
PointCloudMapping.is_octo_semantic_map_construction: 0
|
||||
PointCloudMapping.Sor_Local_MeanK: 50
|
||||
PointCloudMapping.Sor_Local_StddevMulThresh: 2.0
|
||||
PointCloudMapping.Voxel_Local_LeafSize: 0.01
|
||||
|
||||
PointCloudMapping.is_global_pc_reconstruction: 1
|
||||
PointCloudMapping.Sor_Global_MeanK: 50
|
||||
PointCloudMapping.Sor_Global_StddevMulThresh: 2.0
|
||||
PointCloudMapping.Voxel_Global_LeafSize: 0.01
|
||||
|
||||
Detector3D.Sor_MeanK: 50
|
||||
Detector3D.Sor_StddevMulThresh: 1.0
|
||||
Detector3D.Voxel_LeafSize: 0.01
|
||||
Detector3D.EuclideanClusterTolerance: 0.02
|
||||
Detector3D.EuclideanClusterMinSize: 1000
|
||||
Detector3D.EuclideanClusterMaxSize: 30000
|
||||
Detector3D.DetectSimilarCompareRatio: 0.1
|
||||
Detector3D.global_pc_update_kf_threshold: 30
|
||||
|
||||
Detector2D.detection_confidence_threshold: 0.985
|
||||
Detector2D.dynamic_detection_confidence_threshold: 0.1
|
||||
```
|
||||
|
||||
- PointCloudMapping.is_map_construction_consider_dynamic
|
||||
|
||||
进行octomap或三维点云地图构建时,地图中的动态对象会影响地图构建的质量。当此参数设置为1时,地图构建时将尽可能剔除动态对象(代码实现是剔除行人),即不对动态对象进行建图。如果场景中不存在动态对象类别,可将此参数设置为0。
|
||||
|
||||
- PointCloudMapping.camera_valid_depth_Min and PointCloudMapping.camera_valid_depth_Max
|
||||
|
||||
RGB-D深度相机因硬件、原理等限制,深度图像的数据存在有效的观测范围限制。这两个参数用来限制深度图像的有效数值范围。可根据相机型号进行调节,此处默认有效范围为0.5米到5米。
|
||||
|
||||
- PointCloudMapping.is_octo_semantic_map_construction
|
||||
|
||||
是否构建octomap和语义对象度量地图,1代表构建,0是不构建
|
||||
|
||||
- PointCloudMapping.Sor_Local_MeanK,PointCloudMapping.Sor_Local_StddevMulThresh and PointCloudMapping.Voxel_Local_LeafSize
|
||||
|
||||
如果is_octo_semantic_map_construction设置为1,即构建octomap。这三个参数的作用是对单帧深度图像转换得到的三维点云进行滤波的滤波器设置参数。
|
||||
|
||||
以Voxel_Local_LeafSize为例,从System.cc读取yaml配置文件时的代码可以看出,这个参数最终传递给了**PointCloudMapping**类中的Voxel滤镜对象构造函数。这个参数最后传给了**voxel filter object**,也就是深度图转化为3D点云后,对点云进行体素过滤所使用的分辨率。 因为深度图直接转换出来的3D点云数量非常多(640*480),计算负担大,所以需要进行过滤。 voxel filter的分辨率和octomap类似,就是用体素中所有点的重心来近似显示体素中其他点,从而减少计算量。
|
||||
|
||||
经过我的测试,在我的设备上一般设置为0.01,计算效率和效果达到了很好的平衡。 可针对个人硬件的不同对参数进行调整。
|
||||
|
||||
- PointCloudMapping.is_global_pc_reconstruction
|
||||
|
||||
是否进行三维点云地图重建,1是进行,0是不进行。由于地图构建需要不小的计算成本,因此一般建议此参数和PointCloudMapping.is_octo_semantic_map_construction参数不要同时开启。
|
||||
|
||||
- PointCloudMapping.Sor_Global_MeanK, PointCloudMapping.Sor_Global_StddevMulThresh and PointCloudMapping.Voxel_Global_LeafSize
|
||||
|
||||
这些参数的作用类似于PointCloudMapping.Sor_Local_MeanK等参数。
|
||||
|
||||
- Detector3D.Sor_MeanK, Detector3D.Sor_StddevMulThresh and Detector3D.Voxel_LeafSize
|
||||
|
||||
这些参数的作用类似PointCloudMapping.Sor_Local_MeanK等参数。它们是获取3D语义对象时,对检测框内的点云团进行滤波处理的参数。下面的欧式聚类设置参数也是为了尽可能准确的提取目标对象的点云团。
|
||||
|
||||
- Detector3D.EuclideanClusterTolerance, Detector3D.EuclideanClusterMinSize, Detector3D.EuclideanClusterMaxSize
|
||||
|
||||
对对象检测框内的点云进行欧式聚类分割的设置参数。作用是为了尽可能准确的在检测框内的点云团中分割出目标对象的点云团。
|
||||
|
||||
- Detector3D.DetectSimilarCompareRatio
|
||||
|
||||
求点云团与其目标对象的相似匹配度时,进行筛选的比例参数。作用类似于ORB-SLAM2中进行Bow词袋匹配时的mfNNratio变量。此值越小,筛选就越严格。
|
||||
|
||||
- Detector3D.global_pc_update_kf_threshold
|
||||
|
||||
实时进行全局三维点云地图滤波和发布等功能十分消耗算力,因此平时只是处理每帧点云并添加到全局地图。只有在系统空闲(缓冲队列中没有新的关键帧)或处理的关键帧数量超过当前阈值参数时才会进行全局点云滤波和发布操作。
|
||||
|
||||
- Detector2D.detection_confidence_threshold
|
||||
|
||||
检测普通对象时的置信度阈值,只有检测结果高于该阈值时,才认为检测结果可信。该阈值设置过低可能会造成语义对象度量地图检测到错误的目标。设置过高,可能会导致难以获取到一些不易辨别的目标。因此需根据环境进行设置。与当前检测模型有很大的关系。
|
||||
|
||||
- Detector2D.dynamic_detection_confidence_threshold
|
||||
|
||||
检测动态对象时的置信度阈值,只有检测结果高于该阈值时,才认为检测结果可信。此阈值设置较低的原因,是动态对象对系统跟踪和建图造成的负面影响较大。因此需要尽可能相信动态对象的检测结果。
|
||||
|
||||
### 5.3 动态特征剔除算法代码
|
||||
|
||||
代码位于Frame.cc,主要在第155行的RmDynamicPointWithSemanticAndGeometry函数中
|
||||
|
||||
### 5.4 octomap_server 部分地图“消失”问题
|
||||
|
||||
对于上个版本octomap建图时,部分八叉树地图会出现“消失”的问题已经解决(重写了点云和tf等信息的话题发布功能代码)。
|
||||
|
||||
具体问题描述可参考:
|
||||
|
||||
https://answers.ros.org/question/224488/octomap-decreasing-probabilities-when-obstacle-is-not-there-anymore/
|
||||
|
||||
https://answers.ros.org/question/51837/octomap_server-globally-referenced-pointcloud-and-transform/
|
||||
|
||||
https://zhuanlan.zhihu.com/p/625190273
|
377
MyCode/README.md
377
MyCode/README.md
@ -1,377 +0,0 @@
|
||||
|
||||
|
||||
# SG-SLAM
|
||||
|
||||
Simultaneous Localization and Mapping (SLAM) is one of the fundamental capabilities for intelligent mobile robots to perform state estimation in unknown environments. However, most visual SLAM systems **rely on the static scene assumption** and consequently have severely reduced accuracy and robustness in dynamic scenes. Moreover, the metric maps constructed by many systems **lack semantic information**, so the robots cannot understand their surroundings at a human cognitive level.
|
||||
|
||||
In this paper, we propose SG-SLAM, which is a real-time RGB-D semantic visual SLAM system based on the [ORB-SLAM2](https://github.com/raulmur/ORB_SLAM2) framework. First, SG-SLAM adds two new parallel threads: an object detecting thread to obtain 2D semantic information and a semantic mapping thread. Then, a **fast dynamic feature rejection algorithm combining semantic and geometric information** is added to the tracking thread. Finally, they are published to the ROS system for visualization after generating 3D point clouds and 3D semantic objects in the **semantic mapping thread**.
|
||||
|
||||
We performed an experimental evaluation on the TUM dataset, the Bonn dataset, and the OpenLORIS-Scene dataset. The results show that SG-SLAM is not only one of the most real-time, accurate, and robust systems in dynamic scenes, but also allows the creation of intuitive semantic metric maps.
|
||||
|
||||
【BiliBili】[VIDEO](https://www.bilibili.com/video/BV1nm4y1y7Ar)
|
||||
|
||||
【Youtube】[VIDEO](https://youtu.be/16w_4NRFCdY)
|
||||
|
||||
(For the Chinese version, see the README-zh.md file in the directory)
|
||||
|
||||
(**中文版本见目录下README-zh.md文件**)
|
||||
|
||||
|
||||
|
||||

|
||||
|
||||
**Figure1**. Overview of the framework of the SG-SLAM system. The original work of ORB-SLAM2 is presented on an aqua-green background, while **our main new or modified work is presented on a red background**.
|
||||
|
||||
<img src="./doc/semantic-object-metric-map.png" style="zoom: 25%;" />
|
||||
|
||||
**Figure2**. Semantic object metric map for tum rgbd dataset fr3/walking_xyz sequence
|
||||
|
||||
<img src="./doc/octomap.png" style="zoom: 15%;" />
|
||||
|
||||
**Figure3**. octo map for tum rgbd dataset fr3/long office household sequence
|
||||
|
||||
<img src="./doc/realmap.png" style="zoom: 15%;" />
|
||||
|
||||
**Figure4**. Actual effect
|
||||
|
||||
**System Features :**
|
||||
|
||||
- Based on ORB-SLAM2, NCNN, ROS, etc.
|
||||
- Fast running (if NCNN is well configured)
|
||||
- Easy to deploy
|
||||
- ...
|
||||
|
||||
## 1. License
|
||||
|
||||
SG-SLAM is released under a [GPLv3 license](https://github.com/silencht/SG-SLAM/blob/main/LICENSE).
|
||||
|
||||
Paper is available on [IEEE Xplore](https://ieeexplore.ieee.org/abstract/document/9978699/).
|
||||
|
||||
If you use SG-SLAM in an academic work, please cite:
|
||||
|
||||
```
|
||||
S. Cheng, C. Sun, S. Zhang and D. Zhang, "SG-SLAM: A Real-Time RGB-D Visual SLAM toward Dynamic Scenes with Semantic and Geometric Information," in IEEE Transactions on Instrumentation and Measurement, doi: 10.1109/TIM.2022.3228006.
|
||||
```
|
||||
|
||||
## 2. Building SG-SLAM
|
||||
|
||||
```bash
|
||||
#Basic
|
||||
sudo apt-get update
|
||||
sudo apt install git
|
||||
sudo apt install cmake
|
||||
sudo apt install build-essential
|
||||
sudo apt vim
|
||||
#test
|
||||
git --version
|
||||
gcc --version
|
||||
g++ --version
|
||||
cmake --version
|
||||
|
||||
#Pangolin
|
||||
sudo apt install libglew-dev
|
||||
sudo apt install libboost-dev libboost-thread-dev libboost-filesystem-dev
|
||||
sudo apt install libpython2.7-dev
|
||||
git clone https://github.com/stevenlovegrove/Pangolin.git
|
||||
cd Pangolin/
|
||||
git checkout v0.5
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make -j4
|
||||
sudo make install
|
||||
|
||||
#OpenCV,refer https://docs.opencv.org/3.4.15/d7/d9f/tutorial_linux_install.html
|
||||
sudo apt install libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
|
||||
sudo apt install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
|
||||
git clone https://github.com/opencv/opencv.git
|
||||
cd opencv/
|
||||
git checkout 3.4.15
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
|
||||
sudo make install
|
||||
#test
|
||||
pkg-config opencv --modversion
|
||||
|
||||
#Eigen
|
||||
git clone https://gitlab.com/libeigen/eigen.git
|
||||
cd eigen/
|
||||
git checkout 3.1.0
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
sudo make install
|
||||
#test
|
||||
cat /usr/local/include/eigen3/Eigen/src/Core/util/Macros.h
|
||||
#Compile orb-slam2 with build.sh,and now orbslam2 can perform well
|
||||
|
||||
#ROS
|
||||
#For china,first,replace our resource(http://wiki.ros.org/ROS/Installation/UbuntuMirrors)
|
||||
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'
|
||||
#Set up keys
|
||||
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
|
||||
sudo apt update
|
||||
#this ros below is for ubuntu 18.04
|
||||
sudo apt install ros-melodic-desktop-full
|
||||
#Environment setup
|
||||
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
#Dependencies for building packages
|
||||
sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential
|
||||
#Initialize rosdep.If you encounter problems, refer to this article,https://zhuanlan.zhihu.com/p/397966333
|
||||
sudo apt install python-rosdep
|
||||
sudo rosdep init
|
||||
rosdep update
|
||||
#test
|
||||
roscore
|
||||
|
||||
#PCL,and pcl-tools(optional)
|
||||
sudo apt install libpcl-dev pcl-tools
|
||||
|
||||
#Octomap,and octovis(optional)
|
||||
sudo apt install liboctomap-dev octovis
|
||||
sudo apt install ros-melodic-octomap ros-melodic-octomap-mapping ros-melodic-octomap-msgs ros-melodic-octomap-ros ros-melodic-octomap-rviz-plugins
|
||||
|
||||
#SG-SLAM
|
||||
git clone https://github.com/silencht/SG-SLAM
|
||||
|
||||
#Build Thirdparty Liarbry
|
||||
cd SG-SLAM/src/sg-slam/
|
||||
./ThirdpartyBuild.sh
|
||||
#How to build ncnn completely? Please refer HowTo in https://github.com/Tencent/ncnn/README.md
|
||||
#After installing the nvidia driver,vulkan and etc., compile ncnn and install
|
||||
#-DNCNN_DISABLE_RTTI=OFF (https://github.com/Tencent/ncnn/issues/2665)
|
||||
cd SG-SLAM/src/sg-slam/Thirdparty/ncnn/
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/host.gcc.toolchain.cmake -DNCNN_DISABLE_RTTI=OFF ..
|
||||
make -j4
|
||||
sudo make install
|
||||
|
||||
#Modify the path in SG-SLAM/src/sg-slam/CMakeLists.txt
|
||||
#set(ncnn_DIR "there,replace with your path/SG-SLAM/src/sg-slam/Thirdparty/ncnn/build/install/lib/cmake/ncnn" CACHE PATH "Directory that contains ncnnConfig.cmake")
|
||||
|
||||
#Init ROS workspace and compile package
|
||||
cd SG-SLAM/src
|
||||
catkin_init_workspace
|
||||
cd ..
|
||||
catkin_make --pkg cv_bridge
|
||||
catkin_make --pkg image_geometry
|
||||
catkin_make --pkg octomap_server
|
||||
catkin_make --pkg sg-slam
|
||||
```
|
||||
|
||||
## 3. Running SG-SLAM
|
||||
|
||||
Put the [TUM dataset](https://vision.in.tum.de/data/datasets/rgbd-dataset/download) into the *Music Path* according to the **run_tum_walking_xyz.sh** file (or adjust the script yourself)
|
||||
|
||||
```bash
|
||||
#Runing SG-SLAM
|
||||
#terminal 1
|
||||
roscore
|
||||
#terminal 2
|
||||
cd your_sg-slam_path/src/octomap_server/launch
|
||||
roslaunch octomap.launch
|
||||
#terminal 3,you can use my rviz configuration file(like the command below), its path is located in your_sg-slam_path/src/sg-slam/Examples/rvizconfig.rviz, This will subscribe to some map-published topics directly in rviz.
|
||||
#Of course, you can also open rviz directly, and then manually subscribe to the related topic.
|
||||
rviz -d your_sg-slam_path/src/sg-slam/Examples/rvizconfig.rviz
|
||||
#terminal 4
|
||||
cd your_sg-slam_path/src/sg-slam/
|
||||
./run_tum_walking_xyz.sh
|
||||
```
|
||||
|
||||
## 4. Reference Project
|
||||
|
||||
**Including but not limited to the following repositories (In no particular order)**
|
||||
|
||||
- https://github.com/raulmur/ORB_SLAM2
|
||||
- https://github.com/ivipsourcecode/DS-SLAM
|
||||
- https://github.com/Ewenwan/ORB_SLAM2_SSD_Semantic
|
||||
- https://github.com/MRwangmaomao/semantic_slam_nav_ros
|
||||
- https://github.com/gaoxiang12/ORBSLAM2_with_pointcloud_map
|
||||
- https://github.com/abhineet123/ORB_SLAM2
|
||||
- https://github.com/floatlazer/semantic_slam
|
||||
- https://github.com/bijustin/YOLO-DynaSLAM
|
||||
- https://github.com/bijustin/Fast-Dynamic-ORB-SLAM
|
||||
- https://github.com/halajun/VDO_SLAM
|
||||
- https://github.com/Quitino/IndoorMapping
|
||||
- https://github.com/ninedayhx/orb_slam2_ros_dense_map
|
||||
- https://github.com/lturing/ORB_SLAM3_ROS
|
||||
- https://github.com/IATBOMSW/ORB-SLAM2_DENSE
|
||||
- https://github.com/xiaobainixi/ORB-SLAM2_RGBD_DENSE_MAP
|
||||
- https://github.com/laavanyebahl/3D-Object-Detection-with-Point-Clouds
|
||||
- ...
|
||||
|
||||
## 5. Other
|
||||
|
||||
### 5.1 octomap_server
|
||||
|
||||
/SG-SLAM/src/octomap_server/launch/octomap.launch
|
||||
|
||||
This file is used to start the octomap_server node and configure some parameters. You can see what these parameters mean here(http://wiki.ros.org/octomap_server、https://octomap.github.io/)
|
||||
|
||||
Among them, the **param name=resolution** parameter indicates the voxel resolution of the octomap. The smaller the parameter, the finer the map voxel segmentation and the higher the resolution. But the processing time and computational complexity also increase.
|
||||
|
||||
The **occupancy_min_z** and **occupancy_max_z** parameters can selectively pass through the point cloud within the z-axis range. If your initial camera view is parallel to the ground, you can also use the occupancy_min_z parameter to do a trick to filter out the ground. Similarly, the occupancy_min_z parameter can be used to filter out the top voxels of the house.
|
||||
|
||||
**filter_ground** is the normal algorithm for filtering out the ground (not the trick of directly using occupancy_min_z to filter out the ground). Usage can refer to the above URL.
|
||||
|
||||
```xml
|
||||
<!--
|
||||
Example launch file for octomap_server mapping:
|
||||
-->
|
||||
<launch>
|
||||
<node pkg="octomap_server" type="octomap_server_node" name="octomap_server">
|
||||
<remap from="cloud_in" to="/SG_SLAM/Point_Clouds" />
|
||||
<param name="frame_id" type="string" value="/map" />
|
||||
<param name="resolution" value="0.05" />
|
||||
<param name="sensor_model/hit" value="0.7" />
|
||||
<param name="sensor_model/miss" value="0.4" />
|
||||
<param name="sensor_model/max" value="0.99" />
|
||||
<param name="sensor_model/min" value="0.12" />
|
||||
<param name="sensor_model/max_range" value="-1.0" />
|
||||
<param name="height_map" type="bool" value="false" />
|
||||
<param name="colored_map" type="bool" value="true" />
|
||||
<param name="latch" type="bool" value="false" />
|
||||
<param name="occupancy_min_z" type="double" value="-1.5" />
|
||||
<param name="occupancy_max_z" type="double" value="1.5" />
|
||||
|
||||
<param name="filter_ground" type="bool" value="false" />
|
||||
<param name="base_frame_id" type="string" value="/map" />
|
||||
|
||||
<param name="filter_speckles" type="bool" value="true" />
|
||||
<param name="ground_filter/distance" type="double" value="0.05" />
|
||||
<param name="ground_filter/angle" type="double" value="0.15" />
|
||||
<param name="ground_filter/plane_distance" type="double" value="0.05" />
|
||||
<param name="pointcloud_min_z" type="double" value="-5.0" />
|
||||
<param name="pointcloud_max_z" type="double" value="5.0" />
|
||||
</node>
|
||||
</launch>
|
||||
```
|
||||
|
||||
### 5.2 camera.yaml
|
||||
|
||||
SG-SLAM/src/sg-slam/Examples/astra_pro_camera.yaml
|
||||
|
||||
SG-SLAM/src/sg-slam/Examples/TUM1.yaml
|
||||
|
||||
……
|
||||
|
||||
The following parameter items have been newly added to the imager configuration parameters file, and the roles of these parameters are described in turn later.
|
||||
|
||||
```yaml
|
||||
%YAML:1.0
|
||||
#--------------------------------------------------------------------------------------------
|
||||
# Camera Parameters. Adjust them!
|
||||
#--------------------------------------------------------------------------------------------
|
||||
# Camera calibration and distortion parameters (OpenCV)
|
||||
Camera.fx: 575.520619
|
||||
Camera.fy: 575.994771
|
||||
…………omitted here
|
||||
|
||||
#--------------------------------------------------------------------------------------------
|
||||
# Viewer Parameters
|
||||
#--------------------------------------------------------------------------------------------
|
||||
Viewer.KeyFrameSize: 0.05
|
||||
…………omitted above
|
||||
|
||||
PointCloudMapping.is_map_construction_consider_dynamic: 0
|
||||
|
||||
PointCloudMapping.camera_valid_depth_Min: 0.5
|
||||
PointCloudMapping.camera_valid_depth_Max: 5.0
|
||||
|
||||
PointCloudMapping.is_octo_semantic_map_construction: 0
|
||||
PointCloudMapping.Sor_Local_MeanK: 50
|
||||
PointCloudMapping.Sor_Local_StddevMulThresh: 2.0
|
||||
PointCloudMapping.Voxel_Local_LeafSize: 0.01
|
||||
|
||||
PointCloudMapping.is_global_pc_reconstruction: 1
|
||||
PointCloudMapping.Sor_Global_MeanK: 50
|
||||
PointCloudMapping.Sor_Global_StddevMulThresh: 2.0
|
||||
PointCloudMapping.Voxel_Global_LeafSize: 0.01
|
||||
|
||||
Detector3D.Sor_MeanK: 50
|
||||
Detector3D.Sor_StddevMulThresh: 1.0
|
||||
Detector3D.Voxel_LeafSize: 0.01
|
||||
Detector3D.EuclideanClusterTolerance: 0.02
|
||||
Detector3D.EuclideanClusterMinSize: 1000
|
||||
Detector3D.EuclideanClusterMaxSize: 30000
|
||||
Detector3D.DetectSimilarCompareRatio: 0.1
|
||||
Detector3D.global_pc_update_kf_threshold: 30
|
||||
|
||||
Detector2D.detection_confidence_threshold: 0.985
|
||||
Detector2D.dynamic_detection_confidence_threshold: 0.1
|
||||
```
|
||||
|
||||
- PointCloudMapping.is_map_construction_consider_dynamic
|
||||
|
||||
When performing octomap or 3D point cloud map builds, dynamic objects in the map can affect the quality of the map build. When this parameter is set to 1, the map will be built with dynamic objects excluded as much as possible (the code implementation is to exclude pedestrians), i.e., no dynamic objects will be built in map. If there is no dynamic object class in scenes, this parameter can be set to 0.
|
||||
|
||||
- PointCloudMapping.camera_valid_depth_Min and PointCloudMapping.camera_valid_depth_Max
|
||||
|
||||
RGB-D depth cameras have effective observation range limits for depth image data due to hardware and principle limitations. These two parameters are used to limit the effective value range of the depth image. They can be adjusted according to the camera model, and the default effective range here is 0.5 m to 5 m.
|
||||
|
||||
- PointCloudMapping.is_octo_semantic_map_construction
|
||||
|
||||
Whether to build octomap and semantic object metric map, 1 is to build, 0 is not to build.
|
||||
|
||||
- PointCloudMapping.Sor_Local_MeanK,PointCloudMapping.Sor_Local_StddevMulThresh and PointCloudMapping.Voxel_Local_LeafSize
|
||||
|
||||
If is_octo_semantic_map_construction is set to 1, namely, octomap will be constructed. these three parameters function as filter setting parameters for filtering the 3D point cloud obtained from the camera depth image conversion.
|
||||
|
||||
Take Voxel_Local_LeafSize as an example :
|
||||
|
||||
It can be seen from the code when System.cc reads the yaml configuration file that this parameter is finally passed to the Voxel filter object constructor in the **PointCloudMapping** class.
|
||||
|
||||
This parameter is finally passed to the **voxel filter object**, which is the resolution used for voxel filtering on the point cloud after the depth map is transformed into a 3D point cloud. Because the number of 3D point clouds directly converted from the depth map is large (640*480), the calculation burden is heavy, so filtering is performed. The resolution of the voxel filter is similar to that of the octomap, that is, the centroid of the same position is replaced, so that the amount of calculation is reduced.
|
||||
|
||||
After my test, it is generally set to 0.01 on my device, and the calculation efficiency and effect have reached a good balance. Adjustable to individual hardware.
|
||||
|
||||
- PointCloudMapping.is_global_pc_reconstruction
|
||||
|
||||
Whether to perform 3D point cloud map reconstruction, 1 is to do it, 0 is not to do it. Since map construction requires a significant computational cost, it is generally recommended that this parameter and the PointCloudMapping.is_octo_semantic_map_construction parameter not be turned on at the same time.
|
||||
|
||||
- PointCloudMapping.Sor_Global_MeanK, PointCloudMapping.Sor_Global_StddevMulThresh and PointCloudMapping.Voxel_Global_LeafSize
|
||||
|
||||
these parameters work similarly to parameters like PointCloudMapping.Sor_Local_MeanK.
|
||||
|
||||
- Detector3D.Sor_MeanK, Detector3D.Sor_StddevMulThresh and Detector3D.Voxel_LeafSize
|
||||
|
||||
These parameters act similar to parameters like PointCloudMapping.Sor_Local_MeanK. They are the parameters for filtering the point cloud clusters in the detection frame when acquiring 3D semantic objects. The following parameters of the Euclidean clustering settings are also used to extract the point cloud clusters of the target objects as accurately as possible.
|
||||
|
||||
- Detector3D.EuclideanClusterTolerance, Detector3D.EuclideanClusterMinSize, Detector3D.EuclideanClusterMaxSize
|
||||
|
||||
The setting parameters for Euclidean clustering segmentation of the point clouds in the object detection boundingbox. The purpose is to segment the point cloud of the target object among the point clouds in the detection frame as accurately as possible.
|
||||
|
||||
- Detector3D.DetectSimilarCompareRatio
|
||||
|
||||
The ratio parameter for filtering when finding the similarity match between a point cloud cluster and its target object. The effect is similar to that of the **mfNNratio** variable when performing bag-of-words matching in ORB-SLAM2. The smaller this value is, the more stringent the screening is.
|
||||
|
||||
- Detector3D.global_pc_update_kf_threshold
|
||||
|
||||
Functions such as global 3D point cloud map filtering and publishing in real time are very computationally intensive, so normally only each frame of the point cloud is processed and added to the global map. Only when the system is idle (no new keyframes in the buffer queue) or when the number of processed keyframes exceeds the current threshold parameter will the global point cloud filtering and publishing operations be performed.
|
||||
|
||||
- Detector2D.detection_confidence_threshold
|
||||
|
||||
A confidence threshold for detecting common objects, and a detection result is considered credible only if it is higher than this threshold. A low setting of this threshold may cause the semantic object metric map to detect the wrong target. Setting it too high may result in difficulty in acquiring some targets that are not easily discernible. Therefore it needs to be set according to the environment. There is a strong relationship with the current detection model.
|
||||
|
||||
- Detector2D.dynamic_detection_confidence_threshold
|
||||
|
||||
Confidence threshold when detecting dynamic objects, and the detection result is considered credible only if it is higher than this threshold. The reason for this threshold being set low is that dynamic objects have a greater negative impact on system tracking and map building. Therefore the detection results of dynamic objects need to be trusted as much as possible.
|
||||
|
||||
### 5.3 dynamic feature processing code
|
||||
|
||||
The code is located in the **RmDynamicPointWithSemanticAndGeometry** function of Frame.cc
|
||||
|
||||
### 5.4 octomap_server partial map "disappearance" problem
|
||||
|
||||
The problem that some octree maps would "disappear" when Octomap built a map in the last version has been solved (rewritten the code of topic publishing function for point cloud and tf information).
|
||||
|
||||
Specific problem descriptions can be found at,
|
||||
|
||||
https://answers.ros.org/question/224488/octomap-decreasing-probabilities-when-obstacle-is-not-there-anymore/
|
||||
|
||||
https://answers.ros.org/question/51837/octomap_server-globally-referenced-pointcloud-and-transform/
|
||||
|
||||
https://zhuanlan.zhihu.com/p/625190273
|
@ -1 +0,0 @@
|
||||
catkin_make
|
File diff suppressed because one or more lines are too long
@ -1,73 +0,0 @@
|
||||
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
||||
set(CMAKE_C_COMPILER_ARG1 "")
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
set(CMAKE_C_COMPILER_VERSION "9.4.0")
|
||||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
|
||||
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
|
||||
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
||||
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
||||
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
||||
|
||||
set(CMAKE_C_PLATFORM_ID "Linux")
|
||||
set(CMAKE_C_SIMULATE_ID "")
|
||||
set(CMAKE_C_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-9")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-9")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||
set(CMAKE_C_COMPILER_LOADED 1)
|
||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW )
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
set(CMAKE_C_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
||||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
set(CMAKE_C_LINKER_PREFERENCE 10)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_C_COMPILER_ABI "ELF")
|
||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
if(CMAKE_C_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
|
||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
@ -1,75 +0,0 @@
|
||||
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
|
||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||
set(CMAKE_CXX_COMPILER_VERSION "9.4.0")
|
||||
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
|
||||
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17")
|
||||
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
||||
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
||||
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
||||
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
||||
|
||||
set(CMAKE_CXX_PLATFORM_ID "Linux")
|
||||
set(CMAKE_CXX_SIMULATE_ID "")
|
||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-9")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-9")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW )
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_CXX_COMPILER_ABI "ELF")
|
||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
Binary file not shown.
Binary file not shown.
@ -1,15 +0,0 @@
|
||||
set(CMAKE_HOST_SYSTEM "Linux-5.4.0-150-generic")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "5.4.0-150-generic")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Linux-5.4.0-150-generic")
|
||||
set(CMAKE_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_SYSTEM_VERSION "5.4.0-150-generic")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
@ -1,598 +0,0 @@
|
||||
#ifdef __cplusplus
|
||||
# error "A C++ compiler has been selected for C."
|
||||
#endif
|
||||
|
||||
#if defined(__18CXX)
|
||||
# define ID_VOID_MAIN
|
||||
#endif
|
||||
#if defined(__CLASSIC_C__)
|
||||
/* cv-qualifiers did not exist in K&R C */
|
||||
# define const
|
||||
# define volatile
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_C)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_C >= 0x5100
|
||||
/* __SUNPRO_C = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_cc)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_cc = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||
|
||||
#elif defined(__DECC)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECC_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||
|
||||
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
||||
# define COMPILER_ID "XL"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#elif defined(__TINYC__)
|
||||
# define COMPILER_ID "TinyCC"
|
||||
|
||||
#elif defined(__BCC__)
|
||||
# define COMPILER_ID "Bruce"
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
#elif defined(__ARMCC_VERSION)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
||||
# define COMPILER_ID "SDCC"
|
||||
# if defined(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
||||
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
||||
# else
|
||||
/* SDCC = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
# if defined(_SGI_COMPILER_VERSION)
|
||||
/* _SGI_COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||
# else
|
||||
/* _COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__sgi)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||
# define PLATFORM_ID "IRIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
|
||||
#if !defined(__STDC__)
|
||||
# if defined(_MSC_VER) && !defined(__clang__)
|
||||
# define C_DIALECT "90"
|
||||
# else
|
||||
# define C_DIALECT
|
||||
# endif
|
||||
#elif __STDC_VERSION__ >= 201000L
|
||||
# define C_DIALECT "11"
|
||||
#elif __STDC_VERSION__ >= 199901L
|
||||
# define C_DIALECT "99"
|
||||
#else
|
||||
# define C_DIALECT "90"
|
||||
#endif
|
||||
const char* info_language_dialect_default =
|
||||
"INFO" ":" "dialect_default[" C_DIALECT "]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef ID_VOID_MAIN
|
||||
void main() {}
|
||||
#else
|
||||
# if defined(__CLASSIC_C__)
|
||||
int main(argc, argv) int argc; char *argv[];
|
||||
# else
|
||||
int main(int argc, char* argv[])
|
||||
# endif
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
require += info_arch[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
#endif
|
Binary file not shown.
@ -1,576 +0,0 @@
|
||||
/* This source file must have a .cpp extension so that all C++ compilers
|
||||
recognize the extension without flags. Borland does not know .cxx for
|
||||
example. */
|
||||
#ifndef __cplusplus
|
||||
# error "A C compiler has been selected for C++."
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__COMO__)
|
||||
# define COMPILER_ID "Comeau"
|
||||
/* __COMO_VERSION__ = VRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
|
||||
|
||||
#elif defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_CC)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_CC >= 0x5100
|
||||
/* __SUNPRO_CC = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_aCC)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_aCC = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
|
||||
|
||||
#elif defined(__DECCXX)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECCXX_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
|
||||
|
||||
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
|
||||
# define COMPILER_ID "XL"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
/* __IBMCPP__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__) || defined(__GNUG__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# if defined(__GNUC__)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# else
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
#elif defined(__ARMCC_VERSION)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
# if defined(_SGI_COMPILER_VERSION)
|
||||
/* _SGI_COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||
# else
|
||||
/* _COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__sgi)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||
# define PLATFORM_ID "IRIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
|
||||
#if defined(_MSC_VER) && defined(_MSVC_LANG)
|
||||
#define CXX_STD _MSVC_LANG
|
||||
#else
|
||||
#define CXX_STD __cplusplus
|
||||
#endif
|
||||
|
||||
const char* info_language_dialect_default = "INFO" ":" "dialect_default["
|
||||
#if CXX_STD > 201402L
|
||||
"17"
|
||||
#elif CXX_STD >= 201402L
|
||||
"14"
|
||||
#elif CXX_STD >= 201103L
|
||||
"11"
|
||||
#else
|
||||
"98"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
Binary file not shown.
@ -1,16 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/test/My/src")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/test/My/build")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
@ -1,55 +0,0 @@
|
||||
Determining if the pthread_create exist failed with the following output:
|
||||
Change Dir: /home/test/My/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_c82d9/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_c82d9.dir/build.make CMakeFiles/cmTC_c82d9.dir/build
|
||||
make[1]: Entering directory '/home/test/My/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_c82d9.dir/CheckSymbolExists.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_c82d9.dir/CheckSymbolExists.c.o -c /home/test/My/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
|
||||
Linking C executable cmTC_c82d9
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c82d9.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -rdynamic CMakeFiles/cmTC_c82d9.dir/CheckSymbolExists.c.o -o cmTC_c82d9
|
||||
CMakeFiles/cmTC_c82d9.dir/CheckSymbolExists.c.o: In function `main':
|
||||
CheckSymbolExists.c:(.text+0x1b): undefined reference to `pthread_create'
|
||||
collect2: error: ld returned 1 exit status
|
||||
CMakeFiles/cmTC_c82d9.dir/build.make:97: recipe for target 'cmTC_c82d9' failed
|
||||
make[1]: *** [cmTC_c82d9] Error 1
|
||||
make[1]: Leaving directory '/home/test/My/build/CMakeFiles/CMakeTmp'
|
||||
Makefile:126: recipe for target 'cmTC_c82d9/fast' failed
|
||||
make: *** [cmTC_c82d9/fast] Error 2
|
||||
|
||||
File /home/test/My/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
|
||||
/* */
|
||||
#include <pthread.h>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
(void)argv;
|
||||
#ifndef pthread_create
|
||||
return ((int*)(&pthread_create))[argc];
|
||||
#else
|
||||
(void)argc;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Determining if the function pthread_create exists in the pthreads failed with the following output:
|
||||
Change Dir: /home/test/My/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_44779/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_44779.dir/build.make CMakeFiles/cmTC_44779.dir/build
|
||||
make[1]: Entering directory '/home/test/My/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_44779.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_44779.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_44779
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_44779.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_44779.dir/CheckFunctionExists.c.o -o cmTC_44779 -lpthreads
|
||||
/usr/bin/ld: cannot find -lpthreads
|
||||
collect2: error: ld returned 1 exit status
|
||||
CMakeFiles/cmTC_44779.dir/build.make:97: recipe for target 'cmTC_44779' failed
|
||||
make[1]: *** [cmTC_44779] Error 1
|
||||
make[1]: Leaving directory '/home/test/My/build/CMakeFiles/CMakeTmp'
|
||||
Makefile:126: recipe for target 'cmTC_44779/fast' failed
|
||||
make: *** [cmTC_44779/fast] Error 2
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,18 +0,0 @@
|
||||
# Hashes of file build rules.
|
||||
529e00aa7eb206c77f5855f7f10e6a78 /home/test/My/devel/include/octomap_server/OctomapServerConfig.h
|
||||
bc781f2e808027976ae1494f43033c52 CMakeFiles/clean_test_results
|
||||
7fc159f2a34445ed4e4abf5a91dc5a64 image_geometry/test/CMakeFiles/_run_tests_image_geometry_gtest_image_geometry-utest
|
||||
cc4515d0fa555e2d838e6f7d7a492415 image_geometry/test/CMakeFiles/_run_tests_image_geometry_nosetests_directed.py
|
||||
6ad1dd302ca6acba4be06b0771df6065 image_geometry/test/CMakeFiles/clean_test_results_image_geometry
|
||||
7fc159f2a34445ed4e4abf5a91dc5a64 image_geometry/test/CMakeFiles/run_tests_image_geometry_gtest_image_geometry-utest
|
||||
cc4515d0fa555e2d838e6f7d7a492415 image_geometry/test/CMakeFiles/run_tests_image_geometry_nosetests_directed.py
|
||||
0b7f639fbf006ac93dcf61aba35cb70c my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_gtest_cv_bridge-utest
|
||||
d6cae6ae8021b283a9edb484f58e5f33 my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests_conversions.py
|
||||
9c8aad1ae6693d60d6e9ded557109286 my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests_enumerants.py
|
||||
4e56c28b8661cb6648f7ee8ba62a5028 my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests_python_bindings.py
|
||||
cd6eb7db6d97b86ff49dd431f2d303f2 my_cv_bridge/test/CMakeFiles/clean_test_results_cv_bridge
|
||||
0b7f639fbf006ac93dcf61aba35cb70c my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_gtest_cv_bridge-utest
|
||||
d6cae6ae8021b283a9edb484f58e5f33 my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests_conversions.py
|
||||
9c8aad1ae6693d60d6e9ded557109286 my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests_enumerants.py
|
||||
4e56c28b8661cb6648f7ee8ba62a5028 my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests_python_bindings.py
|
||||
5e0139227730461a2cf80a7d6334eb64 octomap_server/CMakeFiles/octomap_server_gencfg
|
@ -1,17 +0,0 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
const char ompver_str[] = { 'I', 'N', 'F', 'O', ':', 'O', 'p', 'e', 'n', 'M',
|
||||
'P', '-', 'd', 'a', 't', 'e', '[',
|
||||
('0' + ((_OPENMP/100000)%10)),
|
||||
('0' + ((_OPENMP/10000)%10)),
|
||||
('0' + ((_OPENMP/1000)%10)),
|
||||
('0' + ((_OPENMP/100)%10)),
|
||||
('0' + ((_OPENMP/10)%10)),
|
||||
('0' + ((_OPENMP/1)%10)),
|
||||
']', '\0' };
|
||||
int main()
|
||||
{
|
||||
puts(ompver_str);
|
||||
return 0;
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
const char ompver_str[] = { 'I', 'N', 'F', 'O', ':', 'O', 'p', 'e', 'n', 'M',
|
||||
'P', '-', 'd', 'a', 't', 'e', '[',
|
||||
('0' + ((_OPENMP/100000)%10)),
|
||||
('0' + ((_OPENMP/10000)%10)),
|
||||
('0' + ((_OPENMP/1000)%10)),
|
||||
('0' + ((_OPENMP/100)%10)),
|
||||
('0' + ((_OPENMP/10)%10)),
|
||||
('0' + ((_OPENMP/1)%10)),
|
||||
']', '\0' };
|
||||
int main()
|
||||
{
|
||||
puts(ompver_str);
|
||||
return 0;
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
|
||||
#include <omp.h>
|
||||
int main() {
|
||||
#ifdef _OPENMP
|
||||
return 0;
|
||||
#else
|
||||
breaks_on_purpose
|
||||
#endif
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
|
||||
#include <omp.h>
|
||||
int main() {
|
||||
#ifdef _OPENMP
|
||||
return 0;
|
||||
#else
|
||||
breaks_on_purpose
|
||||
#endif
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,700 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# The generator used is:
|
||||
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||
|
||||
# The top level Makefile was generated from the following files:
|
||||
set(CMAKE_MAKEFILE_DEPENDS
|
||||
"CMakeCache.txt"
|
||||
"CMakeFiles/3.10.2/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.10.2/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.10.2/CMakeSystem.cmake"
|
||||
"catkin/catkin_generated/version/package.cmake"
|
||||
"catkin_generated/installspace/_setup_util.py"
|
||||
"catkin_generated/order_packages.cmake"
|
||||
"image_geometry/catkin_generated/ordered_paths.cmake"
|
||||
"image_geometry/catkin_generated/package.cmake"
|
||||
"image_geometry/catkin_generated/setup_py_interrogation.cmake"
|
||||
"my_cv_bridge/catkin_generated/ordered_paths.cmake"
|
||||
"my_cv_bridge/catkin_generated/package.cmake"
|
||||
"my_cv_bridge/catkin_generated/setup_py_interrogation.cmake"
|
||||
"octomap_server/catkin_generated/ordered_paths.cmake"
|
||||
"octomap_server/catkin_generated/package.cmake"
|
||||
"sg-slam/catkin_generated/ordered_paths.cmake"
|
||||
"/home/test/My/devel/share/cv_bridge/cmake/cv_bridge-extras.cmake"
|
||||
"/home/test/My/devel/share/cv_bridge/cmake/cv_bridgeConfig-version.cmake"
|
||||
"/home/test/My/devel/share/cv_bridge/cmake/cv_bridgeConfig.cmake"
|
||||
"/home/test/My/devel/share/image_geometry/cmake/image_geometryConfig-version.cmake"
|
||||
"/home/test/My/devel/share/image_geometry/cmake/image_geometryConfig.cmake"
|
||||
"/home/test/My/src/CMakeLists.txt"
|
||||
"/home/test/My/src/image_geometry/CMakeLists.txt"
|
||||
"/home/test/My/src/image_geometry/package.xml"
|
||||
"/home/test/My/src/image_geometry/setup.py"
|
||||
"/home/test/My/src/image_geometry/test/CMakeLists.txt"
|
||||
"/home/test/My/src/my_cv_bridge/CMakeLists.txt"
|
||||
"/home/test/My/src/my_cv_bridge/cmake/cv_bridge-extras.cmake.in"
|
||||
"/home/test/My/src/my_cv_bridge/package.xml"
|
||||
"/home/test/My/src/my_cv_bridge/python/CMakeLists.txt"
|
||||
"/home/test/My/src/my_cv_bridge/python/__init__.py.plain.in"
|
||||
"/home/test/My/src/my_cv_bridge/setup.py"
|
||||
"/home/test/My/src/my_cv_bridge/src/CMakeLists.txt"
|
||||
"/home/test/My/src/my_cv_bridge/test/CMakeLists.txt"
|
||||
"/home/test/My/src/octomap_server/CMakeLists.txt"
|
||||
"/home/test/My/src/octomap_server/package.xml"
|
||||
"/home/test/My/src/sg-slam/CMakeLists.txt"
|
||||
"/home/test/My/src/sg-slam/Thirdparty/ncnn/build/install/lib/cmake/ncnn/ncnn-release.cmake"
|
||||
"/home/test/My/src/sg-slam/Thirdparty/ncnn/build/install/lib/cmake/ncnn/ncnn.cmake"
|
||||
"/home/test/My/src/sg-slam/Thirdparty/ncnn/build/install/lib/cmake/ncnn/ncnnConfig.cmake"
|
||||
"/opt/ros/melodic/share/actionlib/cmake/actionlib-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/actionlib/cmake/actionlibConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/actionlib/cmake/actionlibConfig.cmake"
|
||||
"/opt/ros/melodic/share/actionlib_msgs/cmake/actionlib_msgs-extras.cmake"
|
||||
"/opt/ros/melodic/share/actionlib_msgs/cmake/actionlib_msgs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/actionlib_msgs/cmake/actionlib_msgsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/actionlib_msgs/cmake/actionlib_msgsConfig.cmake"
|
||||
"/opt/ros/melodic/share/bond/cmake/bond-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/bond/cmake/bondConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/bond/cmake/bondConfig.cmake"
|
||||
"/opt/ros/melodic/share/bondcpp/cmake/bondcppConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/bondcpp/cmake/bondcppConfig.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/../package.xml"
|
||||
"/opt/ros/melodic/share/catkin/cmake/all.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/assert.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/atomic_configure_file.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkinConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_add_env_hooks.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_destinations.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_download.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_generate_environment.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_install_python.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_libraries.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_metapackage.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_package.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_package_xml.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_python_setup.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_symlink_install.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/catkin_workspace.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/custom_install.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/debug_message.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/em/order_packages.cmake.em"
|
||||
"/opt/ros/melodic/share/catkin/cmake/em/pkg.pc.em"
|
||||
"/opt/ros/melodic/share/catkin/cmake/em_expand.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/empy.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/find_program_required.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/interrogate_setup_dot_py.py"
|
||||
"/opt/ros/melodic/share/catkin/cmake/legacy.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/list_append_deduplicate.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/list_append_unique.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/list_insert_in_workspace_order.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/platform/lsb.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/platform/ubuntu.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/platform/windows.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/python.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/safe_execute_process.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/stamp.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/string_starts_with.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/__init__.py.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/_setup_util.py.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/env.sh.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/generate_cached_setup.py.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/local_setup.bash.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/local_setup.sh.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/local_setup.zsh.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/order_packages.context.py.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/pkg.context.pc.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/pkgConfig-version.cmake.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/pkgConfig.cmake.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/python_distutils_install.sh.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/rosinstall.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/safe_execute_install.cmake.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/setup.bash.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/setup.sh.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/templates/setup.zsh.in"
|
||||
"/opt/ros/melodic/share/catkin/cmake/test/catkin_download_test_data.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/test/gtest.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/test/nosetests.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/test/tests.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/tools/doxygen.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/tools/libraries.cmake"
|
||||
"/opt/ros/melodic/share/catkin/cmake/tools/rt.cmake"
|
||||
"/opt/ros/melodic/share/class_loader/cmake/class_loader-extras.cmake"
|
||||
"/opt/ros/melodic/share/class_loader/cmake/class_loaderConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/class_loader/cmake/class_loaderConfig.cmake"
|
||||
"/opt/ros/melodic/share/cpp_common/cmake/cpp_commonConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/cpp_common/cmake/cpp_commonConfig.cmake"
|
||||
"/opt/ros/melodic/share/dynamic_reconfigure/cmake/../cmake/setup_custom_pythonpath.sh.in"
|
||||
"/opt/ros/melodic/share/dynamic_reconfigure/cmake/dynamic_reconfigure-extras.cmake"
|
||||
"/opt/ros/melodic/share/dynamic_reconfigure/cmake/dynamic_reconfigure-macros.cmake"
|
||||
"/opt/ros/melodic/share/dynamic_reconfigure/cmake/dynamic_reconfigure-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/dynamic_reconfigure/cmake/dynamic_reconfigureConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/dynamic_reconfigure/cmake/dynamic_reconfigureConfig.cmake"
|
||||
"/opt/ros/melodic/share/gencpp/cmake/gencpp-extras.cmake"
|
||||
"/opt/ros/melodic/share/gencpp/cmake/gencppConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/gencpp/cmake/gencppConfig.cmake"
|
||||
"/opt/ros/melodic/share/geneus/cmake/geneus-extras.cmake"
|
||||
"/opt/ros/melodic/share/geneus/cmake/geneusConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/geneus/cmake/geneusConfig.cmake"
|
||||
"/opt/ros/melodic/share/genlisp/cmake/genlisp-extras.cmake"
|
||||
"/opt/ros/melodic/share/genlisp/cmake/genlispConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/genlisp/cmake/genlispConfig.cmake"
|
||||
"/opt/ros/melodic/share/genmsg/cmake/genmsg-extras.cmake"
|
||||
"/opt/ros/melodic/share/genmsg/cmake/genmsgConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/genmsg/cmake/genmsgConfig.cmake"
|
||||
"/opt/ros/melodic/share/gennodejs/cmake/gennodejs-extras.cmake"
|
||||
"/opt/ros/melodic/share/gennodejs/cmake/gennodejsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/gennodejs/cmake/gennodejsConfig.cmake"
|
||||
"/opt/ros/melodic/share/genpy/cmake/genpy-extras.cmake"
|
||||
"/opt/ros/melodic/share/genpy/cmake/genpyConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/genpy/cmake/genpyConfig.cmake"
|
||||
"/opt/ros/melodic/share/geometry_msgs/cmake/geometry_msgs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/geometry_msgs/cmake/geometry_msgsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/geometry_msgs/cmake/geometry_msgsConfig.cmake"
|
||||
"/opt/ros/melodic/share/message_filters/cmake/message_filtersConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/message_filters/cmake/message_filtersConfig.cmake"
|
||||
"/opt/ros/melodic/share/message_generation/cmake/message_generationConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/message_generation/cmake/message_generationConfig.cmake"
|
||||
"/opt/ros/melodic/share/message_runtime/cmake/message_runtimeConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/message_runtime/cmake/message_runtimeConfig.cmake"
|
||||
"/opt/ros/melodic/share/nav_msgs/cmake/nav_msgs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/nav_msgs/cmake/nav_msgsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/nav_msgs/cmake/nav_msgsConfig.cmake"
|
||||
"/opt/ros/melodic/share/nodelet/cmake/nodelet-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/nodelet/cmake/nodeletConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/nodelet/cmake/nodeletConfig.cmake"
|
||||
"/opt/ros/melodic/share/nodelet_topic_tools/cmake/nodelet_topic_toolsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/nodelet_topic_tools/cmake/nodelet_topic_toolsConfig.cmake"
|
||||
"/opt/ros/melodic/share/octomap/octomap-config-version.cmake"
|
||||
"/opt/ros/melodic/share/octomap/octomap-config.cmake"
|
||||
"/opt/ros/melodic/share/octomap/octomap-targets-none.cmake"
|
||||
"/opt/ros/melodic/share/octomap/octomap-targets.cmake"
|
||||
"/opt/ros/melodic/share/octomap_msgs/cmake/octomap_msgs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/octomap_msgs/cmake/octomap_msgsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/octomap_msgs/cmake/octomap_msgsConfig.cmake"
|
||||
"/opt/ros/melodic/share/octomap_ros/cmake/octomap_rosConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/octomap_ros/cmake/octomap_rosConfig.cmake"
|
||||
"/opt/ros/melodic/share/pcl_conversions/cmake/pcl_conversionsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/pcl_conversions/cmake/pcl_conversionsConfig.cmake"
|
||||
"/opt/ros/melodic/share/pcl_msgs/cmake/pcl_msgs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/pcl_msgs/cmake/pcl_msgsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/pcl_msgs/cmake/pcl_msgsConfig.cmake"
|
||||
"/opt/ros/melodic/share/pcl_ros/cmake/pcl_rosConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/pcl_ros/cmake/pcl_rosConfig.cmake"
|
||||
"/opt/ros/melodic/share/pluginlib/cmake/pluginlibConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/pluginlib/cmake/pluginlibConfig.cmake"
|
||||
"/opt/ros/melodic/share/rosbag/cmake/rosbagConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/rosbag/cmake/rosbagConfig.cmake"
|
||||
"/opt/ros/melodic/share/rosbag_storage/cmake/rosbag_storage-extras.cmake"
|
||||
"/opt/ros/melodic/share/rosbag_storage/cmake/rosbag_storageConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/rosbag_storage/cmake/rosbag_storageConfig.cmake"
|
||||
"/opt/ros/melodic/share/rosconsole/cmake/rosconsole-extras.cmake"
|
||||
"/opt/ros/melodic/share/rosconsole/cmake/rosconsoleConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/rosconsole/cmake/rosconsoleConfig.cmake"
|
||||
"/opt/ros/melodic/share/roscpp/cmake/roscpp-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/roscpp/cmake/roscppConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/roscpp/cmake/roscppConfig.cmake"
|
||||
"/opt/ros/melodic/share/roscpp_serialization/cmake/roscpp_serializationConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/roscpp_serialization/cmake/roscpp_serializationConfig.cmake"
|
||||
"/opt/ros/melodic/share/roscpp_traits/cmake/roscpp_traitsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/roscpp_traits/cmake/roscpp_traitsConfig.cmake"
|
||||
"/opt/ros/melodic/share/rosgraph/cmake/rosgraphConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/rosgraph/cmake/rosgraphConfig.cmake"
|
||||
"/opt/ros/melodic/share/rosgraph_msgs/cmake/rosgraph_msgs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/rosgraph_msgs/cmake/rosgraph_msgsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/rosgraph_msgs/cmake/rosgraph_msgsConfig.cmake"
|
||||
"/opt/ros/melodic/share/roslib/cmake/roslib-extras.cmake"
|
||||
"/opt/ros/melodic/share/roslib/cmake/roslibConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/roslib/cmake/roslibConfig.cmake"
|
||||
"/opt/ros/melodic/share/roslz4/cmake/roslz4Config-version.cmake"
|
||||
"/opt/ros/melodic/share/roslz4/cmake/roslz4Config.cmake"
|
||||
"/opt/ros/melodic/share/rospack/cmake/rospackConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/rospack/cmake/rospackConfig.cmake"
|
||||
"/opt/ros/melodic/share/rospy/cmake/rospyConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/rospy/cmake/rospyConfig.cmake"
|
||||
"/opt/ros/melodic/share/rostime/cmake/rostimeConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/rostime/cmake/rostimeConfig.cmake"
|
||||
"/opt/ros/melodic/share/sensor_msgs/cmake/sensor_msgs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/sensor_msgs/cmake/sensor_msgsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/sensor_msgs/cmake/sensor_msgsConfig.cmake"
|
||||
"/opt/ros/melodic/share/smclib/cmake/smclibConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/smclib/cmake/smclibConfig.cmake"
|
||||
"/opt/ros/melodic/share/std_msgs/cmake/std_msgs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/std_msgs/cmake/std_msgsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/std_msgs/cmake/std_msgsConfig.cmake"
|
||||
"/opt/ros/melodic/share/std_srvs/cmake/std_srvs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/std_srvs/cmake/std_srvsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/std_srvs/cmake/std_srvsConfig.cmake"
|
||||
"/opt/ros/melodic/share/tf/cmake/tf-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/tf/cmake/tfConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/tf/cmake/tfConfig.cmake"
|
||||
"/opt/ros/melodic/share/tf2/cmake/tf2Config-version.cmake"
|
||||
"/opt/ros/melodic/share/tf2/cmake/tf2Config.cmake"
|
||||
"/opt/ros/melodic/share/tf2_eigen/cmake/tf2_eigenConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/tf2_eigen/cmake/tf2_eigenConfig.cmake"
|
||||
"/opt/ros/melodic/share/tf2_msgs/cmake/tf2_msgs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/tf2_msgs/cmake/tf2_msgsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/tf2_msgs/cmake/tf2_msgsConfig.cmake"
|
||||
"/opt/ros/melodic/share/tf2_py/cmake/tf2_pyConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/tf2_py/cmake/tf2_pyConfig.cmake"
|
||||
"/opt/ros/melodic/share/tf2_ros/cmake/tf2_rosConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/tf2_ros/cmake/tf2_rosConfig.cmake"
|
||||
"/opt/ros/melodic/share/topic_tools/cmake/topic_tools-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/topic_tools/cmake/topic_toolsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/topic_tools/cmake/topic_toolsConfig.cmake"
|
||||
"/opt/ros/melodic/share/visualization_msgs/cmake/visualization_msgs-msg-extras.cmake"
|
||||
"/opt/ros/melodic/share/visualization_msgs/cmake/visualization_msgsConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/visualization_msgs/cmake/visualization_msgsConfig.cmake"
|
||||
"/opt/ros/melodic/share/xmlrpcpp/cmake/xmlrpcpp-extras.cmake"
|
||||
"/opt/ros/melodic/share/xmlrpcpp/cmake/xmlrpcppConfig-version.cmake"
|
||||
"/opt/ros/melodic/share/xmlrpcpp/cmake/xmlrpcppConfig.cmake"
|
||||
"/usr/lib/cmake/eigen3/Eigen3Config.cmake"
|
||||
"/usr/lib/cmake/eigen3/Eigen3ConfigVersion.cmake"
|
||||
"/usr/lib/cmake/eigen3/Eigen3Targets.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkChartsCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkCommonColor.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkCommonComputationalGeometry.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkCommonCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkCommonDataModel.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkCommonExecutionModel.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkCommonMath.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkCommonMisc.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkCommonSystem.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkCommonTransforms.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkDICOMParser.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkDomainsChemistry.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersAMR.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersExtraction.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersFlowPaths.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersGeneral.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersGeneric.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersGeometry.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersHybrid.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersHyperTree.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersImaging.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersModeling.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersParallel.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersParallelFlowPaths.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersParallelGeometry.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersParallelImaging.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersParallelMPI.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersParallelStatistics.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersProgrammable.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersPython.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersReebGraph.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersSMP.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersSelection.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersSources.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersStatistics.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersTexture.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkFiltersVerdict.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkGUISupportQt.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkGUISupportQtOpenGL.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkGUISupportQtSQL.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkGUISupportQtWebkit.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkGeovisCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOAMR.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOEnSight.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOExodus.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOExport.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOFFMPEG.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOGDAL.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOGeoJSON.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOGeometry.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOImage.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOImport.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOInfovis.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOLSDyna.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOLegacy.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOMINC.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOMPIImage.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOMPIParallel.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOMovie.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOMySQL.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIONetCDF.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOODBC.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOPLY.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOParallel.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOParallelExodus.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOParallelLSDyna.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOParallelNetCDF.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOParallelXML.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOPostgreSQL.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOSQL.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOVPIC.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOVideo.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOXML.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOXMLParser.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkIOXdmf2.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkImagingColor.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkImagingCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkImagingFourier.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkImagingGeneral.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkImagingHybrid.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkImagingMath.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkImagingMorphological.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkImagingSources.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkImagingStatistics.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkImagingStencil.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkInfovisBoost.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkInfovisBoostGraphAlgorithms.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkInfovisCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkInfovisLayout.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkInteractionImage.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkInteractionStyle.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkInteractionWidgets.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkLocalExample.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkMetaIO.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkParallelCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkParallelMPI.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkParallelMPI4Py.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkParseOGLExt.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkPython.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkPythonInterpreter.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingAnnotation.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingContext2D.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingContextOpenGL.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingExternal.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingFreeType.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingFreeTypeFontConfig.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingGL2PS.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingImage.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingLIC.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingLOD.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingLabel.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingMatplotlib.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingOpenGL.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingParallel.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingParallelLIC.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingQt.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingTk.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingVolume.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingVolumeAMR.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkRenderingVolumeOpenGL.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkTclTk.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkTestingCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkTestingGenericBridge.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkTestingIOSQL.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkTestingRendering.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkUtilitiesEncodeString.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkUtilitiesHashSource.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkVPIC.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkViewsContext2D.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkViewsCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkViewsGeovis.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkViewsInfovis.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkViewsQt.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkWrappingJava.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkWrappingPythonCore.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkWrappingTcl.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkWrappingTools.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkalglib.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkexodusII.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkexpat.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkfreetype.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkftgl.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkgl2ps.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkglew.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkhdf5.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkjpeg.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkjsoncpp.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtklibproj4.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtklibxml2.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtknetcdf.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkoggtheora.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkpng.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtksqlite.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtksys.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtktiff.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkverdict.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkxdmf2.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/Modules/vtkzlib.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/UseVTK.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/VTKConfig.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/VTKConfigVersion.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/VTKTargets-none.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
|
||||
"/usr/lib/cmake/vtk-6.3/vtkModuleAPI.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfigVersion.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigVersion.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Network/Qt5NetworkConfig.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Network/Qt5NetworkConfigVersion.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5OpenGL/Qt5OpenGLConfig.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5OpenGL/Qt5OpenGLConfigVersion.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Sql/Qt5SqlConfig.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Sql/Qt5SqlConfigVersion.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebKit/Qt5WebKitConfig.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebKit/Qt5WebKitConfigVersion.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebKit/WebKitTargets-none.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebKit/WebKitTargets.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsConfig.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsConfigVersion.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsTargets-none.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsTargets.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfigExtras.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfigVersion.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsMacros.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake"
|
||||
"/usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfigVersion.cmake"
|
||||
"/usr/local/lib/cmake/Pangolin/PangolinConfig.cmake"
|
||||
"/usr/local/lib/cmake/Pangolin/PangolinConfigVersion.cmake"
|
||||
"/usr/local/lib/cmake/Pangolin/PangolinTargets-release.cmake"
|
||||
"/usr/local/lib/cmake/Pangolin/PangolinTargets.cmake"
|
||||
"/usr/local/lib/cmake/opencv4/OpenCVConfig-version.cmake"
|
||||
"/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake"
|
||||
"/usr/local/lib/cmake/opencv4/OpenCVModules-release.cmake"
|
||||
"/usr/local/lib/cmake/opencv4/OpenCVModules.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeCInformation.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeCXXInformation.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeFindDependencyMacro.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeFindFrameworks.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeGenericSystem.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeLanguageInformation.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeParseArguments.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeParseImplicitLinkInfo.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CheckCXXCompilerFlag.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CheckCXXSourceCompiles.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CheckIncludeFile.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CheckLibraryExists.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/CheckSymbolExists.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/Compiler/GNU-C.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/Compiler/GNU.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/DartConfiguration.tcl.in"
|
||||
"/usr/share/cmake-3.10/Modules/FindBoost.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/FindCUDA.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/FindCUDA/select_compute_arch.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/FindGTest.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/FindOpenMP.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/FindPackageMessage.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/FindPythonInterp.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/FindPythonLibs.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/FindThreads.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/GoogleTest.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/Platform/Linux-GNU-C.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/Platform/Linux-GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/Platform/Linux-GNU.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/Platform/Linux.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/Platform/UnixPaths.cmake"
|
||||
"/usr/share/cmake-3.10/Modules/SelectLibraryConfigurations.cmake"
|
||||
"/usr/src/googletest/CMakeLists.txt"
|
||||
"/usr/src/googletest/googlemock/CMakeLists.txt"
|
||||
"/usr/src/googletest/googletest/CMakeLists.txt"
|
||||
"/usr/src/googletest/googletest/cmake/internal_utils.cmake"
|
||||
)
|
||||
|
||||
# The corresponding makefile is:
|
||||
set(CMAKE_MAKEFILE_OUTPUTS
|
||||
"Makefile"
|
||||
"CMakeFiles/cmake.check_cache"
|
||||
)
|
||||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CTestConfiguration.ini"
|
||||
"catkin_generated/stamps/Project/package.xml.stamp"
|
||||
"atomic_configure/_setup_util.py"
|
||||
"atomic_configure/env.sh"
|
||||
"atomic_configure/setup.bash"
|
||||
"atomic_configure/local_setup.bash"
|
||||
"atomic_configure/setup.sh"
|
||||
"atomic_configure/local_setup.sh"
|
||||
"atomic_configure/setup.zsh"
|
||||
"atomic_configure/local_setup.zsh"
|
||||
"atomic_configure/.rosinstall"
|
||||
"catkin_generated/installspace/_setup_util.py"
|
||||
"catkin_generated/stamps/Project/_setup_util.py.stamp"
|
||||
"catkin_generated/installspace/env.sh"
|
||||
"catkin_generated/installspace/setup.bash"
|
||||
"catkin_generated/installspace/local_setup.bash"
|
||||
"catkin_generated/installspace/setup.sh"
|
||||
"catkin_generated/installspace/local_setup.sh"
|
||||
"catkin_generated/installspace/setup.zsh"
|
||||
"catkin_generated/installspace/local_setup.zsh"
|
||||
"catkin_generated/installspace/.rosinstall"
|
||||
"catkin_generated/generate_cached_setup.py"
|
||||
"catkin_generated/env_cached.sh"
|
||||
"catkin_generated/stamps/Project/interrogate_setup_dot_py.py.stamp"
|
||||
"catkin_generated/order_packages.py"
|
||||
"catkin_generated/stamps/Project/order_packages.cmake.em.stamp"
|
||||
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"gtest/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"gtest/googlemock/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"gtest/googlemock/gtest/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"my_cv_bridge/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"my_cv_bridge/python/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"my_cv_bridge/src/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"image_geometry/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"image_geometry/test/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"octomap_server/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"sg-slam/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
# Dependency information for all targets:
|
||||
set(CMAKE_DEPEND_INFO_FILES
|
||||
"CMakeFiles/doxygen.dir/DependInfo.cmake"
|
||||
"CMakeFiles/run_tests.dir/DependInfo.cmake"
|
||||
"CMakeFiles/clean_test_results.dir/DependInfo.cmake"
|
||||
"CMakeFiles/tests.dir/DependInfo.cmake"
|
||||
"CMakeFiles/download_extra_data.dir/DependInfo.cmake"
|
||||
"gtest/googlemock/CMakeFiles/gmock_main.dir/DependInfo.cmake"
|
||||
"gtest/googlemock/CMakeFiles/gmock.dir/DependInfo.cmake"
|
||||
"gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/DependInfo.cmake"
|
||||
"gtest/googlemock/gtest/CMakeFiles/gtest.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/std_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/std_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/sensor_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/std_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/sensor_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/geometry_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/std_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/geometry_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/sensor_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/sensor_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/geometry_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/sensor_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/geometry_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/geometry_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/CMakeFiles/std_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/src/CMakeFiles/cv_bridge_boost.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/src/CMakeFiles/cv_bridge.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests_python_bindings.py.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests_python_bindings.py.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests_conversions.py.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/cv_bridge-utest.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_gtest.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_gtest.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests_enumerants.py.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_gtest_cv_bridge-utest.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_gtest_cv_bridge-utest.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/clean_test_results_cv_bridge.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests_enumerants.py.dir/DependInfo.cmake"
|
||||
"my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests_conversions.py.dir/DependInfo.cmake"
|
||||
"image_geometry/CMakeFiles/image_geometry.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/run_tests_image_geometry.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/_run_tests_image_geometry.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/_run_tests_image_geometry_nosetests.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/_run_tests_image_geometry_gtest.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/run_tests_image_geometry_nosetests.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/_run_tests_image_geometry_gtest_image_geometry-utest.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/run_tests_image_geometry_nosetests_directed.py.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/image_geometry-utest.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/clean_test_results_image_geometry.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/_run_tests_image_geometry_nosetests_directed.py.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/run_tests_image_geometry_gtest.dir/DependInfo.cmake"
|
||||
"image_geometry/test/CMakeFiles/run_tests_image_geometry_gtest_image_geometry-utest.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_server_nodelet.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_saver.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_server_static.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_color_server_node.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_server_node.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_server_gencfg.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nav_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nav_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nav_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/tf2_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/tf2_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/tf2_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/actionlib_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nodelet_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/bond_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nodelet_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/dynamic_reconfigure_gencfg.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/dynamic_reconfigure_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/actionlib_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/dynamic_reconfigure_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/pcl_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/tf2_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/dynamic_reconfigure_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/std_srvs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/pcl_ros_gencfg.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/visualization_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nodelet_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/roscpp_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_tracking_server_node.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/topic_tools_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/tf2_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/dynamic_reconfigure_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/bond_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/bond_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nav_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/visualization_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/roscpp_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/roscpp_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/topic_tools_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/actionlib_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/actionlib_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/tf_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/roscpp_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_server_multilayer.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/std_srvs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nodelet_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/actionlib_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/dynamic_reconfigure_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/topic_tools_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nav_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/tf_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/roscpp_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/actionlib_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/rosgraph_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_color_server_nodelet.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/actionlib_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nodelet_topic_tools_gencfg.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/visualization_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/actionlib_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/actionlib_msgs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/visualization_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/bond_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/bond_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_server_color.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/pcl_msgs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/visualization_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/topic_tools_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/pcl_msgs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/pcl_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/pcl_msgs_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/std_srvs_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/tf_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/std_srvs_generate_messages_eus.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/nodelet_generate_messages_py.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/std_srvs_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/topic_tools_generate_messages_lisp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/tf_generate_messages_cpp.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/octomap_server.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/tf_generate_messages_nodejs.dir/DependInfo.cmake"
|
||||
"octomap_server/CMakeFiles/actionlib_generate_messages_py.dir/DependInfo.cmake"
|
||||
"sg-slam/CMakeFiles/sg_slam_ros_rgbd.dir/DependInfo.cmake"
|
||||
"sg-slam/CMakeFiles/sg_slam_tum.dir/DependInfo.cmake"
|
||||
"sg-slam/CMakeFiles/sg-slam.dir/DependInfo.cmake"
|
||||
)
|
File diff suppressed because it is too large
Load Diff
@ -1,231 +0,0 @@
|
||||
/home/test/My/build/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/CMakeFiles/install.dir
|
||||
/home/test/My/build/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/CMakeFiles/test.dir
|
||||
/home/test/My/build/CMakeFiles/doxygen.dir
|
||||
/home/test/My/build/CMakeFiles/run_tests.dir
|
||||
/home/test/My/build/CMakeFiles/clean_test_results.dir
|
||||
/home/test/My/build/CMakeFiles/tests.dir
|
||||
/home/test/My/build/CMakeFiles/download_extra_data.dir
|
||||
/home/test/My/build/gtest/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/gtest/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/gtest/CMakeFiles/install.dir
|
||||
/home/test/My/build/gtest/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/gtest/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/gtest/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/gtest/CMakeFiles/test.dir
|
||||
/home/test/My/build/gtest/googlemock/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/gtest/googlemock/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/gtest/googlemock/CMakeFiles/install.dir
|
||||
/home/test/My/build/gtest/googlemock/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/gtest/googlemock/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/gtest/googlemock/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/gtest/googlemock/CMakeFiles/test.dir
|
||||
/home/test/My/build/gtest/googlemock/CMakeFiles/gmock_main.dir
|
||||
/home/test/My/build/gtest/googlemock/CMakeFiles/gmock.dir
|
||||
/home/test/My/build/gtest/googlemock/gtest/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/gtest/googlemock/gtest/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/gtest/googlemock/gtest/CMakeFiles/install.dir
|
||||
/home/test/My/build/gtest/googlemock/gtest/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/gtest/googlemock/gtest/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/gtest/googlemock/gtest/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/gtest/googlemock/gtest/CMakeFiles/test.dir
|
||||
/home/test/My/build/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir
|
||||
/home/test/My/build/gtest/googlemock/gtest/CMakeFiles/gtest.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/test.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/std_msgs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/std_msgs_generate_messages_py.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/sensor_msgs_generate_messages_cpp.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/std_msgs_generate_messages_lisp.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/sensor_msgs_generate_messages_eus.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/geometry_msgs_generate_messages_eus.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/install.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/std_msgs_generate_messages_eus.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/geometry_msgs_generate_messages_lisp.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/sensor_msgs_generate_messages_lisp.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/sensor_msgs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/geometry_msgs_generate_messages_py.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/sensor_msgs_generate_messages_py.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/geometry_msgs_generate_messages_cpp.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/geometry_msgs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/my_cv_bridge/CMakeFiles/std_msgs_generate_messages_cpp.dir
|
||||
/home/test/My/build/my_cv_bridge/python/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/my_cv_bridge/python/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/my_cv_bridge/python/CMakeFiles/install.dir
|
||||
/home/test/My/build/my_cv_bridge/python/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/my_cv_bridge/python/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/my_cv_bridge/python/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/my_cv_bridge/python/CMakeFiles/test.dir
|
||||
/home/test/My/build/my_cv_bridge/src/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/my_cv_bridge/src/CMakeFiles/install.dir
|
||||
/home/test/My/build/my_cv_bridge/src/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/my_cv_bridge/src/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/my_cv_bridge/src/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/my_cv_bridge/src/CMakeFiles/test.dir
|
||||
/home/test/My/build/my_cv_bridge/src/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/my_cv_bridge/src/CMakeFiles/cv_bridge_boost.dir
|
||||
/home/test/My/build/my_cv_bridge/src/CMakeFiles/cv_bridge.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/test.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests_python_bindings.py.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests_python_bindings.py.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests_conversions.py.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/cv_bridge-utest.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_gtest.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_gtest.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests_enumerants.py.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_gtest_cv_bridge-utest.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_gtest_cv_bridge-utest.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/_run_tests_cv_bridge_nosetests.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/clean_test_results_cv_bridge.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests_enumerants.py.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/install.dir
|
||||
/home/test/My/build/my_cv_bridge/test/CMakeFiles/run_tests_cv_bridge_nosetests_conversions.py.dir
|
||||
/home/test/My/build/image_geometry/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/image_geometry/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/image_geometry/CMakeFiles/install.dir
|
||||
/home/test/My/build/image_geometry/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/image_geometry/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/image_geometry/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/image_geometry/CMakeFiles/test.dir
|
||||
/home/test/My/build/image_geometry/CMakeFiles/image_geometry.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/install.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/run_tests_image_geometry.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/_run_tests_image_geometry.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/_run_tests_image_geometry_nosetests.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/_run_tests_image_geometry_gtest.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/run_tests_image_geometry_nosetests.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/_run_tests_image_geometry_gtest_image_geometry-utest.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/run_tests_image_geometry_nosetests_directed.py.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/image_geometry-utest.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/clean_test_results_image_geometry.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/_run_tests_image_geometry_nosetests_directed.py.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/run_tests_image_geometry_gtest.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/run_tests_image_geometry_gtest_image_geometry-utest.dir
|
||||
/home/test/My/build/image_geometry/test/CMakeFiles/test.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_server_nodelet.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_saver.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_server_static.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_color_server_node.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_server_node.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/install.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_server_gencfg.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_msgs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_msgs_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_msgs_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_msgs_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nav_msgs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nav_msgs_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nav_msgs_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/tf2_msgs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/tf2_msgs_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/tf2_msgs_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/actionlib_msgs_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nodelet_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_msgs_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/bond_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nodelet_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/dynamic_reconfigure_gencfg.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/dynamic_reconfigure_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/actionlib_msgs_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/dynamic_reconfigure_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/pcl_msgs_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/tf2_msgs_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/dynamic_reconfigure_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/std_srvs_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/pcl_ros_gencfg.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/visualization_msgs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nodelet_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/roscpp_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_tracking_server_node.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/topic_tools_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/tf2_msgs_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/dynamic_reconfigure_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/bond_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/bond_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nav_msgs_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/visualization_msgs_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/roscpp_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/roscpp_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/topic_tools_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/actionlib_msgs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/actionlib_msgs_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/tf_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/roscpp_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_server_multilayer.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/rosgraph_msgs_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/std_srvs_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nodelet_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/actionlib_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/dynamic_reconfigure_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/topic_tools_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nav_msgs_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/tf_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/roscpp_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/actionlib_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/rosgraph_msgs_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/rosgraph_msgs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_color_server_nodelet.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/actionlib_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nodelet_topic_tools_gencfg.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/visualization_msgs_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/rosgraph_msgs_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/actionlib_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/actionlib_msgs_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/visualization_msgs_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/bond_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/bond_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_server_color.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/pcl_msgs_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/visualization_msgs_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/topic_tools_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/pcl_msgs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/pcl_msgs_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/test.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/pcl_msgs_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/std_srvs_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/rosgraph_msgs_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/tf_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/std_srvs_generate_messages_eus.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/nodelet_generate_messages_py.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/std_srvs_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/topic_tools_generate_messages_lisp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/tf_generate_messages_cpp.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/octomap_server.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/tf_generate_messages_nodejs.dir
|
||||
/home/test/My/build/octomap_server/CMakeFiles/actionlib_generate_messages_py.dir
|
||||
/home/test/My/build/sg-slam/CMakeFiles/install/strip.dir
|
||||
/home/test/My/build/sg-slam/CMakeFiles/install/local.dir
|
||||
/home/test/My/build/sg-slam/CMakeFiles/install.dir
|
||||
/home/test/My/build/sg-slam/CMakeFiles/list_install_components.dir
|
||||
/home/test/My/build/sg-slam/CMakeFiles/rebuild_cache.dir
|
||||
/home/test/My/build/sg-slam/CMakeFiles/edit_cache.dir
|
||||
/home/test/My/build/sg-slam/CMakeFiles/test.dir
|
||||
/home/test/My/build/sg-slam/CMakeFiles/sg_slam_ros_rgbd.dir
|
||||
/home/test/My/build/sg-slam/CMakeFiles/sg_slam_tum.dir
|
||||
/home/test/My/build/sg-slam/CMakeFiles/sg-slam.dir
|
@ -1,11 +0,0 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -1,76 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# 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/test/My/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/test/My/build
|
||||
|
||||
# Utility rule file for clean_test_results.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/clean_test_results.dir/progress.make
|
||||
|
||||
CMakeFiles/clean_test_results:
|
||||
/usr/bin/python2 /opt/ros/melodic/share/catkin/cmake/test/remove_test_results.py /home/test/My/build/test_results
|
||||
|
||||
clean_test_results: CMakeFiles/clean_test_results
|
||||
clean_test_results: CMakeFiles/clean_test_results.dir/build.make
|
||||
|
||||
.PHONY : clean_test_results
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/clean_test_results.dir/build: clean_test_results
|
||||
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/build
|
||||
|
||||
CMakeFiles/clean_test_results.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/clean_test_results.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/clean
|
||||
|
||||
CMakeFiles/clean_test_results.dir/depend:
|
||||
cd /home/test/My/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/test/My/src /home/test/My/src /home/test/My/build /home/test/My/build /home/test/My/build/CMakeFiles/clean_test_results.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/clean_test_results.dir/depend
|
||||
|
@ -1,8 +0,0 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/clean_test_results"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/clean_test_results.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -1 +0,0 @@
|
||||
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
@ -1,11 +0,0 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -1,72 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# 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/test/My/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/test/My/build
|
||||
|
||||
# Utility rule file for download_extra_data.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/download_extra_data.dir/progress.make
|
||||
|
||||
download_extra_data: CMakeFiles/download_extra_data.dir/build.make
|
||||
|
||||
.PHONY : download_extra_data
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/download_extra_data.dir/build: download_extra_data
|
||||
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/build
|
||||
|
||||
CMakeFiles/download_extra_data.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/download_extra_data.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/clean
|
||||
|
||||
CMakeFiles/download_extra_data.dir/depend:
|
||||
cd /home/test/My/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/test/My/src /home/test/My/src /home/test/My/build /home/test/My/build /home/test/My/build/CMakeFiles/download_extra_data.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/download_extra_data.dir/depend
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/download_extra_data.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -1,11 +0,0 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -1,72 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# 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/test/My/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/test/My/build
|
||||
|
||||
# Utility rule file for doxygen.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/doxygen.dir/progress.make
|
||||
|
||||
doxygen: CMakeFiles/doxygen.dir/build.make
|
||||
|
||||
.PHONY : doxygen
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/doxygen.dir/build: doxygen
|
||||
|
||||
.PHONY : CMakeFiles/doxygen.dir/build
|
||||
|
||||
CMakeFiles/doxygen.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/doxygen.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/doxygen.dir/clean
|
||||
|
||||
CMakeFiles/doxygen.dir/depend:
|
||||
cd /home/test/My/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/test/My/src /home/test/My/src /home/test/My/build /home/test/My/build /home/test/My/build/CMakeFiles/doxygen.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/doxygen.dir/depend
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/doxygen.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -1 +0,0 @@
|
||||
|
Binary file not shown.
@ -1,34 +0,0 @@
|
||||
|
||||
const char features[] = {"\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_function_prototypes\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_restrict\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_static_assert\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_variadic_macros\n"
|
||||
|
||||
};
|
||||
|
||||
int main(int argc, char** argv) { (void)argv; return features[argc]; }
|
@ -1,405 +0,0 @@
|
||||
|
||||
const char features[] = {"\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_aggregate_default_initializers\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_alias_templates\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_alignas\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_alignof\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_attributes\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_attribute_deprecated\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_auto_type\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_binary_literals\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_constexpr\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_contextual_conversions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_decltype\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_decltype_auto\n"
|
||||
"CXX_FEATURE:"
|
||||
#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_decltype_incomplete_return_types\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_default_function_template_args\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_defaulted_functions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_defaulted_move_initializers\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_delegating_constructors\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_deleted_functions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_digit_separators\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_enum_forward_declarations\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_explicit_conversions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_extended_friend_declarations\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_extern_templates\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_final\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_func_identifier\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_generalized_initializers\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_generic_lambdas\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_inheriting_constructors\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_inline_namespaces\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_lambdas\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_lambda_init_captures\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_local_type_template_args\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_long_long_type\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_noexcept\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_nonstatic_member_init\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_nullptr\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_override\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_range_for\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_raw_string_literals\n"
|
||||
"CXX_FEATURE:"
|
||||
#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_reference_qualified_functions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_relaxed_constexpr\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_return_type_deduction\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_right_angle_brackets\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_rvalue_references\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_sizeof_member\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_static_assert\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_strong_enums\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_template_template_parameters\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_thread_local\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_trailing_return_types\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_unicode_literals\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_uniform_initialization\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_unrestricted_unions\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_user_literals\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_variable_templates\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_variadic_macros\n"
|
||||
"CXX_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"cxx_variadic_templates\n"
|
||||
|
||||
};
|
||||
|
||||
int main(int argc, char** argv) { (void)argv; return features[argc]; }
|
@ -1 +0,0 @@
|
||||
65
|
@ -1,11 +0,0 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -1,72 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# 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/test/My/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/test/My/build
|
||||
|
||||
# Utility rule file for run_tests.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/run_tests.dir/progress.make
|
||||
|
||||
run_tests: CMakeFiles/run_tests.dir/build.make
|
||||
|
||||
.PHONY : run_tests
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/run_tests.dir/build: run_tests
|
||||
|
||||
.PHONY : CMakeFiles/run_tests.dir/build
|
||||
|
||||
CMakeFiles/run_tests.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/run_tests.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/run_tests.dir/clean
|
||||
|
||||
CMakeFiles/run_tests.dir/depend:
|
||||
cd /home/test/My/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/test/My/src /home/test/My/src /home/test/My/build /home/test/My/build /home/test/My/build/CMakeFiles/run_tests.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/run_tests.dir/depend
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/run_tests.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -1 +0,0 @@
|
||||
|
@ -1,11 +0,0 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -1,72 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# 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/test/My/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/test/My/build
|
||||
|
||||
# Utility rule file for tests.
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/tests.dir/progress.make
|
||||
|
||||
tests: CMakeFiles/tests.dir/build.make
|
||||
|
||||
.PHONY : tests
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/tests.dir/build: tests
|
||||
|
||||
.PHONY : CMakeFiles/tests.dir/build
|
||||
|
||||
CMakeFiles/tests.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/tests.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/tests.dir/clean
|
||||
|
||||
CMakeFiles/tests.dir/depend:
|
||||
cd /home/test/My/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/test/My/src /home/test/My/src /home/test/My/build /home/test/My/build /home/test/My/build/CMakeFiles/tests.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/tests.dir/depend
|
||||
|
@ -1,5 +0,0 @@
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang )
|
||||
include(CMakeFiles/tests.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -1 +0,0 @@
|
||||
|
@ -1,115 +0,0 @@
|
||||
# This file is configured by CMake automatically as DartConfiguration.tcl
|
||||
# If you choose not to use CMake, this file may be hand configured, by
|
||||
# filling in the required variables.
|
||||
|
||||
|
||||
# Configuration directories and files
|
||||
SourceDirectory: /home/test/My/src
|
||||
BuildDirectory: /home/test/My/build
|
||||
|
||||
# Where to place the cost data store
|
||||
CostDataFile:
|
||||
|
||||
# Site is something like machine.domain, i.e. pragmatic.crd
|
||||
Site: fdc477942708
|
||||
|
||||
# Build name is osname-revision-compiler, i.e. Linux-2.4.2-2smp-c++
|
||||
BuildName:
|
||||
|
||||
# Subprojects
|
||||
LabelsForSubprojects:
|
||||
|
||||
# Submission information
|
||||
IsCDash:
|
||||
CDashVersion:
|
||||
QueryCDashVersion:
|
||||
DropSite:
|
||||
DropLocation:
|
||||
DropSiteUser:
|
||||
DropSitePassword:
|
||||
DropSiteMode:
|
||||
DropMethod:
|
||||
TriggerSite:
|
||||
ScpCommand:
|
||||
|
||||
# Dashboard start time
|
||||
NightlyStartTime:
|
||||
|
||||
# Commands for the build/test/submit cycle
|
||||
ConfigureCommand: "/usr/bin/cmake" "/home/test/My/src"
|
||||
MakeCommand:
|
||||
DefaultCTestConfigurationType:
|
||||
|
||||
# version control
|
||||
UpdateVersionOnly:
|
||||
|
||||
# CVS options
|
||||
# Default is "-d -P -A"
|
||||
CVSCommand:
|
||||
CVSUpdateOptions:
|
||||
|
||||
# Subversion options
|
||||
SVNCommand:
|
||||
SVNOptions:
|
||||
SVNUpdateOptions:
|
||||
|
||||
# Git options
|
||||
GITCommand:
|
||||
GITInitSubmodules:
|
||||
GITUpdateOptions:
|
||||
GITUpdateCustom:
|
||||
|
||||
# Perforce options
|
||||
P4Command:
|
||||
P4Client:
|
||||
P4Options:
|
||||
P4UpdateOptions:
|
||||
P4UpdateCustom:
|
||||
|
||||
# Generic update command
|
||||
UpdateCommand:
|
||||
UpdateOptions:
|
||||
UpdateType:
|
||||
|
||||
# Compiler info
|
||||
Compiler: /usr/bin/c++
|
||||
CompilerVersion: 9.4.0
|
||||
|
||||
# Dynamic analysis (MemCheck)
|
||||
PurifyCommand:
|
||||
ValgrindCommand:
|
||||
ValgrindCommandOptions:
|
||||
MemoryCheckType:
|
||||
MemoryCheckSanitizerOptions:
|
||||
MemoryCheckCommand:
|
||||
MemoryCheckCommandOptions:
|
||||
MemoryCheckSuppressionFile:
|
||||
|
||||
# Coverage
|
||||
CoverageCommand:
|
||||
CoverageExtraFlags:
|
||||
|
||||
# Cluster commands
|
||||
SlurmBatchCommand:
|
||||
SlurmRunCommand:
|
||||
|
||||
# Testing options
|
||||
# TimeOut is the amount of time in seconds to wait for processes
|
||||
# to complete during testing. After TimeOut seconds, the
|
||||
# process will be summarily terminated.
|
||||
# Currently set to 25 minutes
|
||||
TimeOut:
|
||||
|
||||
# During parallel testing CTest will not start a new test if doing
|
||||
# so would cause the system load to exceed this value.
|
||||
TestLoad:
|
||||
|
||||
UseLaunchers:
|
||||
CurlOptions:
|
||||
# warning, if you add new options here that have to do with submit,
|
||||
# you have to update cmCTestSubmitCommand.cxx
|
||||
|
||||
# For CTest submissions that timeout, these options
|
||||
# specify behavior for retrying the submission
|
||||
CTestSubmitRetryDelay:
|
||||
CTestSubmitRetryCount:
|
@ -1,2 +0,0 @@
|
||||
set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 0)
|
||||
set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 0)
|
@ -1,11 +0,0 @@
|
||||
# CMake generated Testfile for
|
||||
# Source directory: /home/test/My/src
|
||||
# Build directory: /home/test/My/build
|
||||
#
|
||||
# This file includes the relevant testing commands required for
|
||||
# testing this directory and lists subdirectories to be tested as well.
|
||||
subdirs("gtest")
|
||||
subdirs("my_cv_bridge")
|
||||
subdirs("image_geometry")
|
||||
subdirs("octomap_server")
|
||||
subdirs("sg-slam")
|
File diff suppressed because it is too large
Load Diff
@ -1,2 +0,0 @@
|
||||
- setup-file:
|
||||
local-name: /home/test/My/devel/setup.sh
|
@ -1,304 +0,0 @@
|
||||
#!/usr/bin/python2
|
||||
# -*- 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/python2.7/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'/opt/ros/melodic'.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)
|
@ -1,16 +0,0 @@
|
||||
#!/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 "$@"
|
@ -1,8 +0,0 @@
|
||||
#!/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
|
@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
# generated from catkin/cmake/template/local_setup.sh.in
|
||||
|
||||
# since this file is sourced either use the provided _CATKIN_SETUP_DIR
|
||||
# or fall back to the destination set at configure time
|
||||
: ${_CATKIN_SETUP_DIR:=/home/test/My/devel}
|
||||
CATKIN_SETUP_UTIL_ARGS="--extend --local"
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh"
|
||||
unset CATKIN_SETUP_UTIL_ARGS
|
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env zsh
|
||||
# generated from catkin/cmake/templates/local_setup.zsh.in
|
||||
|
||||
CATKIN_SHELL=zsh
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(builtin cd -q "`dirname "$0"`" > /dev/null && pwd)
|
||||
emulate -R zsh -c 'source "$_CATKIN_SETUP_DIR/setup.sh" --extend --local'
|
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# generated from catkin/cmake/templates/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"
|
@ -1,96 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
# generated from catkin/cmake/template/setup.sh.in
|
||||
|
||||
# Sets various environment variables and sources additional environment hooks.
|
||||
# It tries it's best to undo changes from a previously sourced setup file before.
|
||||
# Supported command line options:
|
||||
# --extend: skips the undoing of changes from a previously sourced setup file
|
||||
# --local: only considers this workspace but not the chained ones
|
||||
# In plain sh shell which doesn't support arguments for sourced scripts you can
|
||||
# set the environment variable `CATKIN_SETUP_UTIL_ARGS=--extend/--local` instead.
|
||||
|
||||
# since this file is sourced either use the provided _CATKIN_SETUP_DIR
|
||||
# or fall back to the destination set at configure time
|
||||
: ${_CATKIN_SETUP_DIR:=/home/test/My/devel}
|
||||
_SETUP_UTIL="$_CATKIN_SETUP_DIR/_setup_util.py"
|
||||
unset _CATKIN_SETUP_DIR
|
||||
|
||||
if [ ! -f "$_SETUP_UTIL" ]; then
|
||||
echo "Missing Python script: $_SETUP_UTIL"
|
||||
return 22
|
||||
fi
|
||||
|
||||
# detect if running on Darwin platform
|
||||
_UNAME=`uname -s`
|
||||
_IS_DARWIN=0
|
||||
if [ "$_UNAME" = "Darwin" ]; then
|
||||
_IS_DARWIN=1
|
||||
fi
|
||||
unset _UNAME
|
||||
|
||||
# make sure to export all environment variables
|
||||
export CMAKE_PREFIX_PATH
|
||||
if [ $_IS_DARWIN -eq 0 ]; then
|
||||
export LD_LIBRARY_PATH
|
||||
else
|
||||
export DYLD_LIBRARY_PATH
|
||||
fi
|
||||
unset _IS_DARWIN
|
||||
export PATH
|
||||
export PKG_CONFIG_PATH
|
||||
export PYTHONPATH
|
||||
|
||||
# remember type of shell if not already set
|
||||
if [ -z "$CATKIN_SHELL" ]; then
|
||||
CATKIN_SHELL=sh
|
||||
fi
|
||||
|
||||
# invoke Python script to generate necessary exports of environment variables
|
||||
# use TMPDIR if it exists, otherwise fall back to /tmp
|
||||
if [ -d "${TMPDIR:-}" ]; then
|
||||
_TMPDIR="${TMPDIR}"
|
||||
else
|
||||
_TMPDIR=/tmp
|
||||
fi
|
||||
_SETUP_TMP=`mktemp "${_TMPDIR}/setup.sh.XXXXXXXXXX"`
|
||||
unset _TMPDIR
|
||||
if [ $? -ne 0 -o ! -f "$_SETUP_TMP" ]; then
|
||||
echo "Could not create temporary file: $_SETUP_TMP"
|
||||
return 1
|
||||
fi
|
||||
CATKIN_SHELL=$CATKIN_SHELL "$_SETUP_UTIL" $@ ${CATKIN_SETUP_UTIL_ARGS:-} >> "$_SETUP_TMP"
|
||||
_RC=$?
|
||||
if [ $_RC -ne 0 ]; then
|
||||
if [ $_RC -eq 2 ]; then
|
||||
echo "Could not write the output of '$_SETUP_UTIL' to temporary file '$_SETUP_TMP': may be the disk if full?"
|
||||
else
|
||||
echo "Failed to run '\"$_SETUP_UTIL\" $@': return code $_RC"
|
||||
fi
|
||||
unset _RC
|
||||
unset _SETUP_UTIL
|
||||
rm -f "$_SETUP_TMP"
|
||||
unset _SETUP_TMP
|
||||
return 1
|
||||
fi
|
||||
unset _RC
|
||||
unset _SETUP_UTIL
|
||||
. "$_SETUP_TMP"
|
||||
rm -f "$_SETUP_TMP"
|
||||
unset _SETUP_TMP
|
||||
|
||||
# source all environment hooks
|
||||
_i=0
|
||||
while [ $_i -lt $_CATKIN_ENVIRONMENT_HOOKS_COUNT ]; do
|
||||
eval _envfile=\$_CATKIN_ENVIRONMENT_HOOKS_$_i
|
||||
unset _CATKIN_ENVIRONMENT_HOOKS_$_i
|
||||
eval _envfile_workspace=\$_CATKIN_ENVIRONMENT_HOOKS_${_i}_WORKSPACE
|
||||
unset _CATKIN_ENVIRONMENT_HOOKS_${_i}_WORKSPACE
|
||||
# set workspace for environment hook
|
||||
CATKIN_ENV_HOOK_WORKSPACE=$_envfile_workspace
|
||||
. "$_envfile"
|
||||
unset CATKIN_ENV_HOOK_WORKSPACE
|
||||
_i=$((_i + 1))
|
||||
done
|
||||
unset _i
|
||||
|
||||
unset _CATKIN_ENVIRONMENT_HOOKS_COUNT
|
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env zsh
|
||||
# generated from catkin/cmake/templates/setup.zsh.in
|
||||
|
||||
CATKIN_SHELL=zsh
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(builtin cd -q "`dirname "$0"`" > /dev/null && pwd)
|
||||
emulate -R zsh -c 'source "$_CATKIN_SETUP_DIR/setup.sh"'
|
@ -1,24 +0,0 @@
|
||||
set(_CATKIN_CURRENT_PACKAGE "catkin")
|
||||
set(catkin_VERSION "0.7.29")
|
||||
set(catkin_MAINTAINER "Dirk Thomas <dthomas@osrfoundation.org>")
|
||||
set(catkin_PACKAGE_FORMAT "3")
|
||||
set(catkin_BUILD_DEPENDS "python-argparse" "python-catkin-pkg" "python3-catkin-pkg" "python-empy" "python3-empy")
|
||||
set(catkin_BUILD_DEPENDS_python-catkin-pkg_VERSION_GT "0.4.3")
|
||||
set(catkin_BUILD_DEPENDS_python3-catkin-pkg_VERSION_GT "0.4.3")
|
||||
set(catkin_BUILD_EXPORT_DEPENDS "google-mock" "gtest" "python-nose" "python3-nose" "python-argparse" "python-catkin-pkg" "python3-catkin-pkg" "python-empy" "python3-empy")
|
||||
set(catkin_BUILD_EXPORT_DEPENDS_python-catkin-pkg_VERSION_GT "0.4.3")
|
||||
set(catkin_BUILD_EXPORT_DEPENDS_python3-catkin-pkg_VERSION_GT "0.4.3")
|
||||
set(catkin_BUILDTOOL_DEPENDS "cmake" "python-setuptools" "python3-setuptools")
|
||||
set(catkin_BUILDTOOL_EXPORT_DEPENDS "cmake" "python3-setuptools")
|
||||
set(catkin_EXEC_DEPENDS "python-argparse" "python-catkin-pkg" "python3-catkin-pkg" "python-empy" "python3-empy")
|
||||
set(catkin_EXEC_DEPENDS_python-catkin-pkg_VERSION_GT "0.4.3")
|
||||
set(catkin_EXEC_DEPENDS_python3-catkin-pkg_VERSION_GT "0.4.3")
|
||||
set(catkin_RUN_DEPENDS "python-argparse" "python-catkin-pkg" "python3-catkin-pkg" "python-empy" "python3-empy" "google-mock" "gtest" "python-nose" "python3-nose")
|
||||
set(catkin_RUN_DEPENDS_python-catkin-pkg_VERSION_GT "0.4.3")
|
||||
set(catkin_RUN_DEPENDS_python3-catkin-pkg_VERSION_GT "0.4.3")
|
||||
set(catkin_TEST_DEPENDS "python-mock" "python3-mock" "python-nose" "python3-nose")
|
||||
set(catkin_DOC_DEPENDS )
|
||||
set(catkin_URL_WEBSITE "http://wiki.ros.org/catkin")
|
||||
set(catkin_URL_BUGTRACKER "https://github.com/ros/catkin/issues")
|
||||
set(catkin_URL_REPOSITORY "https://github.com/ros/catkin")
|
||||
set(catkin_DEPRECATED "")
|
@ -1,16 +0,0 @@
|
||||
#!/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_cached.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(cd "`dirname "$0"`" > /dev/null && pwd)
|
||||
. "$_CATKIN_SETUP_DIR/setup_cached.sh"
|
||||
exec "$@"
|
@ -1,30 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import stat
|
||||
import sys
|
||||
|
||||
# find the import for catkin's python package - either from source space or from an installed underlay
|
||||
if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')):
|
||||
sys.path.insert(0, os.path.join('/opt/ros/melodic/share/catkin/cmake', '..', 'python'))
|
||||
try:
|
||||
from catkin.environment_cache import generate_environment_script
|
||||
except ImportError:
|
||||
# search for catkin package in all workspaces and prepend to path
|
||||
for workspace in '/opt/ros/melodic'.split(';'):
|
||||
python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
|
||||
if os.path.isdir(os.path.join(python_path, 'catkin')):
|
||||
sys.path.insert(0, python_path)
|
||||
break
|
||||
from catkin.environment_cache import generate_environment_script
|
||||
|
||||
code = generate_environment_script('/home/test/My/devel/env.sh')
|
||||
|
||||
output_filename = '/home/test/My/build/catkin_generated/setup_cached.sh'
|
||||
with open(output_filename, 'w') as f:
|
||||
# print('Generate script for cached setup "%s"' % output_filename)
|
||||
f.write('\n'.join(code))
|
||||
|
||||
mode = os.stat(output_filename).st_mode
|
||||
os.chmod(output_filename, mode | stat.S_IXUSR)
|
@ -1,2 +0,0 @@
|
||||
- setup-file:
|
||||
local-name: /home/test/My/install/setup.sh
|
@ -1,304 +0,0 @@
|
||||
#!/usr/bin/python2
|
||||
# -*- 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/python2.7/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'/opt/ros/melodic'.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)
|
@ -1,16 +0,0 @@
|
||||
#!/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 "$@"
|
@ -1,8 +0,0 @@
|
||||
#!/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
|
@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
# generated from catkin/cmake/template/local_setup.sh.in
|
||||
|
||||
# since this file is sourced either use the provided _CATKIN_SETUP_DIR
|
||||
# or fall back to the destination set at configure time
|
||||
: ${_CATKIN_SETUP_DIR:=/home/test/My/install}
|
||||
CATKIN_SETUP_UTIL_ARGS="--extend --local"
|
||||
. "$_CATKIN_SETUP_DIR/setup.sh"
|
||||
unset CATKIN_SETUP_UTIL_ARGS
|
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env zsh
|
||||
# generated from catkin/cmake/templates/local_setup.zsh.in
|
||||
|
||||
CATKIN_SHELL=zsh
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(builtin cd -q "`dirname "$0"`" > /dev/null && pwd)
|
||||
emulate -R zsh -c 'source "$_CATKIN_SETUP_DIR/setup.sh" --extend --local'
|
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# generated from catkin/cmake/templates/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"
|
@ -1,96 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
# generated from catkin/cmake/template/setup.sh.in
|
||||
|
||||
# Sets various environment variables and sources additional environment hooks.
|
||||
# It tries it's best to undo changes from a previously sourced setup file before.
|
||||
# Supported command line options:
|
||||
# --extend: skips the undoing of changes from a previously sourced setup file
|
||||
# --local: only considers this workspace but not the chained ones
|
||||
# In plain sh shell which doesn't support arguments for sourced scripts you can
|
||||
# set the environment variable `CATKIN_SETUP_UTIL_ARGS=--extend/--local` instead.
|
||||
|
||||
# since this file is sourced either use the provided _CATKIN_SETUP_DIR
|
||||
# or fall back to the destination set at configure time
|
||||
: ${_CATKIN_SETUP_DIR:=/home/test/My/install}
|
||||
_SETUP_UTIL="$_CATKIN_SETUP_DIR/_setup_util.py"
|
||||
unset _CATKIN_SETUP_DIR
|
||||
|
||||
if [ ! -f "$_SETUP_UTIL" ]; then
|
||||
echo "Missing Python script: $_SETUP_UTIL"
|
||||
return 22
|
||||
fi
|
||||
|
||||
# detect if running on Darwin platform
|
||||
_UNAME=`uname -s`
|
||||
_IS_DARWIN=0
|
||||
if [ "$_UNAME" = "Darwin" ]; then
|
||||
_IS_DARWIN=1
|
||||
fi
|
||||
unset _UNAME
|
||||
|
||||
# make sure to export all environment variables
|
||||
export CMAKE_PREFIX_PATH
|
||||
if [ $_IS_DARWIN -eq 0 ]; then
|
||||
export LD_LIBRARY_PATH
|
||||
else
|
||||
export DYLD_LIBRARY_PATH
|
||||
fi
|
||||
unset _IS_DARWIN
|
||||
export PATH
|
||||
export PKG_CONFIG_PATH
|
||||
export PYTHONPATH
|
||||
|
||||
# remember type of shell if not already set
|
||||
if [ -z "$CATKIN_SHELL" ]; then
|
||||
CATKIN_SHELL=sh
|
||||
fi
|
||||
|
||||
# invoke Python script to generate necessary exports of environment variables
|
||||
# use TMPDIR if it exists, otherwise fall back to /tmp
|
||||
if [ -d "${TMPDIR:-}" ]; then
|
||||
_TMPDIR="${TMPDIR}"
|
||||
else
|
||||
_TMPDIR=/tmp
|
||||
fi
|
||||
_SETUP_TMP=`mktemp "${_TMPDIR}/setup.sh.XXXXXXXXXX"`
|
||||
unset _TMPDIR
|
||||
if [ $? -ne 0 -o ! -f "$_SETUP_TMP" ]; then
|
||||
echo "Could not create temporary file: $_SETUP_TMP"
|
||||
return 1
|
||||
fi
|
||||
CATKIN_SHELL=$CATKIN_SHELL "$_SETUP_UTIL" $@ ${CATKIN_SETUP_UTIL_ARGS:-} >> "$_SETUP_TMP"
|
||||
_RC=$?
|
||||
if [ $_RC -ne 0 ]; then
|
||||
if [ $_RC -eq 2 ]; then
|
||||
echo "Could not write the output of '$_SETUP_UTIL' to temporary file '$_SETUP_TMP': may be the disk if full?"
|
||||
else
|
||||
echo "Failed to run '\"$_SETUP_UTIL\" $@': return code $_RC"
|
||||
fi
|
||||
unset _RC
|
||||
unset _SETUP_UTIL
|
||||
rm -f "$_SETUP_TMP"
|
||||
unset _SETUP_TMP
|
||||
return 1
|
||||
fi
|
||||
unset _RC
|
||||
unset _SETUP_UTIL
|
||||
. "$_SETUP_TMP"
|
||||
rm -f "$_SETUP_TMP"
|
||||
unset _SETUP_TMP
|
||||
|
||||
# source all environment hooks
|
||||
_i=0
|
||||
while [ $_i -lt $_CATKIN_ENVIRONMENT_HOOKS_COUNT ]; do
|
||||
eval _envfile=\$_CATKIN_ENVIRONMENT_HOOKS_$_i
|
||||
unset _CATKIN_ENVIRONMENT_HOOKS_$_i
|
||||
eval _envfile_workspace=\$_CATKIN_ENVIRONMENT_HOOKS_${_i}_WORKSPACE
|
||||
unset _CATKIN_ENVIRONMENT_HOOKS_${_i}_WORKSPACE
|
||||
# set workspace for environment hook
|
||||
CATKIN_ENV_HOOK_WORKSPACE=$_envfile_workspace
|
||||
. "$_envfile"
|
||||
unset CATKIN_ENV_HOOK_WORKSPACE
|
||||
_i=$((_i + 1))
|
||||
done
|
||||
unset _i
|
||||
|
||||
unset _CATKIN_ENVIRONMENT_HOOKS_COUNT
|
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env zsh
|
||||
# generated from catkin/cmake/templates/setup.zsh.in
|
||||
|
||||
CATKIN_SHELL=zsh
|
||||
|
||||
# source setup.sh from same directory as this file
|
||||
_CATKIN_SETUP_DIR=$(builtin cd -q "`dirname "$0"`" > /dev/null && pwd)
|
||||
emulate -R zsh -c 'source "$_CATKIN_SETUP_DIR/setup.sh"'
|
@ -1,26 +0,0 @@
|
||||
# generated from catkin/cmake/em/order_packages.cmake.em
|
||||
|
||||
set(CATKIN_ORDERED_PACKAGES "")
|
||||
set(CATKIN_ORDERED_PACKAGE_PATHS "")
|
||||
set(CATKIN_ORDERED_PACKAGES_IS_META "")
|
||||
set(CATKIN_ORDERED_PACKAGES_BUILD_TYPE "")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES "cv_bridge")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGE_PATHS "my_cv_bridge")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES_IS_META "False")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES_BUILD_TYPE "catkin")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES "image_geometry")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGE_PATHS "image_geometry")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES_IS_META "False")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES_BUILD_TYPE "catkin")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES "octomap_server")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGE_PATHS "octomap_server")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES_IS_META "False")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES_BUILD_TYPE "catkin")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES "sg-slam")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGE_PATHS "sg-slam")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES_IS_META "False")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES_BUILD_TYPE "catkin")
|
||||
|
||||
set(CATKIN_MESSAGE_GENERATORS )
|
||||
|
||||
set(CATKIN_METAPACKAGE_CMAKE_TEMPLATE "/usr/lib/python2.7/dist-packages/catkin_pkg/templates/metapackage.cmake.in")
|
@ -1,5 +0,0 @@
|
||||
# generated from catkin/cmake/template/order_packages.context.py.in
|
||||
source_root_dir = '/home/test/My/src'
|
||||
whitelisted_packages = ''.split(';') if '' != '' else []
|
||||
blacklisted_packages = ''.split(';') if '' != '' else []
|
||||
underlay_workspaces = '/opt/ros/melodic'.split(';') if '/opt/ros/melodic' != '' else []
|
@ -1,16 +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/test/My/devel:$CMAKE_PREFIX_PATH"
|
||||
export LD_LIBRARY_PATH="/home/test/My/devel/lib:$LD_LIBRARY_PATH"
|
||||
export PKG_CONFIG_PATH="/home/test/My/devel/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||
export PWD='/home/test/My/build'
|
||||
export PYTHONPATH="/home/test/My/devel/lib/python2.7/dist-packages:$PYTHONPATH"
|
||||
export ROSLISP_PACKAGE_DIRECTORIES='/home/test/My/devel/share/common-lisp'
|
||||
export ROS_PACKAGE_PATH="/home/test/My/src:$ROS_PACKAGE_PATH"
|
@ -1,304 +0,0 @@
|
||||
#!/usr/bin/python2
|
||||
# -*- 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/python2.7/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'/opt/ros/melodic'.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)
|
@ -1,255 +0,0 @@
|
||||
# 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.
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import runpy
|
||||
import sys
|
||||
from argparse import ArgumentParser
|
||||
|
||||
setup_modules = []
|
||||
|
||||
try:
|
||||
import distutils.core
|
||||
setup_modules.append(distutils.core)
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
try:
|
||||
import setuptools
|
||||
setup_modules.append(setuptools)
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
assert setup_modules, 'Must have distutils or setuptools installed'
|
||||
|
||||
|
||||
def _get_locations(pkgs, package_dir):
|
||||
"""
|
||||
Based on setuptools logic and the package_dir dict, builds a dict of location roots for each pkg in pkgs.
|
||||
|
||||
See http://docs.python.org/distutils/setupscript.html
|
||||
|
||||
:returns: a dict {pkgname: root} for each pkgname in pkgs (and each of their parents)
|
||||
"""
|
||||
# package_dir contains a dict {package_name: relativepath}
|
||||
# Example {'': 'src', 'foo': 'lib', 'bar': 'lib2'}
|
||||
#
|
||||
# '' means where to look for any package unless a parent package
|
||||
# is listed so package bar.pot is expected at lib2/bar/pot,
|
||||
# whereas package sup.dee is expected at src/sup/dee
|
||||
#
|
||||
# if package_dir does not state anything about a package,
|
||||
# setuptool expects the package folder to be in the root of the
|
||||
# project
|
||||
locations = {}
|
||||
allprefix = package_dir.get('', '')
|
||||
for pkg in pkgs:
|
||||
parent_location = None
|
||||
splits = pkg.split('.')
|
||||
# we iterate over compound name from parent to child
|
||||
# so once we found parent, children just append to their parent
|
||||
for key_len in range(len(splits)):
|
||||
key = '.'.join(splits[:key_len + 1])
|
||||
if key not in locations:
|
||||
if key in package_dir:
|
||||
locations[key] = package_dir[key]
|
||||
elif parent_location is not None:
|
||||
locations[key] = os.path.join(parent_location, splits[key_len])
|
||||
else:
|
||||
locations[key] = os.path.join(allprefix, key)
|
||||
parent_location = locations[key]
|
||||
return locations
|
||||
|
||||
|
||||
def generate_cmake_file(package_name, version, scripts, package_dir, pkgs, modules, setup_module=None):
|
||||
"""
|
||||
Generate lines to add to a cmake file which will set variables.
|
||||
|
||||
:param version: str, format 'int.int.int'
|
||||
:param scripts: [list of str]: relative paths to scripts
|
||||
:param package_dir: {modulename: path}
|
||||
:param pkgs: [list of str] python_packages declared in catkin package
|
||||
:param modules: [list of str] python modules
|
||||
:param setup_module: str, setuptools or distutils
|
||||
"""
|
||||
prefix = '%s_SETUP_PY' % package_name
|
||||
result = []
|
||||
if setup_module:
|
||||
result.append(r'set(%s_SETUP_MODULE "%s")' % (prefix, setup_module))
|
||||
result.append(r'set(%s_VERSION "%s")' % (prefix, version))
|
||||
result.append(r'set(%s_SCRIPTS "%s")' % (prefix, ';'.join(scripts)))
|
||||
|
||||
# Remove packages with '.' separators.
|
||||
#
|
||||
# setuptools allows specifying submodules in other folders than
|
||||
# their parent
|
||||
#
|
||||
# The symlink approach of catkin does not work with such submodules.
|
||||
# In the common case, this does not matter as the submodule is
|
||||
# within the containing module. We verify this assumption, and if
|
||||
# it passes, we remove submodule packages.
|
||||
locations = _get_locations(pkgs, package_dir)
|
||||
for pkgname, location in locations.items():
|
||||
if '.' not in pkgname:
|
||||
continue
|
||||
splits = pkgname.split('.')
|
||||
# hack: ignore write-combining setup.py files for msg and srv files
|
||||
if splits[1] in ['msg', 'srv']:
|
||||
continue
|
||||
# check every child has the same root folder as its parent
|
||||
root_name = splits[0]
|
||||
root_location = location
|
||||
for _ in range(len(splits) - 1):
|
||||
root_location = os.path.dirname(root_location)
|
||||
if root_location != locations[root_name]:
|
||||
raise RuntimeError(
|
||||
'catkin_export_python does not support setup.py files that combine across multiple directories: %s in %s, %s in %s' % (pkgname, location, root_name, locations[root_name]))
|
||||
|
||||
# If checks pass, remove all submodules
|
||||
pkgs = [p for p in pkgs if '.' not in p]
|
||||
|
||||
resolved_pkgs = []
|
||||
for pkg in pkgs:
|
||||
resolved_pkgs += [locations[pkg]]
|
||||
|
||||
result.append(r'set(%s_PACKAGES "%s")' % (prefix, ';'.join(pkgs)))
|
||||
result.append(r'set(%s_PACKAGE_DIRS "%s")' % (prefix, ';'.join(resolved_pkgs).replace('\\', '/')))
|
||||
|
||||
# skip modules which collide with package names
|
||||
filtered_modules = []
|
||||
for modname in modules:
|
||||
splits = modname.split('.')
|
||||
# check all parents too
|
||||
equals_package = [('.'.join(splits[:-i]) in locations) for i in range(len(splits))]
|
||||
if any(equals_package):
|
||||
continue
|
||||
filtered_modules.append(modname)
|
||||
module_locations = _get_locations(filtered_modules, package_dir)
|
||||
|
||||
result.append(r'set(%s_MODULES "%s")' % (prefix, ';'.join(['%s.py' % m.replace('.', '/') for m in filtered_modules])))
|
||||
result.append(r'set(%s_MODULE_DIRS "%s")' % (prefix, ';'.join([module_locations[m] for m in filtered_modules]).replace('\\', '/')))
|
||||
|
||||
return result
|
||||
|
||||
|
||||
def _create_mock_setup_function(setup_module, package_name, outfile):
|
||||
"""
|
||||
Create a function to call instead of distutils.core.setup or setuptools.setup.
|
||||
|
||||
It just captures some args and writes them into a file that can be used from cmake.
|
||||
|
||||
:param package_name: name of the package
|
||||
:param outfile: filename that cmake will use afterwards
|
||||
:returns: a function to replace disutils.core.setup and setuptools.setup
|
||||
"""
|
||||
|
||||
def setup(*args, **kwargs):
|
||||
"""Check kwargs and write a scriptfile."""
|
||||
if 'version' not in kwargs:
|
||||
sys.stderr.write("\n*** Unable to find 'version' in setup.py of %s\n" % package_name)
|
||||
raise RuntimeError('version not found in setup.py')
|
||||
version = kwargs['version']
|
||||
package_dir = kwargs.get('package_dir', {})
|
||||
|
||||
pkgs = kwargs.get('packages', [])
|
||||
scripts = kwargs.get('scripts', [])
|
||||
modules = kwargs.get('py_modules', [])
|
||||
|
||||
unsupported_args = [
|
||||
'entry_points',
|
||||
'exclude_package_data',
|
||||
'ext_modules ',
|
||||
'ext_package',
|
||||
'include_package_data',
|
||||
'namespace_packages',
|
||||
'setup_requires',
|
||||
'use_2to3',
|
||||
'zip_safe']
|
||||
used_unsupported_args = [arg for arg in unsupported_args if arg in kwargs]
|
||||
if used_unsupported_args:
|
||||
sys.stderr.write('*** Arguments %s to setup() not supported in catkin devel space in setup.py of %s\n' % (used_unsupported_args, package_name))
|
||||
|
||||
result = generate_cmake_file(package_name=package_name,
|
||||
version=version,
|
||||
scripts=scripts,
|
||||
package_dir=package_dir,
|
||||
pkgs=pkgs,
|
||||
modules=modules,
|
||||
setup_module=setup_module)
|
||||
with open(outfile, 'w') as out:
|
||||
out.write('\n'.join(result))
|
||||
|
||||
return setup
|
||||
|
||||
|
||||
def main():
|
||||
"""Script main, parses arguments and invokes Dummy.setup indirectly."""
|
||||
parser = ArgumentParser(description='Utility to read setup.py values from cmake macros. Creates a file with CMake set commands setting variables.')
|
||||
parser.add_argument('package_name', help='Name of catkin package')
|
||||
parser.add_argument('setupfile_path', help='Full path to setup.py')
|
||||
parser.add_argument('outfile', help='Where to write result to')
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
# print("%s" % sys.argv)
|
||||
# PACKAGE_NAME = sys.argv[1]
|
||||
# OUTFILE = sys.argv[3]
|
||||
# print("Interrogating setup.py for package %s into %s " % (PACKAGE_NAME, OUTFILE),
|
||||
# file=sys.stderr)
|
||||
|
||||
# print("executing %s" % args.setupfile_path)
|
||||
|
||||
# be sure you're in the directory containing
|
||||
# setup.py so the sys.path manipulation works,
|
||||
# so the import of __version__ works
|
||||
os.chdir(os.path.dirname(os.path.abspath(args.setupfile_path)))
|
||||
|
||||
# patch setup() function of distutils and setuptools for the
|
||||
# context of evaluating setup.py
|
||||
backup_modules = {}
|
||||
try:
|
||||
|
||||
for module in setup_modules:
|
||||
backup_modules[id(module)] = module.setup
|
||||
module.setup = _create_mock_setup_function(
|
||||
setup_module=module.__name__, package_name=args.package_name, outfile=args.outfile)
|
||||
|
||||
runpy.run_path(args.setupfile_path)
|
||||
finally:
|
||||
for module in setup_modules:
|
||||
module.setup = backup_modules[id(module)]
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
@ -1,70 +0,0 @@
|
||||
# generated from catkin/cmake/em/order_packages.cmake.em
|
||||
@{
|
||||
import os
|
||||
try:
|
||||
from catkin_pkg.cmake import get_metapackage_cmake_template_path
|
||||
except ImportError as e:
|
||||
raise RuntimeError('ImportError: "from catkin_pkg.cmake import get_metapackage_cmake_template_path" failed: %s\nMake sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.' % e)
|
||||
try:
|
||||
from catkin_pkg.topological_order import topological_order
|
||||
except ImportError as e:
|
||||
raise RuntimeError('ImportError: "from catkin_pkg.topological_order import topological_order" failed: %s\nMake sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.' % e)
|
||||
try:
|
||||
from catkin_pkg.package import InvalidPackage
|
||||
except ImportError as e:
|
||||
raise RuntimeError('ImportError: "from catkin_pkg.package import InvalidPackage" failed: %s\nMake sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.' % e)
|
||||
# vars defined in order_packages.context.py.in
|
||||
try:
|
||||
ordered_packages = topological_order(os.path.normpath(source_root_dir), whitelisted=whitelisted_packages, blacklisted=blacklisted_packages, underlay_workspaces=underlay_workspaces)
|
||||
except InvalidPackage as e:
|
||||
print('message(FATAL_ERROR "%s")' % ('%s' % e).replace('"', '\\"'))
|
||||
ordered_packages = []
|
||||
fatal_error = False
|
||||
}@
|
||||
|
||||
set(CATKIN_ORDERED_PACKAGES "")
|
||||
set(CATKIN_ORDERED_PACKAGE_PATHS "")
|
||||
set(CATKIN_ORDERED_PACKAGES_IS_META "")
|
||||
set(CATKIN_ORDERED_PACKAGES_BUILD_TYPE "")
|
||||
@[for path, package in ordered_packages]@
|
||||
@[if path is None]@
|
||||
message(FATAL_ERROR "Circular dependency in subset of packages:\n@package")
|
||||
@{
|
||||
fatal_error = True
|
||||
}@
|
||||
@[elif package.name != 'catkin']@
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES "@(package.name)")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGE_PATHS "@(path.replace('\\','/'))")
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES_IS_META "@(str('metapackage' in [e.tagname for e in package.exports]))")
|
||||
@{
|
||||
package.evaluate_conditions(os.environ)
|
||||
try:
|
||||
build_type = package.get_build_type()
|
||||
except InvalidPackage:
|
||||
build_type = None
|
||||
}@
|
||||
@[if build_type is None]@
|
||||
message(FATAL_ERROR "Only one <build_type> element is permitted for package '@(package.name)'.")
|
||||
@{
|
||||
fatal_error = True
|
||||
}@
|
||||
@[else]@
|
||||
list(APPEND CATKIN_ORDERED_PACKAGES_BUILD_TYPE "@(package.get_build_type())")
|
||||
@[end if]@
|
||||
@{
|
||||
deprecated = [e for e in package.exports if e.tagname == 'deprecated']
|
||||
}@
|
||||
@[if deprecated]@
|
||||
message("WARNING: Package '@(package.name)' is deprecated@(' (%s)' % deprecated[0].content if deprecated[0].content else '')")
|
||||
@[end if]@
|
||||
@[end if]@
|
||||
@[end for]@
|
||||
|
||||
@[if not fatal_error]@
|
||||
@{
|
||||
message_generators = [package.name for (_, package) in ordered_packages if 'message_generator' in [e.tagname for e in package.exports]]
|
||||
}@
|
||||
set(CATKIN_MESSAGE_GENERATORS @(' '.join(message_generators)))
|
||||
@[end if]@
|
||||
|
||||
set(CATKIN_METAPACKAGE_CMAKE_TEMPLATE "@(get_metapackage_cmake_template_path().replace('\\','/'))")
|
@ -1,48 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-model
|
||||
href="http://download.ros.org/schema/package_format3.xsd"
|
||||
schematypens="http://www.w3.org/2001/XMLSchema"?>
|
||||
<package format="3">
|
||||
<name>catkin</name>
|
||||
<version>0.7.29</version>
|
||||
<description>Low-level build system macros and infrastructure for ROS.</description>
|
||||
<maintainer email="dthomas@osrfoundation.org">Dirk Thomas</maintainer>
|
||||
<license>BSD</license>
|
||||
|
||||
<url type="website">http://wiki.ros.org/catkin</url>
|
||||
<url type="bugtracker">https://github.com/ros/catkin/issues</url>
|
||||
<url type="repository">https://github.com/ros/catkin</url>
|
||||
|
||||
<author>Troy Straszheim</author>
|
||||
<author>Morten Kjaergaard</author>
|
||||
<author>Brian Gerkey</author>
|
||||
<author>Dirk Thomas</author>
|
||||
|
||||
<depend condition="$ROS_PYTHON_VERSION == 2">python-argparse</depend>
|
||||
<depend condition="$ROS_PYTHON_VERSION == 2" version_gt="0.4.3">python-catkin-pkg</depend>
|
||||
<depend condition="$ROS_PYTHON_VERSION == 3" version_gt="0.4.3">python3-catkin-pkg</depend>
|
||||
<depend condition="$ROS_PYTHON_VERSION == 2">python-empy</depend>
|
||||
<depend condition="$ROS_PYTHON_VERSION == 3">python3-empy</depend>
|
||||
|
||||
<buildtool_depend>cmake</buildtool_depend>
|
||||
<buildtool_depend condition="$ROS_PYTHON_VERSION == 2">python-setuptools</buildtool_depend>
|
||||
<buildtool_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_depend>
|
||||
|
||||
<buildtool_export_depend>cmake</buildtool_export_depend>
|
||||
<buildtool_export_depend condition="$ROS_PYTHON_VERSION == 3">python3-setuptools</buildtool_export_depend>
|
||||
|
||||
<build_export_depend>google-mock</build_export_depend>
|
||||
<build_export_depend>gtest</build_export_depend>
|
||||
<build_export_depend condition="$ROS_PYTHON_VERSION == 2">python-nose</build_export_depend>
|
||||
<build_export_depend condition="$ROS_PYTHON_VERSION == 3">python3-nose</build_export_depend>
|
||||
|
||||
<test_depend condition="$ROS_PYTHON_VERSION == 2">python-mock</test_depend>
|
||||
<test_depend condition="$ROS_PYTHON_VERSION == 3">python3-mock</test_depend>
|
||||
<test_depend condition="$ROS_PYTHON_VERSION == 2">python-nose</test_depend>
|
||||
<test_depend condition="$ROS_PYTHON_VERSION == 3">python3-nose</test_depend>
|
||||
|
||||
<export>
|
||||
<rosdoc config="rosdoc.yaml"/>
|
||||
<architecture_independent/>
|
||||
</export>
|
||||
</package>
|
@ -1,2 +0,0 @@
|
||||
image_geometry:my_cv_bridge:octomap_server:sg-slam
|
||||
-DCATKIN_DEVEL_PREFIX=/home/test/My/devel -DCMAKE_INSTALL_PREFIX=/home/test/My/install -G Unix Makefiles
|
@ -1,150 +0,0 @@
|
||||
# Install script for directory: /home/test/My/src
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/home/test/My/install")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
|
||||
if (NOT EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}")
|
||||
file(MAKE_DIRECTORY "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}")
|
||||
endif()
|
||||
if (NOT EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/.catkin")
|
||||
file(WRITE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/.catkin" "")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
||||
"/home/test/My/install/_setup_util.py")
|
||||
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "/home/test/My/install" TYPE PROGRAM FILES "/home/test/My/build/catkin_generated/installspace/_setup_util.py")
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
||||
"/home/test/My/install/env.sh")
|
||||
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "/home/test/My/install" TYPE PROGRAM FILES "/home/test/My/build/catkin_generated/installspace/env.sh")
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
||||
"/home/test/My/install/setup.bash;/home/test/My/install/local_setup.bash")
|
||||
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "/home/test/My/install" TYPE FILE FILES
|
||||
"/home/test/My/build/catkin_generated/installspace/setup.bash"
|
||||
"/home/test/My/build/catkin_generated/installspace/local_setup.bash"
|
||||
)
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
||||
"/home/test/My/install/setup.sh;/home/test/My/install/local_setup.sh")
|
||||
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "/home/test/My/install" TYPE FILE FILES
|
||||
"/home/test/My/build/catkin_generated/installspace/setup.sh"
|
||||
"/home/test/My/build/catkin_generated/installspace/local_setup.sh"
|
||||
)
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
||||
"/home/test/My/install/setup.zsh;/home/test/My/install/local_setup.zsh")
|
||||
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "/home/test/My/install" TYPE FILE FILES
|
||||
"/home/test/My/build/catkin_generated/installspace/setup.zsh"
|
||||
"/home/test/My/build/catkin_generated/installspace/local_setup.zsh"
|
||||
)
|
||||
endif()
|
||||
|
||||
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
||||
"/home/test/My/install/.rosinstall")
|
||||
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "/home/test/My/install" TYPE FILE FILES "/home/test/My/build/catkin_generated/installspace/.rosinstall")
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||
# Include the install script for each subdirectory.
|
||||
include("/home/test/My/build/gtest/cmake_install.cmake")
|
||||
include("/home/test/My/build/my_cv_bridge/cmake_install.cmake")
|
||||
include("/home/test/My/build/image_geometry/cmake_install.cmake")
|
||||
include("/home/test/My/build/octomap_server/cmake_install.cmake")
|
||||
include("/home/test/My/build/sg-slam/cmake_install.cmake")
|
||||
|
||||
endif()
|
||||
|
||||
if(CMAKE_INSTALL_COMPONENT)
|
||||
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
||||
else()
|
||||
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
||||
endif()
|
||||
|
||||
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
||||
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
||||
file(WRITE "/home/test/My/build/${CMAKE_INSTALL_MANIFEST}"
|
||||
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
@ -1,16 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/usr/src/googletest")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/test/My/build")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
@ -1 +0,0 @@
|
||||
0
|
@ -1,7 +0,0 @@
|
||||
# CMake generated Testfile for
|
||||
# Source directory: /usr/src/googletest
|
||||
# Build directory: /home/test/My/build/gtest
|
||||
#
|
||||
# This file includes the relevant testing commands required for
|
||||
# testing this directory and lists subdirectories to be tested as well.
|
||||
subdirs("googlemock")
|
@ -1,196 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# 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/test/My/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/test/My/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 -H$(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
|
||||
cd /home/test/My/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/test/My/build/CMakeFiles /home/test/My/build/gtest/CMakeFiles/progress.marks
|
||||
cd /home/test/My/build && $(MAKE) -f CMakeFiles/Makefile2 gtest/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/test/My/build/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /home/test/My/build && $(MAKE) -f CMakeFiles/Makefile2 gtest/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /home/test/My/build && $(MAKE) -f CMakeFiles/Makefile2 gtest/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /home/test/My/build && $(MAKE) -f CMakeFiles/Makefile2 gtest/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /home/test/My/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# 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"
|
||||
.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:
|
||||
cd /home/test/My/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Install script for directory: /usr/src/googletest
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/home/test/My/install")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||
# Include the install script for each subdirectory.
|
||||
include("/home/test/My/build/gtest/googlemock/cmake_install.cmake")
|
||||
|
||||
endif()
|
||||
|
@ -1,16 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/usr/src/googletest")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/test/My/build")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
@ -1,30 +0,0 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
"CXX"
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
set(CMAKE_DEPENDS_CHECK_CXX
|
||||
"/usr/src/googletest/googletest/src/gtest-all.cc" "/home/test/My/build/gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o"
|
||||
"/usr/src/googletest/googlemock/src/gmock-all.cc" "/home/test/My/build/gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o"
|
||||
)
|
||||
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||
|
||||
# Preprocessor definitions for this target.
|
||||
set(CMAKE_TARGET_DEFINITIONS_CXX
|
||||
"GTEST_CREATE_SHARED_LIBRARY=1"
|
||||
)
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_CXX_TARGET_INCLUDE_PATH
|
||||
"/usr/src/googletest/googlemock/include"
|
||||
"/usr/src/googletest/googlemock"
|
||||
"/usr/src/googletest/googletest/include"
|
||||
"/usr/src/googletest/googletest"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -1,140 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# 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/test/My/src
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/test/My/build
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include gtest/googlemock/CMakeFiles/gmock.dir/depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include gtest/googlemock/CMakeFiles/gmock.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include gtest/googlemock/CMakeFiles/gmock.dir/flags.make
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o: gtest/googlemock/CMakeFiles/gmock.dir/flags.make
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o: /usr/src/googletest/googletest/src/gtest-all.cc
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/test/My/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o"
|
||||
cd /home/test/My/build/gtest/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o -c /usr/src/googletest/googletest/src/gtest-all.cc
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.i"
|
||||
cd /home/test/My/build/gtest/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /usr/src/googletest/googletest/src/gtest-all.cc > CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.i
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.s"
|
||||
cd /home/test/My/build/gtest/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /usr/src/googletest/googletest/src/gtest-all.cc -o CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.s
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o.requires:
|
||||
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o.requires
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o.provides: gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o.requires
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock.dir/build.make gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o.provides.build
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o.provides
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o.provides.build: gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o
|
||||
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: gtest/googlemock/CMakeFiles/gmock.dir/flags.make
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o: /usr/src/googletest/googlemock/src/gmock-all.cc
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/test/My/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o"
|
||||
cd /home/test/My/build/gtest/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/gmock.dir/src/gmock-all.cc.o -c /usr/src/googletest/googlemock/src/gmock-all.cc
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/gmock.dir/src/gmock-all.cc.i"
|
||||
cd /home/test/My/build/gtest/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /usr/src/googletest/googlemock/src/gmock-all.cc > CMakeFiles/gmock.dir/src/gmock-all.cc.i
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/gmock.dir/src/gmock-all.cc.s"
|
||||
cd /home/test/My/build/gtest/googlemock && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /usr/src/googletest/googlemock/src/gmock-all.cc -o CMakeFiles/gmock.dir/src/gmock-all.cc.s
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o.requires:
|
||||
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o.requires
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o.provides: gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o.requires
|
||||
$(MAKE) -f gtest/googlemock/CMakeFiles/gmock.dir/build.make gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o.provides.build
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o.provides
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o.provides.build: gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
|
||||
|
||||
|
||||
# Object files for target gmock
|
||||
gmock_OBJECTS = \
|
||||
"CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o" \
|
||||
"CMakeFiles/gmock.dir/src/gmock-all.cc.o"
|
||||
|
||||
# External object files for target gmock
|
||||
gmock_EXTERNAL_OBJECTS =
|
||||
|
||||
gtest/googlemock/libgmock.so: gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o
|
||||
gtest/googlemock/libgmock.so: gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
|
||||
gtest/googlemock/libgmock.so: gtest/googlemock/CMakeFiles/gmock.dir/build.make
|
||||
gtest/googlemock/libgmock.so: gtest/googlemock/CMakeFiles/gmock.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/test/My/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking CXX shared library libgmock.so"
|
||||
cd /home/test/My/build/gtest/googlemock && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/gmock.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/build: gtest/googlemock/libgmock.so
|
||||
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/build
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/requires: gtest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o.requires
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/requires: gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o.requires
|
||||
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/requires
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/clean:
|
||||
cd /home/test/My/build/gtest/googlemock && $(CMAKE_COMMAND) -P CMakeFiles/gmock.dir/cmake_clean.cmake
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/clean
|
||||
|
||||
gtest/googlemock/CMakeFiles/gmock.dir/depend:
|
||||
cd /home/test/My/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/test/My/src /usr/src/googletest/googlemock /home/test/My/build /home/test/My/build/gtest/googlemock /home/test/My/build/gtest/googlemock/CMakeFiles/gmock.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : gtest/googlemock/CMakeFiles/gmock.dir/depend
|
||||
|
@ -1,11 +0,0 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o"
|
||||
"CMakeFiles/gmock.dir/src/gmock-all.cc.o"
|
||||
"libgmock.pdb"
|
||||
"libgmock.so"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/gmock.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -1,2 +0,0 @@
|
||||
# Empty dependencies file for gmock.
|
||||
# This may be replaced when dependencies are built.
|
@ -1,10 +0,0 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.10
|
||||
|
||||
# compile CXX with /usr/bin/c++
|
||||
CXX_FLAGS = -fPIC -Wall -Wshadow -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
|
||||
|
||||
CXX_DEFINES = -DGTEST_CREATE_SHARED_LIBRARY=1 -Dgmock_EXPORTS
|
||||
|
||||
CXX_INCLUDES = -I/usr/src/googletest/googlemock/include -I/usr/src/googletest/googlemock -I/usr/src/googletest/googletest/include -I/usr/src/googletest/googletest
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user